<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">*** ./smtpd.c-  Sun Oct 28 19:31:14 2001
--- ./smtpd.c   Wed Nov 14 22:21:46 2001
***************
*** 1060,1065 ****
--- 1060,1077 ----
      state-&gt;where = SMTPD_AFTER_DOT;

      /*
+      * 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-&gt;history != 0 &amp;&amp; state-&gt;client != VSTREAM_IN
+       &amp;&amp; (state-&gt;error_mask &amp; state-&gt;notify_mask))
+       smtpd_chat_notify(state);
+     smtpd_chat_reset(state);
+
+     /*
       * Cleanup. The client may send another MAIL command.
       */
      mail_reset(state);
</pre></body></html>