aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Gui/Privacy.py
diff options
context:
space:
mode:
authorJim Popovitch <jimpop@domainmail.org>2018-11-30 22:53:02 +0000
committerJim Popovitch <jimpop@domainmail.org>2018-11-30 22:53:02 +0000
commita6a9e9960a6e300630ee46b04831850d0bfec50d (patch)
treef1005e523d0598e6cd5e6ba1cccf39df8c4dcab5 /Mailman/Gui/Privacy.py
parentd03507def644416adf753098173220be6f75c137 (diff)
downloadmailman2-a6a9e9960a6e300630ee46b04831850d0bfec50d.tar.gz
mailman2-a6a9e9960a6e300630ee46b04831850d0bfec50d.tar.xz
mailman2-a6a9e9960a6e300630ee46b04831850d0bfec50d.zip
Patch for dmarc_moderation_addresses to automatically apply dmarc_moderation_action against a regexp of addresess
Diffstat (limited to 'Mailman/Gui/Privacy.py')
-rw-r--r--Mailman/Gui/Privacy.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py
index 4df63da1..e171389f 100644
--- a/Mailman/Gui/Privacy.py
+++ b/Mailman/Gui/Privacy.py
@@ -356,6 +356,18 @@ class Privacy(GUIBase):
be sent to anyone who posts to this list from a domain
with a DMARC Reject%(quarantine)s Policy.""")),
+ ('dmarc_moderation_addresses', mm_cfg.EmailListEx, (10, WIDTH), 1,
+ _("""List of addresses (or regexps) whose posts should always apply
+ <a href="?VARHELP=privacy/sender/dmarc_moderation_action"
+ >dmarc_moderation_action</a>
+ regardless of any domain specific DMARC Policy."""),
+
+ _("""Postings from any of these members will automatically
+ apply DMARC action mitigation.
+
+ <p>Add member addresses one per line; start the line with a ^
+ character to designate a regular expression match.""")),
+
('dmarc_wrapped_message_text', mm_cfg.Text, (10, WIDTH), 1,
_("""If dmarc_moderation_action applies and is Wrap Message,
and this text is provided, the text will be placed in a