151225SericPUSHDIVERT(-1) 251225Seric# 351225Seric# Copyright (c) 1983 Eric P. Allman 451225Seric# Copyright (c) 1988 The Regents of the University of California. 551225Seric# All rights reserved. 651225Seric# 751225Seric# %sccs.include.redist.sh% 851225Seric# 951225SericPOPDIVERT 1051225Seric##################################### 1151225Seric### SMTP Mailer specification ### 1251225Seric##################################### 1351225Seric 14*51686SericVERSIONID(@(#)smtp.m4 2.4 (Berkeley) 11/13/91) 1551225Seric 16*51686SericMsmtp, P=[IPC], F=mDFMueXLC, S=11, R=21, A=IPC $h, E=\r\n 1751225Seric 1851225SericS11 1951225Seric 20*51686Seric# do sender/recipient common rewriting 21*51686SericR$+ $: $>19 $1 22*51686Seric 23*51686Seric# if already @ qualified, we are done 24*51686SericR$* < @ $+ > $* $@ $1 < @ $2 > $3 already qualified 25*51686Seric 26*51686Seric# unqualified names (e.g., "eric") "come from" $M 27*51686SericR$+ $: $1 < @ $M > user w/o host 28*51686SericR$+ < @ > $: $1 < @ $j > in case $M undefined 29*51686Seric 30*51686SericS21 31*51686Seric 32*51686Seric# do sender/recipient common rewriting 33*51686SericR$+ $: $>19 $1 34*51686Seric 35*51686Seric# if already @ qualified, we are done 36*51686SericR$* < @ $+ > $* $@ $1 < @ $2 > $3 already qualified 37*51686Seric 38*51686Seric# unqualified names (e.g., "eric") are qualified by local host 39*51686SericR$+ < @ > $: $1 < @ $j > 40*51686Seric 41*51686SericS19 42*51686Seric 4351225Seric# pass <route-addr>s through 4451245SericR< @ $+ > $* $@ < @ $1 > $2 resolve <route-addr> 4551225Seric 4651225Seric# output fake domains as user%fake@relay 4751225Sericifdef(`BITNET_RELAY', 4851245Seric`R$+ <@ $+ . BITNET > $: $1 % $2 .BITNET < @ $B > user@host.BITNET', 4951225Seric `dnl') 5051225Sericifdef(`CSNET_RELAY', 5151245Seric`R$+ <@ $+ . CSNET > $: $1 % $2 .CSNET < @ $C > user@host.CSNET', 5251225Seric `dnl') 5351287SericR$+ <@ $+ . UUCP > $: $2 ! $1 < @ $j > user@host.UUCP 54