sender filter should take precedence over spam filter
Bug #1625599 reported by
Vseerror
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Undecided
|
Mark Sapiro |
Bug Description
Moderated list
In Privacy options...Sender Filters (privacy/sender) I put an email address X@Y.Z in "List of non-member addresses whose postings will be automatically discarded." to be rejected
In Privacy options...Spam Filters (privacy/spam) I have filters to match on spamassassin and other fields - in some cases to hold messages for moderation.
Messages from X@Y.Z that match a Spam Filter are not being rejected.
I detail this in https:/
To post a comment you must log in.
This is not a bug. It is a design decision.
If you want to do membership tests (moderation and non-member tests) before header filter rules, you can configure that by putting the following in mm_cfg.py.
GLOBAL_ PIPELINE. remove( 'Moderate' ) PIPELINE. insert( GLOBAL_ PIPELINE. index(' SpamDetect' ), 'Moderate')
GLOBAL_
You could also address this with a header_filter_rules rule of the form
regexp: ^From:. *\WX@Y\ .Z(\W|$ )
action: discard
ahead of your other rules.