5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] filtering problem
FromSent OnAttachments
J.Feb 27, 2007 11:03 am 
moussFeb 28, 2007 4:22 pm 
J.Feb 28, 2007 9:30 pm 
moussMar 1, 2007 2:40 pm 
J.Mar 1, 2007 4:25 pm 
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 problemActions...
From:mouss (mlis@free.fr)
Date:Mar 1, 2007 2:40:26 pm
List:net.sourceforge.lists.courier-maildrop

J. wrote:

I've been meaning to learn how to write SA rules, but...you know how it goes.

<off topic> create a file named myrules.cf (it can have any name, but must have .cf as a suffix) that contains something like

body SWEEPINGGOAR_1 /NationalGiftGroup/ score SWEEPINGGOAR_1 5

(5 is really too much here, but I am just giving an example that implements one of your maildrop rules)

put the file in the directory where spamassassin reads its rules. common places are /etc/spamassassin/, /usr/local/etc/spamassassin/, /usr/pkg/etc/spamassassin/. It's a directory that contains a file named "local.cf" (among other files).

don't forget to restart whatever service needs to read this file (amavisd, spamd, ..., dpending on how you run spamassassin).

</off topic>

Here's a header from a message that ended up in the total garbage folder:

so I see no X-Spam-Level header there. maybe the message matches some of your rules. In particular, the QCPC rule seems risky...

Try using if ( /X-Spam-Status: Yes/ ) ... (well, you lose per-user score limit, but do you really need that?).

you can run maildrop (manually) with -V to see what it does # maildrop -V 6 -d fo@example.com < message.eml