Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2007 00:13:31 +0200
From:      Peter Boosten <peter@boosten.org>
To:        Eric Crist <mnslinky@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Postfix/SpamAssassin Guru?
Message-ID:  <46CF580B.5090706@boosten.org>
In-Reply-To: <79C0FC51-664A-46FA-A56F-146F32ABC2AD@gmail.com>
References:  <50DA0D96-3321-4ED0-AC2B-65AB65D62BAC@gmail.com>	<20070824095900.CF34.GERARD-SEIBERT@seibercom.net> <79C0FC51-664A-46FA-A56F-146F32ABC2AD@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Eric Crist wrote:
> On Aug 24, 2007, at 9:05 AMAug 24, 2007, Gerard wrote:
> 
>> On August 24, 2007 at 09:32AM Eric Crist wrote:
>>
>>
> 
> I've got Postfix with Dovecot and virtual users setup.  What I'm looking
> for is some filtering based on the flags SpamAssassin sets, so that I
> can route any messages tagged as Spam to a Spam directory with a users
> maildir.  

Assuming you got SA running:
In my main.cf:
header_checks = regexp:/etc/postfix/header_checks


This is in my header_checks:

/^X-Spam-Flag: YES/     REDIRECT mailbox@you.desire


Peter
-- 
http://www.boosten.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46CF580B.5090706>