diff options
author | Mark Sapiro <mark@msapiro.net> | 2014-05-02 20:26:03 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2014-05-02 20:26:03 -0700 |
commit | d8d784da666f6cd366f08a2a87bff73b3762e3fd (patch) | |
tree | 381b872307f46226eb6f5e54ccad8735bf902462 /Mailman/Handlers/Moderate.py | |
parent | 094580a732b2b7f66c09cde3739421452db481fa (diff) | |
download | mailman2-d8d784da666f6cd366f08a2a87bff73b3762e3fd.tar.gz mailman2-d8d784da666f6cd366f08a2a87bff73b3762e3fd.tar.xz mailman2-d8d784da666f6cd366f08a2a87bff73b3762e3fd.zip |
Make dmarc_quarantine_moderaction_action a list setting.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/Moderate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Moderate.py b/Mailman/Handlers/Moderate.py index 55f5da21..096eedce 100644 --- a/Mailman/Handlers/Moderate.py +++ b/Mailman/Handlers/Moderate.py @@ -54,7 +54,7 @@ def process(mlist, msg, msgdata): msgdata['from_is_list'] = 0 dn, addr = parseaddr(msg.get('from')) if addr and mlist.dmarc_moderation_action > 0: - if Utils.IsDMARCProhibited(addr): + if Utils.IsDMARCProhibited(mlist, addr): # Note that for dmarc_moderation_action, 0 = Accept, # 1 = Munge, 2 = Wrap, 3 = Reject, 4 = Discard if mlist.dmarc_moderation_action == 1: |