To enable Spamassassin on your server, you need to first need to install it. Once installed a few minor changes are needed in your /etc/exim.conf file.
1) Install spamd and spamc:
|
cd /usr/local/directadmin/scripts |
2) Start the spamd:
|
/usr/bin/spamd -d -c -m 5 |
3) In order to get exim to use the spamd program, you'll need to make some changes in your /etc/exim.conf. Change:
|
# Spam Assassin |
|
# Spam Assassin |
Redhat:
|
/sbin/service exim restart |
|
/usr/local/etc/rc.d/exim restart |
|
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}} |
|
apt-get install perl-base perl-modules |