[Pkg-exim4-users] Exim4 options for Spamassassin

Ross Boylan ross at biostat.ucsf.edu
Tue Jul 11 04:58:09 UTC 2006


On Tue, Jul 11, 2006 at 12:05:42AM -0400, Bill Horne wrote:
...
> Thanks for the info: I use exiscan, and I've confirmed that SA is
> adding 

you mean you've done something special to add exiscan, or that you're
using a recent exim4-daemon-heavy, which has it built in?

> the X-Spam-Report header, because when I change the 
> clear_report_template in /usr/share/spamassassin/10_misc.cf, the
> changes 

At least as I have things setup  (with daemon-heavy), the report
template in spamassassin does affect the report, but it is still exim
itself that inserts it.  The contents of the report go in
$spam_report, and then code in an ACL writes this into the headers.

See the content scanning section of the exim spec.

> are shown on subsequent emails. However, the /etc/spamassassin/local.cf 
> file doesn't seem to override the defaults: I have, as I said, a command 
> "remove_header ham Report" in local.cf, but it's not effective, so I'm 
> trying to figure out what's overriding it.

Whatever user spamassassin is running as may have local overrides in
place; if so, it won't matter what's in /etc.

Check which user you are running as.  In the acl there will be a line
like " spam = user".  If you always get reports, you may have "spam =
user:true". 

There is then the additional question of spamc/spamd interaction.
spamd might be running permanently as another user than the one you
specify in the ACL.  If whatever user spamd runs as has a local
configuration for reports, it won't matter what's in /etc.

> 
> I'm running Exim4-daemon-heavy, with a stock Debian Sarge install and 
> split config files: it was a network install I did about two months ago.
> 

Exactly how did you hook up spamassassin?

I've just setup exim and spamassassin, and everything seems to be
working OK for me.

Ross



More information about the Pkg-exim4-users mailing list