Control: tags -1 upstream patch

On 2021-11-15 03:25:10 +0100, Vincent Lefevre wrote:
> zira:~> postconf | grep '^bounce_notice_recipient'
> bounce_notice_recipient = postmaster
> bounce_notice_recipient = postmaster

Attached Wietse Venema's patch from
  https://marc.info/?l=postfix-users&m=163698504624352&w=2

  Bugfix (introduced: 20210708): duplicate bounce_notice_recipient
  entries in postconf output. The fix to send SMTP session
  transcripts to bounce_notice_recipient was incomplete.
  Reported by Vincent Lefevre. File: smtpd/smtpd.c.

I've tested it and everything is OK.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Description: Fix duplicate bounce_notice_recipient entries in postconf output.
 Bug introduced on 2021-07-08. Reported by Vincent Lefevre.
 https://marc.info/?l=postfix-users&m=163698504624352&w=2
Bug-Debian: https://bugs.debian.org/999694
Author: Wietse Venema <wie...@porcupine.org>
Last-Update: 2021-11-15

Index: postfix-3.5.13/src/smtpd/smtpd.c
===================================================================
--- postfix-3.5.13.orig/src/smtpd/smtpd.c
+++ postfix-3.5.13/src/smtpd/smtpd.c
@@ -6419,7 +6419,7 @@ int     main(int argc, char **argv)
 	VAR_EOD_CHECKS, DEF_EOD_CHECKS, &var_eod_checks, 0, 0,
 	VAR_MAPS_RBL_DOMAINS, DEF_MAPS_RBL_DOMAINS, &var_maps_rbl_domains, 0, 0,
 	VAR_RBL_REPLY_MAPS, DEF_RBL_REPLY_MAPS, &var_rbl_reply_maps, 0, 0,
-	VAR_BOUNCE_RCPT, DEF_ERROR_RCPT, &var_bounce_rcpt, 1, 0,
+	VAR_BOUNCE_RCPT, DEF_BOUNCE_RCPT, &var_bounce_rcpt, 1, 0,
 	VAR_ERROR_RCPT, DEF_ERROR_RCPT, &var_error_rcpt, 1, 0,
 	VAR_REST_CLASSES, DEF_REST_CLASSES, &var_rest_classes, 0, 0,
 	VAR_CANONICAL_MAPS, DEF_CANONICAL_MAPS, &var_canonical_maps, 0, 0,

Reply via email to