Hi Pairote,
Thanks for your great script and have been using for awhile. Recently...
I have encountered alot of high spamd load and clamd failure in cpanel.
2007-05-04 14:57:29 1HjrhO-00057M-NY spam acl condition: error reading from spamd socket: Connection timed out
2007-05-04 20:46:16 1HjxAt-0004cV-Ub malware acl condition: clamd: unable to connect to UNIX socket /var/clamd (No such file or directory)
Did most of the stuff that cpanel forum had recommended but nothing helps.
Eventually my support resolved it and he described
" There was also a condition in your "Exim Configuration Editor" that appeared to either be a bit of legacy information, or it was added outside of the cPanel setup of clamav. This was causing clamd to fail. I removed this line and restarted your services. Things should be working properly now."
Yeah..nothing to detail I know, but I checked and realised that the line
"av_scanner = clamd:/var/clamd"
is no longer in exim.conf and everything is fine now.
Not sure if this is going to be useful for you.
Have a good day.
Patrick
