SpamAssassin & Sieve?

Ron Roskens roskens at colltech.com
Sat Nov 23 11:05:24 EST 2002


On Sat, 23 Nov 2002 +archive.info-cyrus at utdallas.edu wrote:

> Date: Sat, 23 Nov 2002 09:02:00 -0600
> From: +archive.info-cyrus at utdallas.edu
> To: info-cyrus at lists.andrew.cmu.edu
> 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





More information about the Info-cyrus mailing list