When i see the maillog i get this error :
[root@server1 ~]# tail -f /var/log/maillog
Sep 6 21:29:54 ns206464 MailScanner[8061]: Cannot find Socket (/tmp/clamd)
etc....
Pleas can u help me, i have :
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard on server1
And : csf v4.76 and mailscanner and clamv.
Thanks
Errors using MailScanner and Clamv
tanger wrote:When i see the maillog i get this error :
[root@server1 ~]# tail -f /var/log/maillog
Sep 6 21:29:54 ns206464 MailScanner[8061]: Cannot find Socket (/tmp/clamd)
etc....
Pleas can u help me, i have :
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard on server1
And : csf v4.76 and mailscanner and clamv.
Thanks
Change This Setting "Clamd Socket" in "mailscanner.conf"
From: Clamd Socket = /tmp/clamd
To: Clamd Socket = /tmp/clamd.socket
Then it will work i Think.
Bye.
Have you tried restarting clamd?
Are there any other log lines related to this error?
The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket
Code: Select all
service clamd restart
The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket
I had the same problem my method worked for me.Sarah wrote:Have you tried restarting clamd?
Are there any other log lines related to this error?Code: Select all
service clamd restart
The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket
Tanger, check that the socket setting is the same in /usr/local/etc/clamd.conf and the MailScanner configuration. If you set it to something other than /tmp/clamd which is the default with our cPanel MailScanner install, it's possible there may be problems when you upgrade clamav and/or MailScanner in the future.