From f1cb96b2ca44e4aa70b57abc58ffc615af6b0583 Mon Sep 17 00:00:00 2001 From: glass Date: Mon, 31 Jan 1994 02:38:08 +0000 Subject: upgrade to version 8.6.5 --- usr.sbin/sendmail/src/alias.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/sendmail/src/alias.c') diff --git a/usr.sbin/sendmail/src/alias.c b/usr.sbin/sendmail/src/alias.c index a89e27301f1..66d81d77bf6 100644 --- a/usr.sbin/sendmail/src/alias.c +++ b/usr.sbin/sendmail/src/alias.c @@ -36,7 +36,7 @@ # include #ifndef lint -static char sccsid[] = "@(#)alias.c 8.19 (Berkeley) 10/31/93"; +static char sccsid[] = "@(#)alias.c 8.21 (Berkeley) 12/11/93"; #endif /* not lint */ @@ -144,7 +144,7 @@ alias(a, sendq, e) owner = aliaslookup(obuf, e); if (owner != NULL) { - if (strchr(owner, ',') != NULL) + if (strpbrk(owner, ",:/|\"") != NULL) owner = obuf; a->q_owner = newstr(owner); } @@ -570,7 +570,7 @@ readaliases(map, af, automatic) } if (parseaddr(line, &al, RF_COPYALL, ':', NULL, CurEnv) == NULL) { - syserr("554 %s... illegal alias name", al.q_paddr); + syserr("554 %.40s... illegal alias name", line); continue; } -- cgit