7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] filtering on Spamassa...
FromSent OnAttachments
PollywogJul 28, 2004 6:46 pm 
Michael BrennenJul 28, 2004 7:07 pm 
Ron JohnsonJul 28, 2004 7:14 pm 
Thorsten HaudeJul 29, 2004 2:30 pm 
PollywogJul 29, 2004 4:28 pm 
Ron JohnsonJul 30, 2004 1:57 am 
Thorsten HaudeJul 30, 2004 10:10 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] filtering on Spamassassin headersActions...
From:Ron Johnson (ron.@cox.net)
Date:Jul 28, 2004 7:14:42 pm
List:net.sourceforge.lists.courier-maildrop

On Wed, 2004-07-28 at 15:54 +0000, Pollywog wrote:

Sorry to have to ask such a basic question, but I am unable to find newbie documentation with examples. An example is worth 1000 words ;)

I am getting many spams with Spamassassin headers much like the one shown below:

X-Spam-Status: Yes, hits=8.4 required=3.0 tests=AWL,DEAR_SOMETHING,FROM_ENDS_IN_NUMS,MIME_LONG_LINE_QP, NIGERIAN_BODY,US_DOLLARS,US_DOLLARS_3 version=2.53

Is there a way to put each of the SA test headers in a file and have maildrop filter on the contents of the file?

I want to have a list similar to this:

AWL NIGERIAN BODY US_DOLLARS_3

To have a multi-line if() statement seems difficult. However, this works fine:

if ( /^X-Spam-Flag: YES/ ) { log "------------------------------------------ SPAM" to "Maildir/.Spam" }

"I want to have children and I know my time is running out: I want to have them while my parents are still young enough to take care of them." Rita Rudner