[exim] exim4 not using spamd or clamd

Top Page
Delete this message
Reply to this message
Author: Jason Fisher
Date:  
To: exim-users
Subject: [exim] exim4 not using spamd or clamd
Hi. First post. My apologies if I'm doing this incorrectly.

I've been using Exim4, Clamav, and Spamassassin for an smtp gateway for
sometime now on a Debian box. I just finished building an Ubuntu Gutsy
box and after installing exim4-daemon-heavy and the necessary clamav and
spamassassin packages, I can't get exim4 to scan messages with clamd or
spamd. I have av_scanner = clamd:/tmp/clamd and spamd_address =
127.0.0.1 783. I had tried av_scanner = clamd:/var/run/clamav/clamd.ctl
first. I have CHECK_DATA_LOCAL_ACL_FILE set to a file containing these
lines:

deny message = This message contains a virus: ($malware_name) please
scan your system.
     demime = *
     malware = */defer_ok


warn message = X-Filter-Spam-Score: $spam_score ($spam_bar)
     condition = ${if <{$message_size}{80k}{1}{0}}
     spam = Debian-exim:true


warn message = X-Filter-Spam-Report: $spam_report
     condition = ${if <{$message_size}{80k}{1}{0}}
     spam = Debian-exim:true


deny message = Spam score too high ($spam_score)
     !acl = acl_whitelist_local_deny
     condition = ${if <{$message_size}{80k}{1}{0}}
     spam = Debian-exim:true/defer_ok
     condition = ${if >{$spam_score_int}{50}{1}{0}}


Exim4 is sending and receiving messages correctly, but, I'm getting no
added headers and no log entries indicating any activity by clamd or
spamd. Any advice would be greatly appreciated.

Sincerely,

Jason