Re: [Mailman-Users] Site-Wide SPAM rejection confusion...
Dan Mick (dmick@utopia.West.Sun.COM) said something that sounded like:
First, it appears that I got the header SPAM prevention done correctly. Unfortunately I can't get the message body SPAM prevention done correctly. If I have something like the following: ('None', 'Snowhite was turning'), within the KNOWN_SPAMMERS area, it doesn't discard the SPAM. Am I missing something very basic?
Yes, and so did I at first.
Don't quote the None. None is a magic "no object" item; the comparison is "if header is None", not "if header is 'None'".
Dan Mick (dmick@utopia.West.Sun.COM) said something that sounded like:
First, it appears that I got the header SPAM prevention done correctly. Unfortunately I can't get the message body SPAM prevention done correctly. If I have something like the following: ('None', 'Snowhite was turning'), within the KNOWN_SPAMMERS area, it doesn't discard the SPAM. Am I missing something very basic? Yes, and so did I at first. Don't quote the None. None is a magic "no object" item; the comparison is "if header is None", not "if header is 'None'".
Doh! How odd to change it like that.
Ciao,
-- Pug Bainter | AMD, Inc. System Engineer, MTS | Mail Stop 625 Pug.Bainter@amd.com | pug@pug.net | 5900 E. Ben White Blvd Phone: (512) 602-0364 | Fax: (512) 602-6970 | Austin, TX 78741 Note: The views may not reflect my employers, or even my own for that matter.
participants (2)
-
Dan Mick -
Pug Bainter