sender filter should take precedence over spam filter

Bug #1625599 reported by Vseerror
6
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://bugzilla.mozilla.org/show_bug.cgi?id=1297763

Revision history for this message
Mark Sapiro (msapiro) wrote :

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')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('SpamDetect'), 'Moderate')

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.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.