summaryrefslogtreecommitdiffstats
path: root/debian/patches/postfix-dup-postconf.patch
blob: 2531bb12e9cbf20ead664869b112cc4a6ab39eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 <wietse@porcupine.org>
Last-Update: 2021-11-15

Index: postfix/src/smtpd/smtpd.c
===================================================================
--- postfix.orig/src/smtpd/smtpd.c
+++ postfix/src/smtpd/smtpd.c
@@ -6391,7 +6391,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,