]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.4-20061019
authorWietse Venema <wietse@porcupine.org>
Thu, 19 Oct 2006 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:32:39 +0000 (06:32 +0000)
postfix/HISTORY
postfix/src/cleanup/cleanup_bounce.c
postfix/src/cleanup/cleanup_milter.c
postfix/src/global/mail_version.h
postfix/src/smtp/smtp_reuse.c

index 1a86bb7c26ecd996a53e41b87b4ea4d3cc62472f..2891b9e4b94137f9f1babbe336427a60736aa5c1 100644 (file)
@@ -12804,6 +12804,16 @@ Apologies for any names omitted.
        MAIL FROM and RCPT TO events to external form.  File:
        cleanup/cleanup_milter.c.
 
+20061017
+
+       Cleanup: removed spurious warning when the cleanup server
+       attempts to bounce mail with soft_bounce=yes. Problem
+       reported by Ralf Hildebrandt. File: cleanup/cleanup_bounce.c.
+
+       Bugfix: null pointer bug when receiving a non-protocol
+       response on a cached SMTP/LMTP connection.  Report by Brian
+       Kantor.  Fix by Victor Duchovni.  File: smtp/smtp_reuse.c.
+
 Wish list:
 
        Find out if with Sendmail, a Milter "add recipient" request
index e6deb9586997ff1821176cfa9fbb569f5784c94a..bf8f5236853040c827f5fa3e5618eff4615e8fbd 100644 (file)
@@ -67,10 +67,15 @@ static void cleanup_bounce_append(CLEANUP_STATE *state, RECIPIENT *rcpt,
 {
     MSG_STATS stats;
 
+    /*
+     * Don't log a spurious warning (for example, when soft_bounce is turned
+     * on). bounce_append() already logs a record when the logfile can't be
+     * updated. Set the write error flag, so that a maildrop queue file won't
+     * be destroyed.
+     */
     if (bounce_append(BOUNCE_FLAG_CLEAN, state->queue_id,
                      CLEANUP_MSG_STATS(&stats, state),
                      rcpt, "none", dsn) != 0) {
-       msg_warn("%s: bounce logfile update error", state->queue_id);
        state->errs |= CLEANUP_STAT_WRITE;
     }
 }
index b63ddb28a324e0eade95a4765bf0e56fa062c75a..87a0795774e322e77ff4f1dabc52fba96168ba41 100644 (file)
@@ -1697,7 +1697,7 @@ static void usage(void)
     msg_warn("    del_rcpt addr");
 }
 
-/* flatten_args unparse partial command line */
+/* flatten_args unparse partial command line */
 
 static void flatten_args(VSTRING *buf, char **argv)
 {
index 3329b61f86b77e877936ed2517d4d24e198ff463..7efa772c403955d21b41b5ba57d1aacc8a045e32 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20061015"
+#define MAIL_RELEASE_DATE      "20061019"
 #define MAIL_VERSION_NUMBER    "2.4"
 
 #ifdef SNAPSHOT
index 361e4366ecbc290da7762a73d5dd45bfdb5ef6df..1ed72d73bd58e7f39c2373c5ccceb5eb4e75f4f3 100644 (file)
@@ -175,6 +175,7 @@ static SMTP_SESSION *smtp_reuse_common(SMTP_STATE *state, int fd,
        return (0);
     }
     state->session = session;
+    session->state = state;
 
     /*
      * XXX Temporary fix.