Maybe I'm just clueless, but I'm having a bit of trouble getting
header_filter_rules working. Before I go searching deeper, I want to
make sure my python regex is correct. I'm not much of a python hack...

The regex I've got in header_filter_rules is:

^Subject: \[SPAM\]

An example header line that this should catch, but doesn't is:

Subject: [SPAM] (9.10/5.00) Settlement Notice 

Obviously, I'm trying to catch messages that the MTA has already tagged
as spam via SpamAssassin and discard them. But they get trapped and held
as "Post by non-member to a members-only list" just like if I didin't
have anything in the header_filter_rules. 

Either my regex isn't matching the way I understand python regex's to
work (which is entirely based on a quick scan of the manpage), or the
"non-member" filter is triggering before the SpamDetect handler for some
reason. 

Sadly, the debug capabilities with the new header_filter_rules feature
as of 2.1.4 are pretty limited (nonexistent). I've modified logging a
bit to at least log something meaningful in vette when there is a match,
but I can't seem to get anything to match to verify that even that is
working.

-- 
Eric D. Christensen <[EMAIL PROTECTED]>
Proadmin, Inc.


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to