You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ronnie Tartar <rt...@SYMBIOSTECH.com> on 2004/04/12 01:26:21 UTC

Postfix/SpamAssassin configuration

I can't seem to get postfix to send the mails through spamassassin.  I
thought it was, but I did the test where I entered the following in the
local.cf file.  Mail still comes through no problem.
 
header    L_TO_ME   ToCc =~ /rtartar\@symbiostech\.com\.edu\.au/
describe  L_TO_ME   Email addressed to me
score     L_TO_ME   0.010

I added the following lines to my master.cf postfix file:

smtp      inet  n       -       n       -       -       smtpd
        -o smtd_recipient_restrictions=permit_mynetworks,check_relay_domains
        -o content_filter=spamassassin

And:

spamassassin    unix    -       n       n       -       -       pipe
        user=nobody argv=/usr/local/bin/spamc -f -e
        /usr/sbin/sendmail -oi -f ${sender} ${recipient}

Any suggestions would be helpful.

Thanks in advance.


Re: Postfix/SpamAssassin configuration

Posted by Per Jessen <pe...@computer.org>.
Ronnie Tartar wrote:

> Any suggestions would be helpful.

http://jessen.ch/articles/spamassassin-and-postfix/


/Per Jessen, Zurich