Exim & SpamAssassin not detecting spam
Software Used-------------------------------------------
Linux OS: RedHat 9
Control Panel: DirectAdmin 1.22.1
Email MTA: Exim 4.24
Filtering: SpamAssassin 2.55
-------------------------------------------
I followed the directions on the email forum at directadmin.com/forum as outlined by the DirectAdmin support for installing and starting SpamAssassin, but after I do so SpamAssassin does start but for some reason no incoming email is scanned or contains X-SPAM: in the headers. It's as if the exim process and spamd processes are running, but seperate of each other without being involved in scanning for spam. Here is what I did.
# cd /usr/local/directadmin/scripts
# ./spam.sh
* <back up exim.conf>
# nano /etc/exim.conf
* make changes according tot he other thread by uncommenting the spam assassin area.
...
# Spam Assassin
spamcheck_director:
driver = accept
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } $
retry_use_local_part
transport = spamcheck
no_verify
...
# spamd -d
# service exim restart
I then send sample emails from other isp's and domains and the headers do not show any spamassassin scanning and that is proven when I check the process/service list and nothing is shown about spam assassin.
Here is my output for when installing spam assassin.
Am I doing something wrong? Help!
Bradley