mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-31 22:25:24 +00:00
postfix-3.4-20180827
This commit is contained in:
committed by
Viktor Dukhovni
parent
c8e31ae510
commit
8b3a0bab4b
@@ -23708,3 +23708,8 @@ Apologies for any names omitted.
|
|||||||
(default: 12288). Viktor Dukhovni. Files: mantools/postlink,
|
(default: 12288). Viktor Dukhovni. Files: mantools/postlink,
|
||||||
proto/postconf.proto, global/mail_params.h, smtpd/smtpd.c,
|
proto/postconf.proto, global/mail_params.h, smtpd/smtpd.c,
|
||||||
smtpd/smtpd_chat.c, smtpd/smtpd_chat.h, smtpd/smtpd_sasl_glue.c.
|
smtpd/smtpd_chat.c, smtpd/smtpd_chat.h, smtpd/smtpd_sasl_glue.c.
|
||||||
|
|
||||||
|
20180827
|
||||||
|
|
||||||
|
Miscellaneous documentation updates, and a correction in
|
||||||
|
the byte count for sending a large SASL initial response.
|
||||||
|
@@ -104,11 +104,15 @@ Notes:
|
|||||||
|
|
||||||
* The "recipient" attribute is available in the "RCPT TO" stage. It is also
|
* The "recipient" attribute is available in the "RCPT TO" stage. It is also
|
||||||
available in the "DATA" and "END-OF-MESSAGE" stages if Postfix accepted
|
available in the "DATA" and "END-OF-MESSAGE" stages if Postfix accepted
|
||||||
only one recipient for the current message.
|
only one recipient for the current message. The DATA protocol state also
|
||||||
|
applies to email that is received with BDAT commands (Postfix 3.4 and
|
||||||
|
later).
|
||||||
|
|
||||||
* The "recipient_count" attribute (Postfix 2.3 and later) is non-zero only in
|
* The "recipient_count" attribute (Postfix 2.3 and later) is non-zero only in
|
||||||
the "DATA" and "END-OF-MESSAGE" stages. It specifies the number of
|
the "DATA" and "END-OF-MESSAGE" stages. It specifies the number of
|
||||||
recipients that Postfix accepted for the current message.
|
recipients that Postfix accepted for the current message. The DATA protocol
|
||||||
|
state also applies to email that is received with BDAT commands (Postfix
|
||||||
|
3.4 and later).
|
||||||
|
|
||||||
* The remote client or local server IP address is an IPv4 dotted quad in the
|
* The remote client or local server IP address is an IPv4 dotted quad in the
|
||||||
form 1.2.3.4 or it is an IPv6 address in the form 1:2:3::4:5:6.
|
form 1.2.3.4 or it is an IPv6 address in the form 1:2:3::4:5:6.
|
||||||
@@ -132,8 +136,8 @@ Notes:
|
|||||||
|
|
||||||
* The "size" attribute value specifies the message size that the client
|
* The "size" attribute value specifies the message size that the client
|
||||||
specified in the MAIL FROM command (zero if none was specified). With
|
specified in the MAIL FROM command (zero if none was specified). With
|
||||||
Postfix 2.2 and later, it specifies the actual message size when the client
|
Postfix 2.2 and later, it specifies the actual message size after the
|
||||||
sends the END-OF-DATA command.
|
client sends the END-OF-MESSAGE.
|
||||||
|
|
||||||
* The "sasl_*" attributes (Postfix 2.2 and later) specify information about
|
* The "sasl_*" attributes (Postfix 2.2 and later) specify information about
|
||||||
how the client was authenticated via SASL. These attributes are empty in
|
how the client was authenticated via SASL. These attributes are empty in
|
||||||
|
@@ -143,12 +143,16 @@ server_port=54321
|
|||||||
<li> <p> The "recipient" attribute is available in the "RCPT
|
<li> <p> The "recipient" attribute is available in the "RCPT
|
||||||
TO" stage. It is also available in the "DATA" and "END-OF-MESSAGE"
|
TO" stage. It is also available in the "DATA" and "END-OF-MESSAGE"
|
||||||
stages if Postfix accepted only one recipient for the current
|
stages if Postfix accepted only one recipient for the current
|
||||||
message. </p>
|
message.
|
||||||
|
The DATA protocol state also applies to email that is received
|
||||||
|
with BDAT commands (Postfix 3.4 and later). </p>
|
||||||
|
|
||||||
<li> <p> The "recipient_count" attribute (Postfix 2.3 and later)
|
<li> <p> The "recipient_count" attribute (Postfix 2.3 and later)
|
||||||
is non-zero only in the "DATA" and "END-OF-MESSAGE" stages. It
|
is non-zero only in the "DATA" and "END-OF-MESSAGE" stages. It
|
||||||
specifies the number of recipients that Postfix accepted for
|
specifies the number of recipients that Postfix accepted for
|
||||||
the current message. </p>
|
the current message.
|
||||||
|
The DATA protocol state also applies to email that is received
|
||||||
|
with BDAT commands (Postfix 3.4 and later). </p>
|
||||||
|
|
||||||
<li> <p> The remote client or local server IP address is an
|
<li> <p> The remote client or local server IP address is an
|
||||||
IPv4 dotted quad in the form 1.2.3.4 or it is an IPv6 address
|
IPv4 dotted quad in the form 1.2.3.4 or it is an IPv6 address
|
||||||
@@ -176,8 +180,7 @@ server_port=54321
|
|||||||
<li> <p> The "size" attribute value specifies the message size
|
<li> <p> The "size" attribute value specifies the message size
|
||||||
that the client specified in the MAIL FROM command (zero if
|
that the client specified in the MAIL FROM command (zero if
|
||||||
none was specified). With Postfix 2.2 and later, it specifies
|
none was specified). With Postfix 2.2 and later, it specifies
|
||||||
the actual message size when the client sends the END-OF-DATA
|
the actual message size after the client sends the END-OF-MESSAGE.
|
||||||
command.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
|
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
|
||||||
|
@@ -2274,8 +2274,12 @@ is the <a href="master.5.html">master.cf</a> name of the message delivery transp
|
|||||||
(default: 0s)</b></DT><DD>
|
(default: 0s)</b></DT><DD>
|
||||||
|
|
||||||
<p> The default amount of delay that is inserted between individual
|
<p> The default amount of delay that is inserted between individual
|
||||||
deliveries to the same destination; the resulting behavior depends
|
deliveries to the same destination. If non-zero, all deliveries to
|
||||||
on the value of the corresponding per-destination recipient limit.
|
the same destination will happen one at a time. </p>
|
||||||
|
|
||||||
|
<p> The resulting behavior depends on the value of the corresponding
|
||||||
|
per-destination recipient limit.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
@@ -1449,8 +1449,11 @@ is the master.cf name of the message delivery transport.
|
|||||||
This feature is available in Postfix 2.5 and later.
|
This feature is available in Postfix 2.5 and later.
|
||||||
.SH default_destination_rate_delay (default: 0s)
|
.SH default_destination_rate_delay (default: 0s)
|
||||||
The default amount of delay that is inserted between individual
|
The default amount of delay that is inserted between individual
|
||||||
deliveries to the same destination; the resulting behavior depends
|
deliveries to the same destination. If non\-zero, all deliveries to
|
||||||
on the value of the corresponding per\-destination recipient limit.
|
the same destination will happen one at a time.
|
||||||
|
.PP
|
||||||
|
The resulting behavior depends on the value of the corresponding
|
||||||
|
per\-destination recipient limit.
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
With a corresponding per\-destination recipient limit >
|
With a corresponding per\-destination recipient limit >
|
||||||
1, the rate delay specifies the time between deliveries to the
|
1, the rate delay specifies the time between deliveries to the
|
||||||
|
@@ -143,12 +143,16 @@ server_port=54321
|
|||||||
<li> <p> The "recipient" attribute is available in the "RCPT
|
<li> <p> The "recipient" attribute is available in the "RCPT
|
||||||
TO" stage. It is also available in the "DATA" and "END-OF-MESSAGE"
|
TO" stage. It is also available in the "DATA" and "END-OF-MESSAGE"
|
||||||
stages if Postfix accepted only one recipient for the current
|
stages if Postfix accepted only one recipient for the current
|
||||||
message. </p>
|
message.
|
||||||
|
The DATA protocol state also applies to email that is received
|
||||||
|
with BDAT commands (Postfix 3.4 and later). </p>
|
||||||
|
|
||||||
<li> <p> The "recipient_count" attribute (Postfix 2.3 and later)
|
<li> <p> The "recipient_count" attribute (Postfix 2.3 and later)
|
||||||
is non-zero only in the "DATA" and "END-OF-MESSAGE" stages. It
|
is non-zero only in the "DATA" and "END-OF-MESSAGE" stages. It
|
||||||
specifies the number of recipients that Postfix accepted for
|
specifies the number of recipients that Postfix accepted for
|
||||||
the current message. </p>
|
the current message.
|
||||||
|
The DATA protocol state also applies to email that is received
|
||||||
|
with BDAT commands (Postfix 3.4 and later). </p>
|
||||||
|
|
||||||
<li> <p> The remote client or local server IP address is an
|
<li> <p> The remote client or local server IP address is an
|
||||||
IPv4 dotted quad in the form 1.2.3.4 or it is an IPv6 address
|
IPv4 dotted quad in the form 1.2.3.4 or it is an IPv6 address
|
||||||
@@ -176,8 +180,7 @@ server_port=54321
|
|||||||
<li> <p> The "size" attribute value specifies the message size
|
<li> <p> The "size" attribute value specifies the message size
|
||||||
that the client specified in the MAIL FROM command (zero if
|
that the client specified in the MAIL FROM command (zero if
|
||||||
none was specified). With Postfix 2.2 and later, it specifies
|
none was specified). With Postfix 2.2 and later, it specifies
|
||||||
the actual message size when the client sends the END-OF-DATA
|
the actual message size after the client sends the END-OF-MESSAGE.
|
||||||
command.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
|
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
|
||||||
|
@@ -13321,8 +13321,12 @@ name is the master.cf name of the message delivery transport. </p>
|
|||||||
%PARAM default_destination_rate_delay 0s
|
%PARAM default_destination_rate_delay 0s
|
||||||
|
|
||||||
<p> The default amount of delay that is inserted between individual
|
<p> The default amount of delay that is inserted between individual
|
||||||
deliveries to the same destination; the resulting behavior depends
|
deliveries to the same destination. If non-zero, all deliveries to
|
||||||
on the value of the corresponding per-destination recipient limit.
|
the same destination will happen one at a time. </p>
|
||||||
|
|
||||||
|
<p> The resulting behavior depends on the value of the corresponding
|
||||||
|
per-destination recipient limit.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
@@ -47,6 +47,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/* System library.*/
|
/* System library.*/
|
||||||
|
@@ -43,6 +43,11 @@ extern const char *str_ehlo_mask(int);
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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 "20180826"
|
#define MAIL_RELEASE_DATE "20180827"
|
||||||
#define MAIL_VERSION_NUMBER "3.4"
|
#define MAIL_VERSION_NUMBER "3.4"
|
||||||
|
|
||||||
#ifdef SNAPSHOT
|
#ifdef SNAPSHOT
|
||||||
|
@@ -166,6 +166,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/* System library. */
|
/* System library. */
|
||||||
|
@@ -62,6 +62,11 @@ extern void smtp_vprintf(VSTREAM *, const char *, va_list);
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -52,6 +52,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/* System library. */
|
/* System library. */
|
||||||
|
@@ -89,6 +89,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -374,7 +379,7 @@ int smtp_sasl_authenticate(SMTP_SESSION *session, DSN_BUF *why)
|
|||||||
* Defer the initial response if the resulting command exceeds the limit.
|
* Defer the initial response if the resulting command exceeds the limit.
|
||||||
*/
|
*/
|
||||||
if (LEN(session->sasl_reply) > 0
|
if (LEN(session->sasl_reply) > 0
|
||||||
&& strlen(mechanism) + LEN(session->sasl_reply) + 4 <= 512) {
|
&& strlen(mechanism) + LEN(session->sasl_reply) + 8 <= 512) {
|
||||||
smtp_chat_cmd(session, "AUTH %s %s", mechanism,
|
smtp_chat_cmd(session, "AUTH %s %s", mechanism,
|
||||||
STR(session->sasl_reply));
|
STR(session->sasl_reply));
|
||||||
VSTRING_RESET(session->sasl_reply); /* no deferred initial reply */
|
VSTRING_RESET(session->sasl_reply); /* no deferred initial reply */
|
||||||
|
@@ -65,6 +65,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/* System library. */
|
/* System library. */
|
||||||
|
@@ -37,4 +37,9 @@ extern void smtpd_chat_notify(SMTPD_STATE *);
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
@@ -140,6 +140,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/* System library. */
|
/* System library. */
|
||||||
|
@@ -100,6 +100,11 @@
|
|||||||
/* IBM T.J. Watson Research
|
/* IBM T.J. Watson Research
|
||||||
/* P.O. Box 704
|
/* P.O. Box 704
|
||||||
/* Yorktown Heights, NY 10598, USA
|
/* Yorktown Heights, NY 10598, USA
|
||||||
|
/*
|
||||||
|
/* Wietse Venema
|
||||||
|
/* Google, Inc.
|
||||||
|
/* 111 8th Avenue
|
||||||
|
/* New York, NY 10011, USA
|
||||||
/*--*/
|
/*--*/
|
||||||
|
|
||||||
/* System library. */
|
/* System library. */
|
||||||
|
Reference in New Issue
Block a user