Re: [Mailman-Users] Site-Wide SPAM rejection confusion...
Good Morning,
I recently started trying to figure out the site-wide SPAM handling in SpamDetect.py and I have a few questions.
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?
What's your exact syntax for that KNOWN_SPAMMERS line?
Second, should I have to build the SpamDetect.pyc file or is it supposed to be autobuilt? It isn't being autobuilt like the mm_cfg.pyc is.
It should be autobuilt. Maybe there's a bug in the Python and you're getting error logs?
Second, what is the 'spam' directory for? I couldn't find reference to it anywhere.
Seems to be an evolutionary dead-end. Never seen it used either.
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? What's your exact syntax for that KNOWN_SPAMMERS line?
Here we go:
KNOWN_SPAMMERS = [('from', 'hahaha@sexyfun.net'), ('subject', 'ndn:'), ('subject', 'rcpt:'), ('subject', 'delivery confirmation'), ('subject', 'non-delivery of:'), ('subject', 'undeliverable'), ('subject', 'receipt confirmation'), ('subject', 'failed mail' ), ('subject', 'returned mail'), ('subject', 'unable to deliver m ail'), ('subject', 'away from my mail'), ('subject', 'autoreply'), ('subject', 'cc:mail'), ('subject', 'ccmail'), ('subject', 'mail failure'), ('subject', 'autoresponse'), ('subject', 'delivery.*notification'), ('subject', 'printer to ner'), ('subject', 'error sending mail'), ('None', 'happy99'), ('None', 'ska.exe'), ('None', 'ska.dll'), ('None', 'yahoo.*auto response'), ('None', 'deliver failure re port'), ('None', 'deliver problem notification'), ('None', 'vacation r eply'), ('None', 'david ross'), ('None', 'mike bender'), ('None', 'twenty-two points, plus triple-word-score'), ('None', 'i received your email and I shall send you a reply a sap'), ('None', 'till then, take a look at the attached zipped docs') , ('None', 'urgent info inside. disregard macro warning.'), ('None', 'you have been infected with hiv'), ('None', 'Snowhit e was turning'), ('None', 'have fun with these links'), ('None', 'newsgroup autoposter 95'), ('None', 'www.xxxsizzle.c om'), ('None', 'www.gai.co.kr'), ('None', 'www.edemocracy.org'), ('None', 'http://www.jmls.edu/cyber/statutes/email/fedtable.ht ml'), ('None', 'freebizlinks.net'), ('None', 'laszouadszasd.com'), ('None', 'http://www.house.gov/writerep'), ('None', 'good luck totem'), ('None', 'if you forward to 11 pe ople'), ('None', 'benchmark supply'), ('None', 'toner cartridges'), ('None', 'printer toner'), ('None', '770-399-0953'), ('None', '800-725-2161'), ('None', '800-586-0540'), ('None', '888-532-7170'), ('None', '770-698-9700'), ('None', '888-532-8842'), ('None', '888-800-6339')]
Second, should I have to build the SpamDetect.pyc file or is it supposed to be autobuilt? It isn't being autobuilt like the mm_cfg.pyc is. It should be autobuilt. Maybe there's a bug in the Python and you're getting error logs?
No errors in the errorlog after I fixed a typo. I forgot a close paren.
From a google search I found that it gets autobuilt if it doesn't exist. I deleted it and it got autocreated.
Second, what is the 'spam' directory for? I couldn't find reference to it anywhere. Seems to be an evolutionary dead-end. Never seen it used either.
Got it.
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.
On Mon, Apr 30, 2001 at 06:11:53PM -0700, Dan Mick wrote:
Second, what is the 'spam' directory for? I couldn't find reference to it anywhere.
Seems to be an evolutionary dead-end. Never seen it used either.
When you reject a message, and check the box to keep a copy it goes in the spam directory IIRC.
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
participants (4)
-
barry@digicool.com
-
Dan Mick
-
Marc MERLIN
-
Pug Bainter