Spam Assassin & ClamAV

ReN

Verified User
Joined
Jul 2, 2005
Messages
172
Greetins ,
First up i've checked all previous post regards this issue , but still not able to get spamassassin and clam av working... i say not working , both spamd and clamd are running but i dont get any spamassassin header file or clamav header file in emails... any suggestion would be great.

ReN
 
I want to get spamasasssin working first, then move onto clamav, saying that i've done the following.

uncommented all this in the file already

# Spam Assassin
spamcheck_director:
driver = accept
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
} {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify
 
As long as the spamcheck transport is also defined in exim.conf and you have a user config file (i.e., you've enabled spamassassin), you should get spam headers (assuming you've restarted exim). Check /var/log/maillog and exim mainlog for errors and ensure you have a /home/username/.spamassassin/user_prefs file.
 
you are a legend my friend, there was no user_pref file , didn't relise , would have thought it would be like a default file created..... no matter, thanx for that man , now for clamav :)

ReN
 
Back
Top