diff options
author | Jim Popovitch <jimpop@gmail.com> | 2013-03-03 03:04:37 -0500 |
---|---|---|
committer | Jim Popovitch <jimpop@gmail.com> | 2013-03-03 03:04:37 -0500 |
commit | 990f7226da9deb667e6b026ba7ae24ef728900c4 (patch) | |
tree | 380bac0ae34e7f0a02a84f0ad36b96bba425a1f4 /Mailman/Gui/Privacy.py | |
parent | ee4bef0ca47fa6c7b5f1874d254572667c12f164 (diff) | |
download | mailman2-990f7226da9deb667e6b026ba7ae24ef728900c4.tar.gz mailman2-990f7226da9deb667e6b026ba7ae24ef728900c4.tar.xz mailman2-990f7226da9deb667e6b026ba7ae24ef728900c4.zip |
Hold/Reject/Discard moderation support for Senders with a DMARC p=reject policy
Diffstat (limited to 'Mailman/Gui/Privacy.py')
-rw-r--r-- | Mailman/Gui/Privacy.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py index 75eff2b5..ae78b209 100644 --- a/Mailman/Gui/Privacy.py +++ b/Mailman/Gui/Privacy.py @@ -235,6 +235,30 @@ class Privacy(GUIBase): >rejection notice</a> to be sent to moderated members who post to this list.""")), + ('dmarc_moderation_action', mm_cfg.Radio, + (_('Hold'), _('Reject'), _('Discard')), 0, + _("""Action to take when anyone posts to the + list from a domain with a DMARC Reject Policy."""), + _("""<ul><li><b>Hold</b> -- this holds the message for approval + by the list moderators. + + <p><li><b>Reject</b> -- this automatically rejects the message by + sending a bounce notice to the post's author. The text of the + bounce notice can be <a + href="?VARHELP=privacy/sender/dmarc_moderation_notice" + >configured by you</a>. + + <p><li><b>Discard</b> -- this simply discards the message, with + no notice sent to the post's author. + </ul>""")), + + ('dmarc_moderation_notice', mm_cfg.Text, (10, WIDTH), 1, + _("""Text to include in any + <a href="?VARHELP/privacy/sender/dmarc_moderation_action" + >rejection notice</a> to + be sent to anyone who posts to this list from a domain + with DMARC Reject Policy.""")), + _('Non-member filters'), ('accept_these_nonmembers', mm_cfg.EmailListEx, (10, WIDTH), 1, |