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*54018SericVERSIONID(@(#)smtp.m4 2.6 (Berkeley) 06/16/92) 1551225Seric 1651686SericMsmtp, P=[IPC], F=mDFMueXLC, S=11, R=21, A=IPC $h, E=\r\n 1751225Seric 1851225SericS11 1951225Seric 2051686Seric# do sender/recipient common rewriting 2151686SericR$+ $: $>19 $1 2251686Seric 2351686Seric# if already @ qualified, we are done 2451686SericR$* < @ $+ > $* $@ $1 < @ $2 > $3 already qualified 2551686Seric 26*54018Seric# don't qualify list:; syntax 27*54018SericR$* :; $@ $1 :; 28*54018Seric 2951686Seric# unqualified names (e.g., "eric") "come from" $M 3051686SericR$+ $: $1 < @ $M > user w/o host 3151686SericR$+ < @ > $: $1 < @ $j > in case $M undefined 3251686Seric 3351686SericS21 3451686Seric 3551686Seric# do sender/recipient common rewriting 3651686SericR$+ $: $>19 $1 3751686Seric 3851686Seric# if already @ qualified, we are done 3951686SericR$* < @ $+ > $* $@ $1 < @ $2 > $3 already qualified 4051686Seric 41*54018Seric# don't qualify list:; syntax 42*54018SericR$* :; $@ $1 :; 43*54018Seric 4451686Seric# unqualified names (e.g., "eric") are qualified by local host 4551752SericR$+ $: $1 < @ $j > 4651686Seric 4751686SericS19 4851686Seric 4951225Seric# pass <route-addr>s through 5051245SericR< @ $+ > $* $@ < @ $1 > $2 resolve <route-addr> 5151225Seric 5251225Seric# output fake domains as user%fake@relay 5351225Sericifdef(`BITNET_RELAY', 5451245Seric`R$+ <@ $+ . BITNET > $: $1 % $2 .BITNET < @ $B > user@host.BITNET', 5551225Seric `dnl') 5651225Sericifdef(`CSNET_RELAY', 5751245Seric`R$+ <@ $+ . CSNET > $: $1 % $2 .CSNET < @ $C > user@host.CSNET', 5851225Seric `dnl') 5951287SericR$+ <@ $+ . UUCP > $: $2 ! $1 < @ $j > user@host.UUCP 60