On 26 Jan 2004 Klaus Johannes Rusch (KlausRusch(_at_)atmedia(_dot_)net) wrote:
Didier Casse wrote:
:0fw: spamassassin.lock
| /usr/bin/spamassassin
:0:
*^X-Spam-Status: Yes
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
${MAILDIR}/SPAM_DUMPSTER
How many stars do the message which get tagged but not moved have? Most
likely they have a lower score than 6, and therefore the third rule does
not match. You can see which rules match by turning on verbose logging
(VERBOSE=yes). You do not need to check both status and flag, one should
be enough and slightly faster.
I agree that checking only one of these SpamAssassin headers is
the most efficient. I use X-Spam-Level becaue I separate my
potential-spam messages into yellow, red, and infrared mailboxes
depending on the number of hits (stars). Also, you do not need to
explicitly mention the MAILDIR directory because Procmail has
already done a cd (change directory) to that directory. So given
all this, try this:
:0:
* ^X-Spam-Level: \*\*\*\*\*\*
SPAM_DUMPSTER
I discuss this (and a lot more) on my Procmail Quick Start in the
Using SpamAssassin section, which is here:
<http://www.ii.com/internet/robots/procmail/qs/#SA>
Hope this helps,
Nancy
--
Nancy McGough
Infinite Ink ~ <http://www.ii.com>
Deflexion & Reflexion (my atomized blog) ~ <http://deflexion.com>
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail