Page 1 of 1

Errors using MailScanner and Clamv

Posted: 06 Sep 2009, 20:32
by tanger
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

Posted: 12 Sep 2009, 09:09
by HypNotic
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.

Posted: 12 Sep 2009, 10:14
by Sarah
Have you tried restarting clamd?

Code: Select all

service clamd restart
Are there any other log lines related to this error?

The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket

Posted: 12 Sep 2009, 19:16
by HypNotic
Sarah wrote:Have you tried restarting clamd?

Code: Select all

service clamd restart
Are there any other log lines related to this error?

The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket
I had the same problem my method worked for me.

Posted: 12 Sep 2009, 22:06
by Sarah
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.