Hello all,

I am trying to stop a particular group of messages from going to several of my lists. I am looking at the Subject line of the message to do the filtering and I am using the header_filter_rules in Spam Filtering. My regex filter is:

     ^Subject:[\s\+]*\[.*\]\s+(Invitation|Canceled Event):.*

and the Subject lines I am trying to catch and reject the message look like:

     Subject: [MYLIST] Invitation: Test event @ Thu Feb 28,
             2013 10:00 - 11:00 ([email protected])

or

     Subject: [MYLIST] Canceled Event: Test event @ Thu Feb 28,
             2013 10:00 - 11:00 ([email protected])


I have set the action for the rule to reject, however, the messages still get 
posted to the list.

I have tested the regex above using the python interactive interpreter and the 
regex does match the various inputs used.

Can anyone tell me what the problem is with my regex?

Also, can any of the sender/recipient filters cause the message to bypass the 
spam filters?  The message pipeline is unchanged.

Thanks,
Chris

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to