clamd problems after update

Raymond Norton admin at
Sat May 17 14:28:24 IST 2008

>I have to change my /etc/clamd.conf to "LocalSocket /tmp/clamd" (or "Clamd Socket = /tmp/clamd.socket" in the MailScanner.conf) so MailScanner can find Clamd via the >socket file. Run "MailScanner --lint" before you do anything and note any clam errors. Then make the edit, restart clamd and run "MailScanner --lint" again to see if everything >is happy after the change. 

I got it working. (found this info on 

Here is clamd.conf: 

AllowSupplementaryGroups true 
ArchiveBlockEncrypted true 
ArchiveBlockMax true 
ArchiveMaxCompressionRatio 300 
DatabaseDirectory /usr/local/share/clamav 
DetectBrokenExecutables true 
FixStaleSocket true 
LocalSocket /tmp/clamd 
LogFacility LOG_MAIL 
LogFile /var/log/clamav/clamd.log 
LogFileMaxSize 10M 
LogSyslog true 
MaxConnectionQueueLength 30 
MaxThreads 50 
PidFile /var/run/clamav/ 
ReadTimeout 300 
TemporaryDirectory /tmp 
User clamav 

Had to add the following to Mailscanner.conf: 

Clamd Port = 3310 
Clamd Socket = /tmp/clamd 
Clamd Lock File = # /var/lock/subsys/clamd 
Clamd Use Threads = no 

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list