[CentOS] Use postfix and spamd on CentOS 6 - looking for a shortest guide
Alexander Farber
alexander.farber at gmail.com
Tue Aug 12 09:04:18 UTC 2014
Hello again,
here is my solution on how to use Postfix + Spamassassin on CentOS in 4
steps:
1) yum install spamassassin
2) useradd spam
3) Add the following line to /etc/postfix/header_checks:
/^Subject: \[SPAM\]/ DISCARD
4) Add the following lines to /etc/postfix/master.cf:
smtp inet n - n - - smtpd -o content_filter=spamassassin
spamassassin unix - n n - - pipe user=spam argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
More details:
http://serverfault.com/questions/619537/use-postfix-and-spamassassin-packages-on-centos-6-to-reject-spam-without-custo
Regards
Alex
More information about the CentOS
mailing list