On Sat, 23 Nov 2002 [EMAIL PROTECTED] wrote:

> Date: Sat, 23 Nov 2002 09:02:00 -0600
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: SpamAssassin & Sieve?
>
> I guess slightly off-topic, but I was wondering if any folks on here are
> using SpamAssassin, and if so, what sort of Sieve scripts you're using on
> such tagged mail.  I know that recent releases of Sieve have a numeric
> comparator.  Are you using that somehow, or just a simple match on the
> "X-Spam-Level: ***" header?

I've been running SpamAssassin through amavisd-new and using sieve to
store messages tagged as spam in a seperate folder.

Here is the bit I use inside my sieve script. I use a stop because I don't
want the message to be proccessed past this point.

====
if allof (header :regex ["X-Spam-Flag"] "Yes") {
     fileinto "INBOX.store.spam";
     stop;
}
====

Elfin

Reply via email to