Re: Use postfix and spamd on CentOS 6 - looking for a shortest guide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux