Page 3 of 3

Posted: 12 May 2009, 23:47
by bear
Suffering from this same issue, and would appreciate any advice. ClamAV - v0.95.1 installed and up to date.
Sarah wrote:You need to change the setting for "Clamd Socket" in MailScanner Configuration from /tmp/clamd.socket to /tmp/clamd.
Did so, now it can't find "/tmp/clamd" instead of "/tmp/clamd.socket" which was the previous error.
Then restart MailScanner and clamd (service clamd restart).
restarting mailscanner is no problem, but I keep getting the following:
# service clamd restart
clamd: unrecognized service

Found this post: showpost.php?p=7108&postcount=4
"Edit the file /etc/init.d/clamd"
That doesn't exist there. Very lost as to why, however.

[FIXED]
/etc/rc.d/init.d/clamd was missing, so I grabbed it from another server. Edited the line "ulimit: 20000" to 30000, started clamd, done.