diff options
author | jimpop@template.hostname <> | 2015-11-04 22:49:05 +0000 |
---|---|---|
committer | jimpop@template.hostname <> | 2015-11-04 22:49:05 +0000 |
commit | b8811f8fc2d9bd27d1963c000ddaf05d951b5bda (patch) | |
tree | b3447d4398422a86c259280b86f3f3e2b7c2b973 /Mailman/Handlers/SpamDetect.py | |
parent | a777ae450ed966ca75f22c140fee938c5fd37996 (diff) | |
download | mailman2-b8811f8fc2d9bd27d1963c000ddaf05d951b5bda.tar.gz mailman2-b8811f8fc2d9bd27d1963c000ddaf05d951b5bda.tar.xz mailman2-b8811f8fc2d9bd27d1963c000ddaf05d951b5bda.zip |
Improvements based on feedback from Mark Sapiro
https://code.launchpad.net/~jimpop/mailman/mailman-auto-mod-verbose-members/+merge/276706/comments/699744
Diffstat (limited to 'Mailman/Handlers/SpamDetect.py')
-rw-r--r-- | Mailman/Handlers/SpamDetect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/SpamDetect.py b/Mailman/Handlers/SpamDetect.py index 6c10bb65..509e1e6e 100644 --- a/Mailman/Handlers/SpamDetect.py +++ b/Mailman/Handlers/SpamDetect.py @@ -123,7 +123,7 @@ error, contact the mailing list owner at %(listowner)s.""")) elif mlist.dmarc_moderation_action == 4: raise Errors.DiscardMessage - if Utils.IsVerboseMember(mlist, addr): + if mlist.member_verbosity_threshold > 0 and Utils.IsVerboseMember(mlist, addr): mlist.setMemberOption(addr, mm_cfg.Moderate, 1) syslog('vette', '%s: Automatically Moderated %s for verbose postings.', mlist.real_name, addr) |