Re: [bitfolk] SpamAssassin with exim4 on Ubuntu

Top Page

Reply to this message
Author: Dominic Cleal
Date:  
To: users
Subject: Re: [bitfolk] SpamAssassin with exim4 on Ubuntu
On Wednesday 16 September 2009 11:44:19 Robert Leverington wrote:
> Currently I have done the following in attempting to configure my mail
> server to use SpamAssassin, per the documentation at [1]:
> - Replace exim4-daemon-light with exim4-daemon-heavy
> - Add "spamd_address = 212.13.194.5 783" to
> /etc/exim4/exim4.conf.template.


You're missing adding the call to SpamAssassin in your DATA ACL - see the next
section in the Exim documentation that you linked to. There's a commented
out example in the acl_check_data ACL in the template file, or
acl/40_exim4-config_check_data in the split config.

I also exclude authenticated users from the scan, which neatly avoids scanning
outbound mail in most cases with the extra condition line:

warn
!authenticated = *
spam = Debian-exim:true
message = X-Spam_score: $spam_score\n\
X-Spam_score_int: $spam_score_int\n\
X-Spam_bar: $spam_bar\n\
X-Spam_report: $spam_report

Cheers,

-- 
Dominic Cleal
dominic@???