summaryrefslogtreecommitdiff
path: root/Mailman/MailCommandHandler.py
diff options
context:
space:
mode:
authorbwarsaw2002-03-05 04:52:04 +0000
committerbwarsaw2002-03-05 04:52:04 +0000
commit9fa9d94184ea52264b5be9767ebc2c31abd4adb3 (patch)
tree09b1a59356bb76c0dc11f5eb40f248cd7553896b /Mailman/MailCommandHandler.py
parente9b78cfd715a2897aa065fb43fcbbc95cd05f17d (diff)
downloadmailman-9fa9d94184ea52264b5be9767ebc2c31abd4adb3.tar.gz
mailman-9fa9d94184ea52264b5be9767ebc2c31abd4adb3.tar.zst
mailman-9fa9d94184ea52264b5be9767ebc2c31abd4adb3.zip
Diffstat (limited to 'Mailman/MailCommandHandler.py')
-rw-r--r--Mailman/MailCommandHandler.py20
1 files changed, 13 insertions, 7 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py
index 3948b4c54..1e5572ea8 100644
--- a/Mailman/MailCommandHandler.py
+++ b/Mailman/MailCommandHandler.py
@@ -80,12 +80,17 @@ if you have a non-MIME compliant mail reader. When this option is turned off,
you get digests in MIME format, which are much better if you have a mail
reader that supports MIME.""")
-option_desc = {'hide' : HIDE,
- 'nomail' : NOMAIL,
- 'ack' : ACK,
- 'notmetoo': NOTMETOO,
- 'digest' : DIGEST,
- 'plain' : PLAIN,
+NODUPES = _("""When turned on, you do *not* receive list copies of message
+which have you as an explicit recipient (i.e. if you're both a member of the
+list and in either the To: or Cc: headers).""")
+
+option_desc = {'hide' : HIDE,
+ 'nomail' : NOMAIL,
+ 'ack' : ACK,
+ 'notmetoo' : NOTMETOO,
+ 'digest' : DIGEST,
+ 'plain' : PLAIN,
+ 'nodupes' : NODUPES,
}
# jcrey: and then the real one
@@ -97,10 +102,11 @@ option_info = {'hide' : mm_cfg.ConcealSubscription,
'notmetoo': mm_cfg.DontReceiveOwnPosts,
'digest' : 0,
'plain' : mm_cfg.DisableMime,
+ 'nodupes' : mm_cfg.DontReceiveDuplicates
}
# ordered list
-options = ('hide', 'nomail', 'ack', 'notmetoo', 'digest', 'plain')
+options = ('hide', 'nomail', 'ack', 'notmetoo', 'digest', 'plain', 'nodupes')
# strip just the outer layer of quotes
quotecre = re.compile(r'["\'`](?P<cmd>.*)["\'`]')