fix parsing of null address so MAILER-DAEMON mapping works; fix
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 10 May 1994 22:31:05 +0000 (14:31 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 10 May 1994 22:31:05 +0000 (14:31 -0800)
detection of colon in host name

SCCS-vsn: usr.sbin/sendmail/cf/m4/proto.m4 8.46

usr/src/usr.sbin/sendmail/cf/m4/proto.m4

index 6208551..4771c7e 100644 (file)
@@ -8,7 +8,7 @@ divert(-1)
 #
 divert(0)
 
 #
 divert(0)
 
-VERSIONID(`@(#)proto.m4        8.45 (Berkeley) %G%')
+VERSIONID(`@(#)proto.m4        8.46 (Berkeley) %G%')
 
 MAILER(local)dnl
 
 
 MAILER(local)dnl
 
@@ -501,10 +501,10 @@ R$*                       $@ $>0 $1
 
 S0
 
 
 S0
 
-R<@>                   $#_LOCAL_ $: <                special case error msgs
+R<@>                   $#_LOCAL_ $: <@>                special case error msgs
 R$* : $* ;             $#error $@ USAGE $: "list:; syntax illegal for recipient addresses"
 R<@ $+>                        $#error $@ USAGE $: "user address required"
 R$* : $* ;             $#error $@ USAGE $: "list:; syntax illegal for recipient addresses"
 R<@ $+>                        $#error $@ USAGE $: "user address required"
-R<$* : $* >            $#error $@ USAGE $: "colon illegal in host name part"
+R$* <$* : $* > $*      $#error $@ USAGE $: "colon illegal in host name part"
 
 ifdef(`_MAILER_smtp_',
 `# handle numeric address spec
 
 ifdef(`_MAILER_smtp_',
 `# handle numeric address spec