exim4:clamd:spamd

Adam McGreggor lists at amyl.org.uk
Fri May 4 15:26:10 UTC 2007


On Thu, May 03, 2007 at 08:18:19PM -0500, Robert Steinmetz wrote:
> I am configuring a Ubuntu email server using exim4, heavy and want to 
> add spam checking and virus checking for incoming email. I have exim4 up 
> running receiving mail and sending mail. I have dovecot serving imap and 
> pop3 successfully, but I can't seem to get the internal exim4 mail 
> scanner to scan the incoming mail.
> 
> I have spamd and clamd running and they respond on the correct ports. I 
> have edited the template file and those changes are recognized. When I 
> run exim4 -bP and it recognized the location of the anti-virus and 
> anti-spam.

I hate the split-file config, so just use the old-fashioned, exim4.conf
option.

> When email goes through the spool nothing happens to it. The headers are 
> not modified. I should be getting something from both programs.
> 
> I haven't made any changes to the update file, I haven't found any 
> setting to change.
> 
> I'm obviously overlooking something,  any clues?

Check that you've got spam-assassin running as a daemon; and
sa-exim/exiscan config'd properly. I got caught out with 
packages when I was trying this.

I tracked down the issues with 'tail -f /var/log/exim4/{mainlog,paniclog}' 
and checking my daemons log.

http://www.pseudorandom.co.uk/2006/mailserver/,
http://www.exim.org/eximwiki/ExiscanExamples and
http://struction.de/projects/HOWTO_VirtualMail_Exim-MySQL-Spamassassin-ClamAV-Dovecot/?set_style=clean

may be of some use.

HTH

a




More information about the ubuntu-users mailing list