diff options
Diffstat (limited to 'Mailman/interfaces/mailinglist.py')
| -rw-r--r-- | Mailman/interfaces/mailinglist.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Mailman/interfaces/mailinglist.py b/Mailman/interfaces/mailinglist.py index 0bb176b96..d52a6f7b5 100644 --- a/Mailman/interfaces/mailinglist.py +++ b/Mailman/interfaces/mailinglist.py @@ -17,10 +17,26 @@ """Interface for a mailing list.""" +__all__ = [ + 'IMailingList', + 'ReplyToMunging', + ] + +from munepy import Enum from zope.interface import Interface, Attribute +class ReplyToMunging(Enum): + # The Reply-To header is passed through untouched + no_munging = 0 + # The mailing list's posting address is appended to the Reply-To header + point_to_list = 1 + # An explicit Reply-To header is added + explicit_header = 2 + + + class IMailingList(Interface): """A mailing list.""" |
