2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-23 10:28:06 +00:00

postfix-2.8-20100915

This commit is contained in:
Wietse Venema 2010-09-15 00:00:00 -05:00 committed by Viktor Dukhovni
parent 7674e07fe6
commit 456dbf43dc
6 changed files with 21 additions and 19 deletions

View File

@ -15992,3 +15992,8 @@ Apologies for any names omitted.
this increases the database update frequency too much then this increases the database update frequency too much then
we'll need to make dnsbl result non-cachable. Files: we'll need to make dnsbl result non-cachable. Files:
postscreen/postscreen_dnsbl.c, global/mail_params.h. postscreen/postscreen_dnsbl.c, global/mail_params.h.
20100915
Bugfix (introduced 20100914): missing precondition for
call-back notification. File: postscreen/dnsblog.c.

View File

@ -393,10 +393,10 @@ whitelist entry that excludes the client IP address from further tests until
the temporary whitelist entry expires, as controlled with the postscreen_*_ttl the temporary whitelist entry expires, as controlled with the postscreen_*_ttl
parameters. parameters.
When no "deep protocol tests" are configured, postscreen(8) passes the "live" When no "deep protocol tests" are configured, postscreen(8) hands off the
connection to a Postfix SMTP server process. The client can then continue as if "live" connection to a Postfix SMTP server process. The client can then
postscreen(8) never even existed (except for the short postscreen_greet_wait continue as if postscreen(8) never even existed (except for the short
delay). postscreen_greet_wait delay).
When any "deep protocol tests" are configured, postscreen(8) cannot hand off When any "deep protocol tests" are configured, postscreen(8) cannot hand off
the "live" connection to a Postfix SMTP server process in the middle of the the "live" connection to a Postfix SMTP server process in the middle of the

View File

@ -540,7 +540,7 @@ address from further tests until the temporary whitelist entry
expires, as controlled with the postscreen_*_ttl parameters. </p> expires, as controlled with the postscreen_*_ttl parameters. </p>
<p> When no "<a href="#after_220">deep protocol tests</a>" are <p> When no "<a href="#after_220">deep protocol tests</a>" are
configured, <a href="postscreen.8.html">postscreen(8)</a> passes the "live" connection to a Postfix configured, <a href="postscreen.8.html">postscreen(8)</a> hands off the "live" connection to a Postfix
SMTP server process. The client can then continue as if <a href="postscreen.8.html">postscreen(8)</a> SMTP server process. The client can then continue as if <a href="postscreen.8.html">postscreen(8)</a>
never even existed (except for the short <a href="postconf.5.html#postscreen_greet_wait">postscreen_greet_wait</a> delay). never even existed (except for the short <a href="postconf.5.html#postscreen_greet_wait">postscreen_greet_wait</a> delay).
</p> </p>

View File

@ -540,7 +540,7 @@ address from further tests until the temporary whitelist entry
expires, as controlled with the postscreen_*_ttl parameters. </p> expires, as controlled with the postscreen_*_ttl parameters. </p>
<p> When no "<a href="#after_220">deep protocol tests</a>" are <p> When no "<a href="#after_220">deep protocol tests</a>" are
configured, postscreen(8) passes the "live" connection to a Postfix configured, postscreen(8) hands off the "live" connection to a Postfix
SMTP server process. The client can then continue as if postscreen(8) SMTP server process. The client can then continue as if postscreen(8)
never even existed (except for the short postscreen_greet_wait delay). never even existed (except for the short postscreen_greet_wait delay).
</p> </p>

View File

@ -20,7 +20,7 @@
* Patches change both the patchlevel and the release date. Snapshots have no * Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only. * patchlevel; they change the release date only.
*/ */
#define MAIL_RELEASE_DATE "20100914" #define MAIL_RELEASE_DATE "20100915"
#define MAIL_VERSION_NUMBER "2.8" #define MAIL_VERSION_NUMBER "2.8"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@ -357,19 +357,16 @@ static void ps_dnsbl_receive(int event, char *context)
} }
if (reply_argv != 0) if (reply_argv != 0)
argv_free(reply_argv); argv_free(reply_argv);
} else {
msg_warn("%s: unexpected event: %d", myname, event); /*
* Notify the requestor(s) that the result is ready to be picked up.
* If this call isn't made, clients have to sit out the entire
* pre-handshake delay.
*/
score->pending_lookups -= 1;
if (score->pending_lookups == 0)
PS_CALL_BACK_NOTIFY(score, PS_NULL_EVENT);
} }
/*
* We're done with this stream. Notify the requestor(s) that the result
* is ready to be picked up. If this call isn't made, clients have to sit
* out the entire pre-handshake delay.
*/
score->pending_lookups -= 1;
if (score->pending_lookups == 0)
PS_CALL_BACK_NOTIFY(score, PS_NULL_EVENT);
vstream_fclose(stream); vstream_fclose(stream);
} }