for delivering the message anyway).
SCCS-mr: usr.sbin/sendmail/src/version.c 203
SCCS-mr: usr.sbin/sendmail/src/sendmail.h 203
SCCS-mr: usr.sbin/sendmail/src/main.c 203
SCCS-vsn: usr.sbin/sendmail/src/version.c 3.324
SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 3.117
SCCS-vsn: usr.sbin/sendmail/src/main.c 3.157
# include "sendmail.h"
# include <sys/file.h>
# include "sendmail.h"
# include <sys/file.h>
-SCCSID(@(#)main.c 3.156 %G%);
+SCCSID(@(#)main.c 3.157 %G%);
/*
** SENDMAIL -- Post mail to a set of destinations.
/*
** SENDMAIL -- Post mail to a set of destinations.
if (LogLevel > 11)
syslog(LOG_DEBUG, "finis, pid=%d", getpid());
# endif LOG
if (LogLevel > 11)
syslog(LOG_DEBUG, "finis, pid=%d", getpid());
# endif LOG
+ if (ExitStat == EX_TEMPFAIL)
+ ExitStat = EX_OK;
# ifdef _DEFINE
# define EXTERN
# ifndef lint
# ifdef _DEFINE
# define EXTERN
# ifndef lint
-static char SmailSccsId[] = "@(#)sendmail.h 3.116 %G%";
+static char SmailSccsId[] = "@(#)sendmail.h 3.117 %G%";
# endif lint
# else _DEFINE
# define EXTERN extern
# endif lint
# else _DEFINE
# define EXTERN extern
-# define setstat(s) { if (ExitStat == EX_OK) ExitStat = s; }
+#define setstat(s) { \
+ if (ExitStat == EX_OK || ExitStat == EX_TEMPFAIL) \
+ ExitStat = s; \
+ }
/* make a copy of a string */
/* make a copy of a string */
-# define newstr(s) strcpy(xalloc(strlen(s) + 1), s)
+#define newstr(s) strcpy(xalloc(strlen(s) + 1), s)
-static char SccsId[] = "@(#)SendMail version 3.323 of %G%";
+static char SccsId[] = "@(#)SendMail version 3.324 of %G%";
-char Version[] = "3.323";
+char Version[] = "3.324";