mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-30 13:48:06 +00:00
postfix-2.4-20060727
This commit is contained in:
committed by
Viktor Dukhovni
parent
5142642bda
commit
cd3c69f05e
@@ -12632,6 +12632,12 @@ Apologies for any names omitted.
|
|||||||
= no", the SMTP server would panic as it generated spurious
|
= no", the SMTP server would panic as it generated spurious
|
||||||
Milter requests for unrecognized commands. File: smtpd/smtpd.c.
|
Milter requests for unrecognized commands. File: smtpd/smtpd.c.
|
||||||
|
|
||||||
|
20060727
|
||||||
|
|
||||||
|
Cleanup: change redundant milter_abort() and milter_disc_event()
|
||||||
|
calls into NO-OPs. This avoids unnecessary panic() events
|
||||||
|
for completely harmless conditions. File: milter/milter8.c.
|
||||||
|
|
||||||
Wish list:
|
Wish list:
|
||||||
|
|
||||||
The type of var_message_limit should be changed from int
|
The type of var_message_limit should be changed from int
|
||||||
|
@@ -11,7 +11,7 @@ delivery notifications.
|
|||||||
Specifically, DSN support gives an email sender the ability to specify:
|
Specifically, DSN support gives an email sender the ability to specify:
|
||||||
|
|
||||||
* What notifications are sent: success, failure, delay, or none. Normally,
|
* What notifications are sent: success, failure, delay, or none. Normally,
|
||||||
Postfix informs the sender only mail when delivery is delayed or when
|
Postfix informs the sender only when mail delivery is delayed or when
|
||||||
delivery fails.
|
delivery fails.
|
||||||
|
|
||||||
* What content is returned in case of failure: only the message headers, or
|
* What content is returned in case of failure: only the message headers, or
|
||||||
|
@@ -30,7 +30,7 @@ specify: </p>
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li> <p> What notifications are sent: success, failure, delay, or
|
<li> <p> What notifications are sent: success, failure, delay, or
|
||||||
none. Normally, Postfix informs the sender only mail when delivery
|
none. Normally, Postfix informs the sender only when mail delivery
|
||||||
is delayed or when delivery fails. </p>
|
is delayed or when delivery fails. </p>
|
||||||
|
|
||||||
<li> <p> What content is returned in case of failure: only the
|
<li> <p> What content is returned in case of failure: only the
|
||||||
@@ -83,7 +83,7 @@ strangers (see below for how to turn this off for all clients):
|
|||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>
|
<pre>
|
||||||
/etc/postfix/main.cf:
|
/etc/postfix/<a href="postconf.5.html">main.cf</a>:
|
||||||
<a href="postconf.5.html#smtpd_discard_ehlo_keyword_address_maps">smtpd_discard_ehlo_keyword_address_maps</a> =
|
<a href="postconf.5.html#smtpd_discard_ehlo_keyword_address_maps">smtpd_discard_ehlo_keyword_address_maps</a> =
|
||||||
<a href="cidr_table.5.html">cidr</a>:/etc/postfix/esmtp_access
|
<a href="cidr_table.5.html">cidr</a>:/etc/postfix/esmtp_access
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ use the <a href="postconf.5.html#smtpd_discard_ehlo_keywords">smtpd_discard_ehlo
|
|||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>
|
<pre>
|
||||||
/etc/postfix/main.cf:
|
/etc/postfix/<a href="postconf.5.html">main.cf</a>:
|
||||||
<a href="postconf.5.html#smtpd_discard_ehlo_keywords">smtpd_discard_ehlo_keywords</a> = silent-discard, dsn
|
<a href="postconf.5.html#smtpd_discard_ehlo_keywords">smtpd_discard_ehlo_keywords</a> = silent-discard, dsn
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
@@ -30,7 +30,7 @@ specify: </p>
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li> <p> What notifications are sent: success, failure, delay, or
|
<li> <p> What notifications are sent: success, failure, delay, or
|
||||||
none. Normally, Postfix informs the sender only mail when delivery
|
none. Normally, Postfix informs the sender only when mail delivery
|
||||||
is delayed or when delivery fails. </p>
|
is delayed or when delivery fails. </p>
|
||||||
|
|
||||||
<li> <p> What content is returned in case of failure: only the
|
<li> <p> What content is returned in case of failure: only the
|
||||||
|
@@ -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 "20060726"
|
#define MAIL_RELEASE_DATE "20060727"
|
||||||
#define MAIL_VERSION_NUMBER "2.4"
|
#define MAIL_VERSION_NUMBER "2.4"
|
||||||
|
|
||||||
#ifdef SNAPSHOT
|
#ifdef SNAPSHOT
|
||||||
|
@@ -141,7 +141,9 @@
|
|||||||
/*
|
/*
|
||||||
/* milter_disc_event() reports an SMTP client disconnection
|
/* milter_disc_event() reports an SMTP client disconnection
|
||||||
/* event to the specified milter instances. No events can
|
/* event to the specified milter instances. No events can
|
||||||
/* reported after this call, not even abort() events.
|
/* reported after this call. To simplify usage, redundant calls
|
||||||
|
/* of this function are NO-OPs and don't raise a run-time
|
||||||
|
/* error.
|
||||||
/*
|
/*
|
||||||
/* milter_helo_event() reports a HELO or EHLO event to the
|
/* milter_helo_event() reports a HELO or EHLO event to the
|
||||||
/* specified milter instances, after sending the macros that
|
/* specified milter instances, after sending the macros that
|
||||||
@@ -178,9 +180,9 @@
|
|||||||
/* by a preceding milter. This function must be called with
|
/* by a preceding milter. This function must be called with
|
||||||
/* as argument an open Postfix queue file.
|
/* as argument an open Postfix queue file.
|
||||||
/*
|
/*
|
||||||
/* milter_abort() cancels a mail transaction in progress. This
|
/* milter_abort() cancels a mail transaction in progress. To
|
||||||
/* function is safe to call anywhere between connect and
|
/* simplify usage, redundant calls of this function are NO-OPs
|
||||||
/* disconnect events.
|
/* and don't raise a run-time error.
|
||||||
/*
|
/*
|
||||||
/* milter_send() sends a list of mail filters over the specified
|
/* milter_send() sends a list of mail filters over the specified
|
||||||
/* stream. When given a null list pointer, a "no filter"
|
/* stream. When given a null list pointer, a "no filter"
|
||||||
|
@@ -1835,6 +1835,9 @@ static void milter8_abort(MILTER *m)
|
|||||||
* has to open a new MTA-to-filter socket for each SMTP client.
|
* has to open a new MTA-to-filter socket for each SMTP client.
|
||||||
*/
|
*/
|
||||||
switch (milter->state) {
|
switch (milter->state) {
|
||||||
|
case MILTER8_STAT_CLOSED:
|
||||||
|
case MILTER8_STAT_READY:
|
||||||
|
return;
|
||||||
case MILTER8_STAT_ERROR:
|
case MILTER8_STAT_ERROR:
|
||||||
case MILTER8_STAT_ACCEPT_CON:
|
case MILTER8_STAT_ACCEPT_CON:
|
||||||
case MILTER8_STAT_REJECT_CON:
|
case MILTER8_STAT_REJECT_CON:
|
||||||
@@ -1869,6 +1872,9 @@ static void milter8_disc_event(MILTER *m)
|
|||||||
* has to open a new MTA-to-filter socket for each SMTP client.
|
* has to open a new MTA-to-filter socket for each SMTP client.
|
||||||
*/
|
*/
|
||||||
switch (milter->state) {
|
switch (milter->state) {
|
||||||
|
case MILTER8_STAT_CLOSED:
|
||||||
|
case MILTER8_STAT_READY:
|
||||||
|
return;
|
||||||
case MILTER8_STAT_ERROR:
|
case MILTER8_STAT_ERROR:
|
||||||
#ifdef LIBMILTER_AUTO_DISCONNECT
|
#ifdef LIBMILTER_AUTO_DISCONNECT
|
||||||
case MILTER8_STAT_ACCEPT_CON:
|
case MILTER8_STAT_ACCEPT_CON:
|
||||||
|
Reference in New Issue
Block a user