aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/CookHeaders.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2013-07-19 12:24:22 -0700
committerMark Sapiro <mark@msapiro.net>2013-07-19 12:24:22 -0700
commit037acd8e92f42f86f5086a570a23466c128fc480 (patch)
tree037f431c99cd1ee3b426e0825f36b7c4194d2684 /Mailman/Handlers/CookHeaders.py
parentca48001a003aa2f19602fac2b2037ec7b49a7061 (diff)
downloadmailman2-037acd8e92f42f86f5086a570a23466c128fc480.tar.gz
mailman2-037acd8e92f42f86f5086a570a23466c128fc480.tar.xz
mailman2-037acd8e92f42f86f5086a570a23466c128fc480.zip
Second cut at the author_is_list feature.
Diffstat (limited to '')
-rwxr-xr-xMailman/Handlers/CookHeaders.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py
index 7455dcc6..71534c11 100755
--- a/Mailman/Handlers/CookHeaders.py
+++ b/Mailman/Handlers/CookHeaders.py
@@ -160,7 +160,8 @@ def process(mlist, msg, msgdata):
# is already in From and Reply-To in this case and similarly for
# an 'author is list' list.
if mlist.personalize == 2 and mlist.reply_goes_to_list <> 1 \
- and not mlist.anonymous_list and not mlist.author_is_list:
+ and not mlist.anonymous_list and not (mlist.author_is_list and
+ mm_cfg.ALLOW_AUTHOR_IS_LIST):
# Watch out for existing Cc headers, merge, and remove dups. Note
# that RFC 2822 says only zero or one Cc header is allowed.
new = []