]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.0.16-20031223
authorWietse Venema <wietse@porcupine.org>
Tue, 23 Dec 2003 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:29:23 +0000 (06:29 +0000)
postfix/HISTORY
postfix/RELEASE_NOTES
postfix/src/global/mail_version.h
postfix/src/smtp/smtp_addr.c

index 4be4a48535dda08ebf53aa676ad5aa1ab3ef8339..edaedd25761c4dba05529b3587b22e67ca15a63c 100644 (file)
@@ -8901,11 +8901,24 @@ Apologies for any names omitted.
        duplicate address filter footprint. After discussion with
        Victor Duchovni. File: cleanup/cleanup_out_recipient.c.
 
+       Safety: added "mail loops to myself" logic for destinations
+       that don't have an MX host.  File: smtp/smtp_addr.c.
+
+20031223
+
+       Workaround: turn off "mail loops to myself" for non-MX
+       destinations because it breaks SMTP-based content filters.
+       Fix is to turn off loop detection when a non-default TCP
+       port is specified.  File: smtp/smtp_addr.c.
+
 Open problems:
 
        Low: in the SMTP client, pass the session, request and
        state structures as separate arguments.
 
+       Low: in the SMTP client, turn off "mail loops back to
+       myself" detection if a non-default TCP port is specified.
+
        High: when virtual aliasing is turned off after content
        filtering, local submissions may escape virtual aliasing.
 
index 56328ca318540b30bb23fbd28f2685464f18d552..1b10ccf82c2e94995b8eae9a10d5c0069b227994 100644 (file)
@@ -22,7 +22,7 @@ snapshot release).  Patches change the patchlevel and the release
 date. Snapshots change only the release date, unless they include
 the same bugfixes as a patch release.
 
-Incompatible changes with Postfix snapshot 2.0.16-20031222
+Incompatible changes with Postfix snapshot 2.0.16-20031223
 ==========================================================
 
 In mailq (queue listing) output, there no longer is space between
@@ -37,7 +37,7 @@ get the old behavior, specify "smtp_mx_session_limit = 1" in main.cf.
 After delivery failure due to a temporary error condition, the SMTP
 client now always connects to the fall-back relay if specified.
 
-Major changes with Postfix snapshot 2.0.16-20031222
+Major changes with Postfix snapshot 2.0.16-20031223
 ===================================================
 
 The SMTP client now tries to connect to an alternate MX address
index 44a4fbf6e5680be038d9a48672f10636aaa5fce8..b56b2e5404a8477217fbd436d34ce64c5c9958fb 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change the patchlevel and the release date. Snapshots change the
   * release date only, unless they include the same bugfix as a patch release.
   */
-#define MAIL_RELEASE_DATE      "20031222"
+#define MAIL_RELEASE_DATE      "20031223"
 
 #define VAR_MAIL_VERSION       "mail_version"
 #define DEF_MAIL_VERSION       "2.0.16-" MAIL_RELEASE_DATE
index 54c90ea6cab67bab992b3f0fa58b912293b72a31..adaf01d8f6bc4736c6bb45650b64939a60e4e40f 100644 (file)
@@ -463,12 +463,14 @@ DNS_RR *smtp_host_addr(char *host, VSTRING *why)
      */
 #define PREF0  0
     addr_list = smtp_addr_one((DNS_RR *) 0, host, PREF0, why);
+#if 0
     if (addr_list && smtp_find_self(addr_list) != 0) {
        dns_rr_free(addr_list);
        vstring_sprintf(why, "mail for %s loops back to myself", host);
        smtp_errno = SMTP_LOOP;
        return (0);
     }
+#endif
     if (addr_list && addr_list->next && var_smtp_rand_addr)
        addr_list = dns_rr_shuffle(addr_list);
     if (msg_verbose)