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.
+
* 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
* 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
*/
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;