From 6d0614d1b0d227b867b47ad133f7c8d2943d52f1 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 23 Jan 2015 17:35:45 -0800 Subject: Implemented dmarc_wrapped_message_text to optionally add an explanitory text/plain part to a message wrapped via dmarc_moderation_action. --- Mailman/Gui/Privacy.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Mailman/Gui') diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py index 905532ae..e6a2fd82 100644 --- a/Mailman/Gui/Privacy.py +++ b/Mailman/Gui/Privacy.py @@ -301,6 +301,20 @@ class Privacy(GUIBase): >rejection notice to be sent to anyone who posts to this list from a domain with a DMARC Reject%(quarantine)s Policy.""")), + + ('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 + separate text/plain MIME part preceding the original message + part in the wrapped message."""), + + _("""A wrapped message will either be a multipart/mixed message + with up to four sub-parts; a text/plain part containing + msg_header, a text/plain part containing + dmarc_wrapped_message_text, a message/rfc822 part containing the + original message and a text/plain part containing msg_footer, or + a message/rfc822 message containing only the original message if + none of the other parts are applicable.""")), ('equivalent_domains', mm_cfg.Text, (10, WIDTH), 1, _("""A 'two dimensional' list of email address domains which are -- cgit v1.2.3