diff options
| -rw-r--r-- | Mailman/Defaults.py.in | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index e3007e643..0fe290c17 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -958,14 +958,6 @@ DEFAULT_BOUNCE_UNRECOGNIZED_GOES_TO_LIST_OWNER = 1 DEFAULT_BOUNCE_NOTIFY_OWNER_ON_DISABLE = 1 DEFAULT_BOUNCE_NOTIFY_OWNER_ON_REMOVAL = 1 -# List of addresses (lhs of the @) that likely come only from MTAs bouncing -# messages. This is used in the bounce detector and MailCommandHandler.py to -# stop processing or forwarding such messages. -# -# TBD: why orphanage? why postoffice? -LIKELY_BOUNCE_SENDERS = ('daemon', 'mailer-daemon', 'postmaster', - 'orphanage', 'postoffice') - ##### @@ -1082,6 +1074,16 @@ ReceiveNonmatchingTopics = 64 Moderate = 128 DontReceiveDuplicates = 256 +# A mapping between short option tags and their flag +OPTINFO = {'hide' : ConcealSubscription, + 'nomail' : DisableDelivery, + 'ack' : AcknowledgePosts, + 'notmetoo': DontReceiveOwnPosts, + 'digest' : 0, + 'plain' : DisableMime, + 'nodupes' : DontReceiveDuplicates + } + # Authentication contexts. # # Mailman defines the following roles: |
