Postfix/SpamAssassin Guru?

Peter Boosten peter at boosten.org
Fri Aug 24 15:37:47 PDT 2007



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 at you.desire


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


More information about the freebsd-questions mailing list