> -----Original Message-----
> From: John Weissberg [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2002 15:48
> To: [EMAIL PROTECTED]
> Subject: [SAtalk] Postfix set-up
> 
> 
> I am using Postfix as my MTA. I would love to have incoming 
> mail filtered
> by Spam Assassin. Can some explain how to modify Postfix master.cf or
> main.cf so as to invoke Spam Assassin for each incoming mail.
> 
Add to master.cf:

spam    unix    -       n       n       -       10      pipe    user=mail
argv=/usr/local/bin/spamfilter ${sender} ${recipient}

Add to main.cf:

content_filter = spam:

The 'spamfilter' script just has to take the mail as input & output the
modified mail as output (if it outputs
nothing the mail is ignored, so you can repost to a spamtrap account).  At a
minimum just calling 'spamc -f'
will work fine.

Tony

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to