Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2007oct21 OS: Linux Distro: RedHat/Fedora/CentOS Q. How do I setup SpamAssassin for Postfix on my Fedora box? A. Install it. Like this:# dnf install spamassassinTweak the configuration. Make a user for it to run as:# useradd spamd # chsh -s /sbin/nologin spamdModify the config file (/etc/sysconfig/spamassassin) so it runs as this user:SPAMDOPTIONS="-u spamd -d -c -m5 -H" ^^^^^^^^ insert thisMake it run all the time:# chkconfig --level 2345 spamassassin onStart it:# systemctl start spamassassinNow the SpamAssassin daemon is up and running. Then there are a number of guide for hooking it into Postfix. I liked this one the best: http://www.xnote.com/howto/postfix-spamassassin.html because it is nice and simple. More Info: http://www.davekb.com/search.php?target=spamassassin
Add a commentSign in to add a comment