PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 8 – Installation and Configuration of SpamAssassin Integration with Postfix
✳️ Code in this video: apt install spamassassin spamc -y groupadd spamd useradd -g spamd -s /usr/sbin/nologin -d /var/log/spamassassin -m spamd 📌 etc/default/spamassassin SAHOME="/var/log/spamassassin/" OPTIONS="--create-prefs --max-children 5 --username spamd --helper-home-dir ${SAHOME} -s ${SAHOME}spamd.log" PIDFILE="${SAHOME}spamd.pid" 📌 /etc/postfix/master.cf -o content_filter=spamassassin spamassassin unix - n n - - pipe user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} 📌 Subject for testing XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
Thank You !!!