From 3bfbf056d4a39c61e7670529b8075a0c4f24e474 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 26 Aug 2020 10:32:16 +0200 Subject: [PATCH] make sure we do not spam list owners with unrecognized bounce notifications --- roles/email/files/mailman-check | 2 ++ roles/email/templates/mm_cfg.py | 1 + 2 files changed, 3 insertions(+) diff --git a/roles/email/files/mailman-check b/roles/email/files/mailman-check index 5894a1e..09d2d00 100755 --- a/roles/email/files/mailman-check +++ b/roles/email/files/mailman-check @@ -14,5 +14,7 @@ if mlist.generic_nonmember_action == 2: print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"is prone to backscatter spam due to reject notifications" if mlist.generic_nonmember_action == 1 and mlist.respond_to_post_requests: print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"is prone to backscatter spam due to hold notifications" +if mlist.bounce_unrecognized_goes_to_list_owner: + print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"may spam the owner with unrecognized bounce notifications" EOF done diff --git a/roles/email/templates/mm_cfg.py b/roles/email/templates/mm_cfg.py index 89dd0d8..2b9c451 100644 --- a/roles/email/templates/mm_cfg.py +++ b/roles/email/templates/mm_cfg.py @@ -121,6 +121,7 @@ DEB_LISTMASTER = '{{postfix.postmaster}}' DEFAULT_ARCHIVE = Off DEFAULT_MAX_MESSAGE_SIZE = 1024 # KB DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 100 +DEFAULT_BOUNCE_UNRECOGNIZED_GOES_TO_LIST_OWNER = No # footer DEFAULT_MSG_FOOTER = """{{postfix.mailman.default_footer}}""" -- 2.30.2