mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-22 09:57:34 +00:00
postfix-3.6-20210201
This commit is contained in:
parent
237852e831
commit
8765d8daef
@ -25383,3 +25383,8 @@ Apologies for any names omitted.
|
||||
global/mail_params.c, global/mail_params.h, smtpd/smtpd.c,
|
||||
smtpd/smtpd_check.c.
|
||||
|
||||
20210201
|
||||
|
||||
Flipped a bit in the smtpd_relay_before_recipient_restrictions
|
||||
implementation. File: smtpd/smtpd_check.c.
|
||||
|
||||
|
@ -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 "20210131"
|
||||
#define MAIL_RELEASE_DATE "20210201"
|
||||
#define MAIL_VERSION_NUMBER "3.6"
|
||||
|
||||
#ifdef SNAPSHOT
|
||||
|
@ -5102,7 +5102,7 @@ char *smtpd_check_rcpt(SMTPD_STATE *state, char *recipient)
|
||||
* at the end would have blocked the request.
|
||||
*
|
||||
* If warn_compat_break_relay_restrictions is true, always evaluate
|
||||
* smtpd_relay_restrictions last (rcpt_index == 1). The backwards
|
||||
* smtpd_relay_restrictions last (rcpt_index == 0). The backwards
|
||||
* compatibility warning says that it avoids blocking a recipient (with
|
||||
* "Relay access denied"); that is not useful information when moments
|
||||
* later, smtpd_recipient_restrictions blocks the recipient anyway (with
|
||||
@ -5110,7 +5110,7 @@ char *smtpd_check_rcpt(SMTPD_STATE *state, char *recipient)
|
||||
*/
|
||||
SMTPD_CHECK_RESET();
|
||||
rcpt_index = (var_relay_before_rcpt_checks
|
||||
|| warn_compat_break_relay_restrictions);
|
||||
&& !warn_compat_break_relay_restrictions);
|
||||
relay_index = !rcpt_index;
|
||||
|
||||
restrctions[rcpt_index] = rcpt_restrctions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user