From fea10f36b3a61ff1300e6e3b587bb881e5a7cf55 Mon Sep 17 00:00:00 2001 From: Wietse Venema Date: Fri, 2 Sep 2011 00:00:00 -0500 Subject: [PATCH] postfix-2.6.12 --- postfix/HISTORY | 14 ++++++++++++++ postfix/README_FILES/MILTER_README | 9 ++++++--- postfix/html/MILTER_README.html | 5 +++-- postfix/proto/MILTER_README.html | 5 +++-- postfix/src/global/mail_version.h | 4 ++-- postfix/src/milter/milter8.c | 4 +++- postfix/src/smtpd/smtpd_state.c | 1 + 7 files changed, 32 insertions(+), 10 deletions(-) diff --git a/postfix/HISTORY b/postfix/HISTORY index 833a4c119..5de54b1db 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -15527,3 +15527,17 @@ Apologies for any names omitted. IP queries" even if the name has an alphanumerical prefix. We play safe, and skip RHSBL queries for names ending in a numerical suffix. File: smtpd/smtpd_check.c. + +20110811 + + Workaround: report a {client_connections} Milter macro value + of zero instead of garbage, when the remote SMTP client is + not subject to any smtpd_client_* limits. Problem reported + by Christian Roessner. File: smtpd/smtpd_state.c, + proto/MILTER_README.html. + +20110831 + + Bugfix: allow for Milters that send an SMTP server reply + without RFC 3463 enhanced status code. Reported by Vladimir + Vassiliev. File: milter/milter8.c. diff --git a/postfix/README_FILES/MILTER_README b/postfix/README_FILES/MILTER_README index 5dceb11e6..3b0eb1c46 100644 --- a/postfix/README_FILES/MILTER_README +++ b/postfix/README_FILES/MILTER_README @@ -337,8 +337,11 @@ Sendmail. See the workarounds section below for solutions. |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |{client_addr} |Always |Client IP address | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | - |{client_connections}|CONNECT |Connection concurrency for| - | | |this client | + | | |Connection concurrency for| + | | |this client (zero if the | + |{client_connections}|CONNECT |client is excluded from | + | | |all smtpd_client_* | + | | |limits). | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | | | |Client hostname | | | |When address -> name | @@ -468,7 +471,7 @@ WWoorrkkaarroouunnddss queue ID in the message header. To fix the ugly message header, you will need to add code that looks up the - Postfix queue ID at some later point im time. The example below adds the + Postfix queue ID at some later point in time. The example below adds the lookup after the end-of-message. o Edit the filter source file (typically named xxx-filter/xxx-filter.c or diff --git a/postfix/html/MILTER_README.html b/postfix/html/MILTER_README.html index 5aa69c06d..de9eb968e 100644 --- a/postfix/html/MILTER_README.html +++ b/postfix/html/MILTER_README.html @@ -556,7 +556,8 @@ login method address {client_connections} CONNECT -Connection concurrency for this client +Connection concurrency for this client (zero if the client is +excluded from all smtpd_client_* limits). {client_name} Always Client hostname
When address → name lookup or name → address @@ -718,7 +719,7 @@ version 1.0.0 no longer includes the queue ID in the message header.

To fix the ugly message header, you will need to add code that -looks up the Postfix queue ID at some later point im time. The +looks up the Postfix queue ID at some later point in time. The example below adds the lookup after the end-of-message.