RE: Centos 7 : Setup Spamassassin
02-25-2015, 04:27 AM
(This post was last modified: 02-25-2015, 04:29 AM by Untouchable.)
(02-24-2015, 09:07 PM)Smile Wrote: Thank you so mutch for this! But when i add the 2 lines to the master.cfg i dont getty any mail anymore.
On master.cf on line 11 default is
Code:
smtp inet n - n - - smtpd
After modification must be like this
Code:
smtp inet n - n - - smtpd -o content_filter=spamassassin
Also carefully on the end of master.cf add line
Code:
spamassassin unix - n n - - pipe flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Double check all lines - steps and dont forget to restart services!!!