1PUSHDIVERT(-1) 2# 3# Copyright (c) 1983 Eric P. Allman 4# Copyright (c) 1988 The Regents of the University of California. 5# All rights reserved. 6# 7# %sccs.include.redist.sh% 8# 9POPDIVERT 10##################################### 11### SMTP Mailer specification ### 12##################################### 13 14VERSIONID(`@(#)smtp.m4 6.8 (Berkeley) 03/23/93') 15 16Msmtp, P=[IPC], F=mDFMueXLC, S=11, R=21, E=\r\n, 17 A=IPC $h 18Mrelay, P=[IPC], F=mDFMueXLC, S=11, R=19, E=\r\n, 19 A=IPC $h 20 21S11 22 23# do sender/recipient common rewriting 24R$+ $: $>19 $1 25 26# if already @ qualified, we are done 27R$* < @ $* > $* $@ $1 < @ $2 > $3 already qualified 28 29# don't qualify list:; syntax 30R$* :; <@> $@ $1 :; 31 32# unqualified names (e.g., "eric") "come from" $M 33R$=E $@ $1 < @ $j> show exposed names 34R$+ $: $1 < @ $M > user w/o host 35R$+ <@> $: $1 < @ $j > in case $M undefined 36 37S21 38 39# do sender/recipient common rewriting 40R$+ $: $>19 $1 41 42# if already @ qualified, we are done 43R$* < @ $* > $* $@ $1 < @ $2 > $3 already qualified 44 45# don't qualify list:; syntax 46R$* :; <@> $@ $1 :; 47 48# unqualified names (e.g., "eric") are qualified by local host 49R$+ $: $1 < @ $j > 50 51S19 52 53# pass <route-addr>s through 54R< @ $+ > $* $@ < @ $1 > $2 resolve <route-addr> 55 56# output fake domains as user%fake@relay 57ifdef(`BITNET_RELAY', 58`R$+ <@ $+ . BITNET > $: $1 % $2 .BITNET < @ $B > user@host.BITNET', 59 `dnl') 60ifdef(`CSNET_RELAY', 61`R$+ <@ $+ . CSNET > $: $1 % $2 .CSNET < @ $C > user@host.CSNET', 62 `dnl') 63ifdef(`_NO_UUCP_', `dnl', 64`R$+ <@ $+ . UUCP > $: $2 ! $1 < @ $j > user@host.UUCP') 65