aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/CleanseDKIM.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2013-09-27 16:33:35 -0700
committerMark Sapiro <mark@msapiro.net>2013-09-27 16:33:35 -0700
commit5391cce1af71723b92bafc2419cec962f1e3ece3 (patch)
treee163c24a980fe14a202750c1a941c21700e0e346 /Mailman/Handlers/CleanseDKIM.py
parentdbddbe175aeeacc668d1c78e1619528c7e828f6d (diff)
downloadmailman2-5391cce1af71723b92bafc2419cec962f1e3ece3.tar.gz
mailman2-5391cce1af71723b92bafc2419cec962f1e3ece3.tar.xz
mailman2-5391cce1af71723b92bafc2419cec962f1e3ece3.zip
Made author_is_list a 3-way with an option to wrap the message.
Diffstat (limited to 'Mailman/Handlers/CleanseDKIM.py')
-rw-r--r--Mailman/Handlers/CleanseDKIM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/CleanseDKIM.py b/Mailman/Handlers/CleanseDKIM.py
index c492a096..809bae9b 100644
--- a/Mailman/Handlers/CleanseDKIM.py
+++ b/Mailman/Handlers/CleanseDKIM.py
@@ -33,7 +33,7 @@ def process(mlist, msg, msgdata):
return
if (mm_cfg.ALLOW_AUTHOR_IS_LIST and
mm_cfg.REMOVE_DKIM_HEADERS == 1 and
- not mlist.author_is_list):
+ mlist.author_is_list != 1):
return
del msg['domainkey-signature']
del msg['dkim-signature']