mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-28 12:48:01 +00:00
postfix-2.8-20100918
This commit is contained in:
parent
ce154345ff
commit
36a1c7272a
@ -16028,3 +16028,8 @@ Apologies for any names omitted.
|
|||||||
|
|
||||||
Cleanup: postscreen now logs CONNECT and DISCONNECT events.
|
Cleanup: postscreen now logs CONNECT and DISCONNECT events.
|
||||||
Files: postscreen/postscreen.c, postscreen/postscreen_misc.c.
|
Files: postscreen/postscreen.c, postscreen/postscreen_misc.c.
|
||||||
|
|
||||||
|
20100917
|
||||||
|
|
||||||
|
Bugfix: cut-and-paste error. Postscreen used pregreet_ttl
|
||||||
|
instead of dnsbnl_ttl. File: postscreen/postscreen_early.c.
|
||||||
|
@ -452,7 +452,8 @@ mail:
|
|||||||
|
|
||||||
/etc/postfix/main.cf:
|
/etc/postfix/main.cf:
|
||||||
postscreen_dnsbl_threshold = 2
|
postscreen_dnsbl_threshold = 2
|
||||||
postscreen_dnsbl_sites = zen.spamhaus.org*2 example.com*1 example.net*1
|
postscreen_dnsbl_sites = zen.spamhaus.org*2
|
||||||
|
bl.spamcop.net*1 b.barracudacentral.org*1
|
||||||
|
|
||||||
Note: if your DNSBL queries have a "secret" in the domain name, you must
|
Note: if your DNSBL queries have a "secret" in the domain name, you must
|
||||||
censor this information from the postscreen(8) SMTP replies. For example:
|
censor this information from the postscreen(8) SMTP replies. For example:
|
||||||
@ -575,6 +576,5 @@ so he added support for DNSBL weights and filters in August, followed by a
|
|||||||
major code rewrite, deep protocol tests, helo/sender/recipient logging, and
|
major code rewrite, deep protocol tests, helo/sender/recipient logging, and
|
||||||
stress-adaptive behavior in September. Ralf Hildebrandt ran this code on
|
stress-adaptive behavior in September. Ralf Hildebrandt ran this code on
|
||||||
several servers to collect real-world statistics. This version still used the
|
several servers to collect real-world statistics. This version still used the
|
||||||
same delay for pregreet and DNSBL tests, as well as the embarrassing dnsblog(8)
|
embarrassing dnsblog(8) ad-hoc DNS client program.
|
||||||
ad-hoc DNS client.
|
|
||||||
|
|
||||||
|
@ -625,7 +625,8 @@ weights. For example:
|
|||||||
<pre>
|
<pre>
|
||||||
/etc/postfix/<a href="postconf.5.html">main.cf</a>:
|
/etc/postfix/<a href="postconf.5.html">main.cf</a>:
|
||||||
<a href="postconf.5.html#postscreen_dnsbl_threshold">postscreen_dnsbl_threshold</a> = 2
|
<a href="postconf.5.html#postscreen_dnsbl_threshold">postscreen_dnsbl_threshold</a> = 2
|
||||||
<a href="postconf.5.html#postscreen_dnsbl_sites">postscreen_dnsbl_sites</a> = zen.spamhaus.org*2 example.com*1 example.net*1
|
<a href="postconf.5.html#postscreen_dnsbl_sites">postscreen_dnsbl_sites</a> = zen.spamhaus.org*2
|
||||||
|
bl.spamcop.net*1 b.barracudacentral.org*1
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p> Note: if your DNSBL queries have a "secret" in the domain name,
|
<p> Note: if your DNSBL queries have a "secret" in the domain name,
|
||||||
@ -794,9 +795,8 @@ in November 2010, so he added support for DNSBL weights and filters
|
|||||||
in August, followed by a major code rewrite, deep protocol tests,
|
in August, followed by a major code rewrite, deep protocol tests,
|
||||||
helo/sender/recipient logging, and stress-adaptive behavior in
|
helo/sender/recipient logging, and stress-adaptive behavior in
|
||||||
September. Ralf Hildebrandt ran this code on several servers to
|
September. Ralf Hildebrandt ran this code on several servers to
|
||||||
collect real-world statistics. This version still used the same
|
collect real-world statistics. This version still used the embarrassing
|
||||||
delay for pregreet and DNSBL tests, as well as the embarrassing
|
<a href="dnsblog.8.html">dnsblog(8)</a> ad-hoc DNS client program. </p>
|
||||||
<a href="dnsblog.8.html">dnsblog(8)</a> ad-hoc DNS client. </p>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
@ -625,7 +625,8 @@ weights. For example:
|
|||||||
<pre>
|
<pre>
|
||||||
/etc/postfix/main.cf:
|
/etc/postfix/main.cf:
|
||||||
postscreen_dnsbl_threshold = 2
|
postscreen_dnsbl_threshold = 2
|
||||||
postscreen_dnsbl_sites = zen.spamhaus.org*2 example.com*1 example.net*1
|
postscreen_dnsbl_sites = zen.spamhaus.org*2
|
||||||
|
bl.spamcop.net*1 b.barracudacentral.org*1
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p> Note: if your DNSBL queries have a "secret" in the domain name,
|
<p> Note: if your DNSBL queries have a "secret" in the domain name,
|
||||||
@ -794,9 +795,8 @@ in November 2010, so he added support for DNSBL weights and filters
|
|||||||
in August, followed by a major code rewrite, deep protocol tests,
|
in August, followed by a major code rewrite, deep protocol tests,
|
||||||
helo/sender/recipient logging, and stress-adaptive behavior in
|
helo/sender/recipient logging, and stress-adaptive behavior in
|
||||||
September. Ralf Hildebrandt ran this code on several servers to
|
September. Ralf Hildebrandt ran this code on several servers to
|
||||||
collect real-world statistics. This version still used the same
|
collect real-world statistics. This version still used the embarrassing
|
||||||
delay for pregreet and DNSBL tests, as well as the embarrassing
|
dnsblog(8) ad-hoc DNS client program. </p>
|
||||||
dnsblog(8) ad-hoc DNS client. </p>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
@ -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 "20100917"
|
#define MAIL_RELEASE_DATE "20100918"
|
||||||
#define MAIL_VERSION_NUMBER "2.8"
|
#define MAIL_VERSION_NUMBER "2.8"
|
||||||
|
|
||||||
#ifdef SNAPSHOT
|
#ifdef SNAPSHOT
|
||||||
|
@ -112,7 +112,7 @@ static void ps_early_event(int event, char *context)
|
|||||||
dnsbl_score =
|
dnsbl_score =
|
||||||
ps_dnsbl_retrieve(state->smtp_client_addr, &dnsbl_name);
|
ps_dnsbl_retrieve(state->smtp_client_addr, &dnsbl_name);
|
||||||
if (dnsbl_score < var_ps_dnsbl_thresh) {
|
if (dnsbl_score < var_ps_dnsbl_thresh) {
|
||||||
state->dnsbl_stamp = event_time() + var_ps_pregr_ttl;
|
state->dnsbl_stamp = event_time() + var_ps_dnsbl_ttl;
|
||||||
PS_PASS_SESSION_STATE(state, "dnsbl test",
|
PS_PASS_SESSION_STATE(state, "dnsbl test",
|
||||||
PS_STATE_FLAG_DNSBL_PASS);
|
PS_STATE_FLAG_DNSBL_PASS);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user