]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.8.7 v2.8.7
authorWietse Venema <wietse@porcupine.org>
Sat, 5 Nov 2011 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sat, 10 Feb 2018 18:59:30 +0000 (13:59 -0500)
postfix/HISTORY
postfix/makedefs
postfix/src/global/mail_version.h
postfix/src/postscreen/postscreen_send.c
postfix/src/util/sys_defs.h

index f87764e8b16681d28bc364e036969bba432119a3..42ac70fc8c49d6b0f95d180fada2e55057c89797 100644 (file)
@@ -16681,3 +16681,17 @@ Apologies for any names omitted.
        checks to unknown message subtypes such as message/global*.
        File: global/mime_state.c.
 
+20111025
+
+       Workaround: postscreen sent non-compliant SMTP responses
+       (220- followed by 421) when it could not give a connection
+       to a real smtpd process, causing some remote SMTP clients
+       to bounce mail. The workaround is to hang up without sending
+       the 421 reply (which is harmless); the complete fix involves
+       too much change for a stable release.  Problem reported by
+       Ralf Hildebrandt.  File: postscreen/postscreen_send.c.
+
+20111102
+
+       Portability: OpenBSD 5.x is supported. Files: makedefs,
+       util/sys_defs.h.
index 91f0b0373976097e53e432824f25c737118c3c33..606520a95a9cf14dae3df737f0e4e6e090fe4076 100644 (file)
@@ -152,6 +152,8 @@ case "$SYSTEM.$RELEASE" in
                ;;
   OpenBSD.4*)  SYSTYPE=OPENBSD4
                ;;
+  OpenBSD.5*)  SYSTYPE=OPENBSD5
+               ;;
   ekkoBSD.1*)  SYSTYPE=EKKOBSD1
                ;;
    NetBSD.1*)  SYSTYPE=NETBSD1
index 8a7d9d77bb2043ab0065a0053fa8f9f264f08ab4..921b117d50c4de439a351f6c78d89c6a8ac361d9 100644 (file)
@@ -20,8 +20,8 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20111024"
-#define MAIL_VERSION_NUMBER    "2.8.6"
+#define MAIL_RELEASE_DATE      "20111105"
+#define MAIL_VERSION_NUMBER    "2.8.7"
 
 #ifdef SNAPSHOT
 # define MAIL_VERSION_DATE     "-" MAIL_RELEASE_DATE
index f68a255d7154f613fca90a3ba2456b9f8677d0ae..29bc53ebd39d703b3b9e012244c8b7ad40e6567d 100644 (file)
@@ -187,7 +187,9 @@ void    psc_send_socket(PSC_STATE *state)
         PASS_CONNECT(psc_smtpd_service_name, NON_BLOCKING,
                      PSC_SEND_SOCK_CONNECT_TIMEOUT)) < 0) {
        msg_warn("cannot connect to service %s: %m", psc_smtpd_service_name);
-       PSC_SEND_REPLY(state, "421 4.3.2 All server ports are busy\r\n");
+       /* Best effort: after sending 220-, hang up without sending 421. */
+       if ((state->flags & PSC_STATE_FLAG_PREGR_TODO) == 0)
+           PSC_SEND_REPLY(state, "421 4.3.2 All server ports are busy\r\n");
        psc_free_session_state(state);
        return;
     }
@@ -196,7 +198,9 @@ void    psc_send_socket(PSC_STATE *state)
                      vstream_fileno(state->smtp_client_stream)) < 0) {
        msg_warn("cannot pass connection to service %s: %m",
                 psc_smtpd_service_name);
-       PSC_SEND_REPLY(state, "421 4.3.2 No system resources\r\n");
+       /* Best effort: after sending 220-, hang up without sending 421. */
+       if ((state->flags & PSC_STATE_FLAG_PREGR_TODO) == 0)
+           PSC_SEND_REPLY(state, "421 4.3.2 No system resources\r\n");
        psc_free_session_state(state);
        return;
     } else {
index bbe370f2ba0ecd3107730f31cce28637dc979ffe..2f0acb944cb5dcb15f03bde6bce285d5309468fb 100644 (file)
@@ -28,6 +28,7 @@
     || defined(FREEBSD8) \
     || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
     || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+    || defined(OPENBSD5) \
     || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
     || defined(NETBSD4) \
     || defined(EKKOBSD1)