2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-30 05:38:06 +00:00

postfix-3.4-20180827

This commit is contained in:
Wietse Venema 2018-08-27 00:00:00 -05:00 committed by Viktor Dukhovni
parent c8e31ae510
commit 8b3a0bab4b
18 changed files with 96 additions and 20 deletions

View File

@ -23708,3 +23708,8 @@ Apologies for any names omitted.
(default: 12288). Viktor Dukhovni. Files: mantools/postlink,
proto/postconf.proto, global/mail_params.h, smtpd/smtpd.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.

View File

@ -104,11 +104,15 @@ Notes:
* 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
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 "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
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
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
sends the END-OF-DATA command.
Postfix 2.2 and later, it specifies the actual message size after the
client sends the END-OF-MESSAGE.
* The "sasl_*" attributes (Postfix 2.2 and later) specify information about
how the client was authenticated via SASL. These attributes are empty in

View File

@ -143,12 +143,16 @@ server_port=54321
<li> <p> 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 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)
is non-zero only in the "DATA" and "END-OF-MESSAGE" stages. It
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
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
that the client 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 sends the END-OF-DATA
command.
the actual message size after the client sends the END-OF-MESSAGE.
</p>
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify

View File

@ -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>
<p> The default amount of delay that is inserted between individual
deliveries to the same destination; the resulting behavior depends
on the value of the corresponding per-destination recipient limit.
deliveries to the same destination. If non-zero, all deliveries to
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>
<ul>

View File

@ -1449,8 +1449,11 @@ is the master.cf name of the message delivery transport.
This feature is available in Postfix 2.5 and later.
.SH default_destination_rate_delay (default: 0s)
The default amount of delay that is inserted between individual
deliveries to the same destination; the resulting behavior depends
on the value of the corresponding per\-destination recipient limit.
deliveries to the same destination. If non\-zero, all deliveries to
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
With a corresponding per\-destination recipient limit >
1, the rate delay specifies the time between deliveries to the

View File

@ -143,12 +143,16 @@ server_port=54321
<li> <p> 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 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)
is non-zero only in the "DATA" and "END-OF-MESSAGE" stages. It
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
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
that the client 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 sends the END-OF-DATA
command.
the actual message size after the client sends the END-OF-MESSAGE.
</p>
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify

View File

@ -13321,8 +13321,12 @@ name is the master.cf name of the message delivery transport. </p>
%PARAM default_destination_rate_delay 0s
<p> The default amount of delay that is inserted between individual
deliveries to the same destination; the resulting behavior depends
on the value of the corresponding per-destination recipient limit.
deliveries to the same destination. If non-zero, all deliveries to
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>
<ul>

View File

@ -47,6 +47,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
/* System library.*/

View File

@ -43,6 +43,11 @@ extern const char *str_ehlo_mask(int);
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
#endif

View File

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

View File

@ -166,6 +166,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
/* System library. */

View File

@ -62,6 +62,11 @@ extern void smtp_vprintf(VSTREAM *, const char *, va_list);
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
#endif

View File

@ -52,6 +52,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
/* System library. */

View File

@ -89,6 +89,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* 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.
*/
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,
STR(session->sasl_reply));
VSTRING_RESET(session->sasl_reply); /* no deferred initial reply */

View File

@ -65,6 +65,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
/* System library. */

View File

@ -37,4 +37,9 @@ extern void smtpd_chat_notify(SMTPD_STATE *);
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/

View File

@ -140,6 +140,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
/* System library. */

View File

@ -100,6 +100,11 @@
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*
/* Wietse Venema
/* Google, Inc.
/* 111 8th Avenue
/* New York, NY 10011, USA
/*--*/
/* System library. */