From b291fddae14ea2e52874e643bac263375b00d708 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 11 Aug 2010 09:02:29 -0400 Subject: Expose anonymous_list and advertised in the IMailingList interface and in the configuration REST API. --- src/mailman/interfaces/mailinglist.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mailman/interfaces') diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index fba5d71ef..98f538dbe 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -110,6 +110,18 @@ class IMailingList(Interface): """Flag specifying whether to include any RFC 2369 header, including the RFC 2919 List-ID header.""") + anonymous_list = Attribute( + """Flag controlling whether messages to this list are anonymized. + + Anonymizing messages is not perfect, however setting this flag removes + the sender of the message (in the From, Sender, and Reply-To fields) + and replaces these with the list's posting address. + """) + + advertised = Attribute( + """Advertise this mailing list when people ask for an overview of the + available mailing lists.""") + # Contact addresses posting_address = Attribute( -- cgit v1.2.3-70-g09d2