From d8d784da666f6cd366f08a2a87bff73b3762e3fd Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 2 May 2014 20:26:03 -0700 Subject: Make dmarc_quarantine_moderaction_action a list setting. --- Mailman/Gui/Privacy.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'Mailman/Gui/Privacy.py') diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py index 477304c6..7f1e12f3 100644 --- a/Mailman/Gui/Privacy.py +++ b/Mailman/Gui/Privacy.py @@ -159,7 +159,7 @@ class Privacy(GUIBase): adminurl = mlist.GetScriptURL('admin', absolute=1) - if mm_cfg.DMARC_QUARANTINE_MODERATION_ACTION: + if mlist.dmarc_quarantine_moderation_action: quarantine = _('/Quarantine') else: quarantine = '' @@ -269,6 +269,23 @@ class Privacy(GUIBase): if the message is From: an affected domain and the setting is other than Accept.""")), + ('dmarc_quarantine_moderation_action', mm_cfg.Radio, + (_('No'), _('Yes')), 0, + _("""Shall the above dmarc_moderation_action apply to messages + From: domains with DMARC p=quarantine as well as p=reject"""), + + _("""

If a message is From: a domain with DMARC p=quarantine + and dmarc_moderation_action is not applied (this set to No) + the message will likely not bounce, but will be delivered to + recipients' spam folders or other hard to find places.""")), + ('dmarc_moderation_notice', mm_cfg.Text, (10, WIDTH), 1, _("""Text to include in any