renumber some rulesets to be consistent with numbering plan
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 1 Nov 1993 03:38:08 +0000 (19:38 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 1 Nov 1993 03:38:08 +0000 (19:38 -0800)
SCCS-vsn: usr.sbin/sendmail/cf/mailer/smtp.m4 8.7

usr/src/usr.sbin/sendmail/cf/mailer/smtp.m4

index e005d75..a4adeec 100644 (file)
@@ -14,25 +14,25 @@ POPDIVERT
 ###   SMTP Mailer specification   ###
 #####################################
 
 ###   SMTP Mailer specification   ###
 #####################################
 
-VERSIONID(`@(#)smtp.m4 8.6 (Berkeley) %G%')
+VERSIONID(`@(#)smtp.m4 8.7 (Berkeley) %G%')
 
 Msmtp,         P=[IPC], F=CONCAT(mDFMuX, SMTP_MAILER_FLAGS), S=11/31, R=ifdef(`_ALL_MASQUERADE_', `11/31', `21'), E=\r\n,
                ifdef(`_OLD_SENDMAIL_',, `L=990, ')A=IPC $h
 Mesmtp,                P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS), S=11/31, R=ifdef(`_ALL_MASQUERADE_', `11/31', `21'), E=\r\n,
                ifdef(`_OLD_SENDMAIL_',, `L=990, ')A=IPC $h
 
 Msmtp,         P=[IPC], F=CONCAT(mDFMuX, SMTP_MAILER_FLAGS), S=11/31, R=ifdef(`_ALL_MASQUERADE_', `11/31', `21'), E=\r\n,
                ifdef(`_OLD_SENDMAIL_',, `L=990, ')A=IPC $h
 Mesmtp,                P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS), S=11/31, R=ifdef(`_ALL_MASQUERADE_', `11/31', `21'), E=\r\n,
                ifdef(`_OLD_SENDMAIL_',, `L=990, ')A=IPC $h
-Mrelay,                P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS), S=11/31, R=19, E=\r\n,
+Mrelay,                P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS), S=11/31, R=51, E=\r\n,
                ifdef(`_OLD_SENDMAIL_',, `L=2040, ')A=IPC $h
 
 #
 #  envelope sender and masquerading recipient rewriting
 #
 S11
                ifdef(`_OLD_SENDMAIL_',, `L=2040, ')A=IPC $h
 
 #
 #  envelope sender and masquerading recipient rewriting
 #
 S11
-R$+                    $: $>19 $1                      sender/recipient common
+R$+                    $: $>51 $1                      sender/recipient common
 R$* :; <@>             $@ $1 :;                        list:; special case
 
 # handle unqualified names
 R$* < @ $* > $*                $@ $1 < @ $2 > $3               already qualified
 R$* :; <@>             $@ $1 :;                        list:; special case
 
 # handle unqualified names
 R$* < @ $* > $*                $@ $1 < @ $2 > $3               already qualified
-R$*                    $@ $>29 $1
+R$*                    $@ $>61 $1
 
 
 #
 
 
 #
@@ -41,7 +41,7 @@ R$*                   $@ $>29 $1
 S21
 
 # do sender/recipient common rewriting
 S21
 
 # do sender/recipient common rewriting
-R$+                    $: $>19 $1
+R$+                    $: $>51 $1
 
 # unqualified names (e.g., "eric") are qualified by local host
 R$* < @ $* > $*                $@ $1 < @ $2 > $3               already qualified
 
 # unqualified names (e.g., "eric") are qualified by local host
 R$* < @ $* > $*                $@ $1 < @ $2 > $3               already qualified
@@ -52,7 +52,7 @@ R$+                   $: $1 < @ $j >                  add local domain
 #  header sender and masquerading recipient rewriting
 #
 S31
 #  header sender and masquerading recipient rewriting
 #
 S31
-R$+                    $: $>19 $1                      sender/recipient common
+R$+                    $: $>51 $1                      sender/recipient common
 R$* :; <@>             $@ $1 :;                        list:; special case
 
 # do special header rewriting
 R$* :; <@>             $@ $1 :;                        list:; special case
 
 # do special header rewriting
@@ -64,13 +64,13 @@ R$* < @ >           $: $1 < @ $j >                  in case $M undefined
 
 # handle unqualified names
 R$* < @ $* > $*                $@ $1 < @ $2 > $3               already qualified
 
 # handle unqualified names
 R$* < @ $* > $*                $@ $1 < @ $2 > $3               already qualified
-R$*                    $@ $>29 $1
+R$*                    $@ $>61 $1
 
 
 #
 #  common rewriting for all SMTP addresses
 #
 
 
 #
 #  common rewriting for all SMTP addresses
 #
-S19
+S51
 
 # pass <route-addr>s through
 R< @ $+ > $*           $@ < @ $1 > $2                  resolve <route-addr>
 
 # pass <route-addr>s through
 R< @ $+ > $*           $@ < @ $1 > $2                  resolve <route-addr>
@@ -91,7 +91,8 @@ ifdef(`_NO_UUCP_', `dnl',
 #
 #  common sender and masquerading recipient rewriting
 #
 #
 #  common sender and masquerading recipient rewriting
 #
-S29
+S61
+
 R$=E                   $@ $1 < @ $j>                   show exposed names
 R$+                    $: $1 < @ $M >                  user w/o host
 R$+ <@>                        $: $1 < @ $j >                  in case $M undefined
 R$=E                   $@ $1 < @ $j>                   show exposed names
 R$+                    $: $1 < @ $M >                  user w/o host
 R$+ <@>                        $: $1 < @ $j >                  in case $M undefined