Bugfix: reset the smtpd command transaction log between
deliveries. File: smtpd/smtpd.c.
+20011115
+
+ Bugfix: reset the smtpd command transaction log between
+ non-deliveries. File: smtpd/smtpd.c.
+
Open problems:
Medium: need in-process caching for map lookups. LDAP
* Version of this program.
*/
#define VAR_MAIL_VERSION "mail_version"
-#define DEF_MAIL_VERSION "Snapshot-20011114"
+#define DEF_MAIL_VERSION "Snapshot-20011115"
extern char *var_mail_version;
/* LICENSE
if (state->history != 0 && state->client != VSTREAM_IN
&& (state->error_mask & state->notify_mask))
smtpd_chat_notify(state);
+ state->error_mask = 0;
smtpd_chat_reset(state);
/*
return (-1);
}
+ /*
+ * Notify the postmaster if there were errors. This usually indicates a
+ * client configuration problem, or that someone is trying nasty things.
+ * Either is significant enough to bother the postmaster. XXX Can't
+ * report problems when running in stand-alone mode: postmaster notices
+ * require availability of the cleanup service.
+ */
+ if (state->history != 0 && state->client != VSTREAM_IN
+ && (state->error_mask & state->notify_mask))
+ smtpd_chat_notify(state);
+ state->error_mask = 0;
+ smtpd_chat_reset(state);
+
/*
* Restore state to right after HELO/EHLO command.
*/