SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.12
-static char sccsid[] = "@(#)parseaddr.c 8.11 (Berkeley) %G%";
+static char sccsid[] = "@(#)parseaddr.c 8.12 (Berkeley) %G%";
#endif /* not lint */
#include "sendmail.h"
#endif /* not lint */
#include "sendmail.h"
syslog (LOG_DEBUG, "%s: Trace: $#ERROR $: %s",
CurEnv->e_id, buf);
#endif /* LOG */
syslog (LOG_DEBUG, "%s: Trace: $#ERROR $: %s",
CurEnv->e_id, buf);
#endif /* LOG */
+ if (isascii(buf[0]) && isdigit(buf[0]) &&
+ isascii(buf[1]) && isdigit(buf[1]) &&
+ isascii(buf[2]) && isdigit(buf[2]) &&
+ buf[3] == ' ')
+ {
+ char fmt[10];
+
+ strncpy(fmt, buf, 3);
+ strcpy(&fmt[3], " %s");
+ usrerr(fmt, buf + 4);
+ }
+ else
+ {
+ usrerr("%s", buf);
+ }