diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/CleanseDKIM.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/CleanseDKIM.py b/Mailman/Handlers/CleanseDKIM.py index 809bae9b..0df2d97f 100644 --- a/Mailman/Handlers/CleanseDKIM.py +++ b/Mailman/Handlers/CleanseDKIM.py @@ -31,9 +31,9 @@ from Mailman import mm_cfg def process(mlist, msg, msgdata): if not mm_cfg.REMOVE_DKIM_HEADERS: return - if (mm_cfg.ALLOW_AUTHOR_IS_LIST and + if (mm_cfg.ALLOW_FROM_IS_LIST and mm_cfg.REMOVE_DKIM_HEADERS == 1 and - mlist.author_is_list != 1): + mlist.from_is_list != 1): return del msg['domainkey-signature'] del msg['dkim-signature'] |