From: Ralf Jung Date: Mon, 10 Aug 2020 07:00:09 +0000 (+0200) Subject: mailman-check: also make sure we avoid backscatter spam X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/ff0c67776a0e375febeddbf625e56a92415944b2?ds=inline;hp=65ce86070073854ddd409cfa987e58f33885e622 mailman-check: also make sure we avoid backscatter spam --- diff --git a/roles/email/files/mailman-check b/roles/email/files/mailman-check index 0a5d9de..5894a1e 100755 --- a/roles/email/files/mailman-check +++ b/roles/email/files/mailman-check @@ -10,5 +10,9 @@ if not ((mlist.dmarc_moderation_action in (1, 2) and mlist.dmarc_quarantine_mode print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"is not configured to deal with DMARC." if mlist.reply_goes_to_list != 0 and not mlist.first_strip_reply_to: print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"provides an inconsistent Reply-To treatment." +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" EOF done