2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-09-01 14:45:32 +00:00

postfix-2.0.16-20031223

This commit is contained in:
Wietse Venema
2003-12-23 00:00:00 -05:00
committed by Viktor Dukhovni
parent afb3b97707
commit 5380c1c731
4 changed files with 18 additions and 3 deletions

View File

@@ -8901,11 +8901,24 @@ Apologies for any names omitted.
duplicate address filter footprint. After discussion with duplicate address filter footprint. After discussion with
Victor Duchovni. File: cleanup/cleanup_out_recipient.c. 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: Open problems:
Low: in the SMTP client, pass the session, request and Low: in the SMTP client, pass the session, request and
state structures as separate arguments. 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 High: when virtual aliasing is turned off after content
filtering, local submissions may escape virtual aliasing. filtering, local submissions may escape virtual aliasing.

View File

@@ -22,7 +22,7 @@ snapshot release). Patches change the patchlevel and the release
date. Snapshots change only the release date, unless they include date. Snapshots change only the release date, unless they include
the same bugfixes as a patch release. 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 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 After delivery failure due to a temporary error condition, the SMTP
client now always connects to the fall-back relay if specified. 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 The SMTP client now tries to connect to an alternate MX address

View File

@@ -20,7 +20,7 @@
* Patches change the patchlevel and the release date. Snapshots change the * Patches change the patchlevel and the release date. Snapshots change the
* release date only, unless they include the same bugfix as a patch release. * 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 VAR_MAIL_VERSION "mail_version"
#define DEF_MAIL_VERSION "2.0.16-" MAIL_RELEASE_DATE #define DEF_MAIL_VERSION "2.0.16-" MAIL_RELEASE_DATE

View File

@@ -463,12 +463,14 @@ DNS_RR *smtp_host_addr(char *host, VSTRING *why)
*/ */
#define PREF0 0 #define PREF0 0
addr_list = smtp_addr_one((DNS_RR *) 0, host, PREF0, why); addr_list = smtp_addr_one((DNS_RR *) 0, host, PREF0, why);
#if 0
if (addr_list && smtp_find_self(addr_list) != 0) { if (addr_list && smtp_find_self(addr_list) != 0) {
dns_rr_free(addr_list); dns_rr_free(addr_list);
vstring_sprintf(why, "mail for %s loops back to myself", host); vstring_sprintf(why, "mail for %s loops back to myself", host);
smtp_errno = SMTP_LOOP; smtp_errno = SMTP_LOOP;
return (0); return (0);
} }
#endif
if (addr_list && addr_list->next && var_smtp_rand_addr) if (addr_list && addr_list->next && var_smtp_rand_addr)
addr_list = dns_rr_shuffle(addr_list); addr_list = dns_rr_shuffle(addr_list);
if (msg_verbose) if (msg_verbose)