nonstandard 050 messages in SMTP transaction
SCCS-vsn: usr.sbin/sendmail/src/alias.c 4.9
# include "sendmail.h"
# ifdef DBM
# include "sendmail.h"
# ifdef DBM
-SCCSID(@(#)alias.c 4.8 %G% (with DBM));
+SCCSID(@(#)alias.c 4.9 %G% (with DBM));
-SCCSID(@(#)alias.c 4.8 %G% (without DBM));
+SCCSID(@(#)alias.c 4.9 %G% (without DBM));
(void) strcpy(buf, aliasfile);
(void) strcat(buf, ".pag");
stb.st_ino = 0;
(void) strcpy(buf, aliasfile);
(void) strcat(buf, ".pag");
stb.st_ino = 0;
- if (!init && (atcnt < 0 || stat(buf, &stb) < 0 || stb.st_mtime < modtime))
+ if (!init && (stat(buf, &stb) < 0 || stb.st_mtime < modtime || atcnt < 0))
{
errno = 0;
if (AutoRebuild && stb.st_ino != 0 &&
{
errno = 0;
if (AutoRebuild && stb.st_ino != 0 &&
- bool oldverb = Verbose;
-
- Verbose = TRUE;
+#ifdef LOG
+ syslog(LOG_INFO, "alias database out of date");
+#endif LOG
message(Arpa_Info, "Warning: alias database out of date");
message(Arpa_Info, "Warning: alias database out of date");