Page 1 of 1

Email error / Clamav / Exim (Fixed Debian) - malware acl condition - clamd: unable to connect to UNIX socket

Posted: Sun Jul 03, 2016 12:41 pm
by Phantro
Hi guys, after waste a long time trying to fix the problem with Clamav with Exim, I hope that post can help someone with trying the same thing.

1) Automated and/or manually install of clamav
http://vestacp.com/docs/#how-to-install ... ian-ubuntu

VestaCP /etc/clamav/clamd.conf add this option in your conf file:

Code: Select all

AllowSupplementaryGroups true
change it to
#AllowSupplementaryGroups true
This option give you a error when you try to start clamd, then it is the first reason of clamd is not working.

2) Folder /var/run/clamav/ permission error, then you should do it:

Code: Select all

chown -R clamav:clamav /var/run/clamav
And now, my clamav is working and I'm receiving emails without any problems.
I hope that post can help some peoples, because I waste a LONG time to find where is the problem.
First, my problem is (I'm not receiving emails), then to get notice of that the problem is with clamav, i waste long time for it and then, to "learn how its work and fix that problems" more a long time.

That's all. Sorry about my bad english!

Re: Email error / Clamav / Exim (Fixed Debian) - malware acl condition - clamd: unable to connect to UNIX socket

Posted: Sun Jul 03, 2016 3:56 pm
by dpeca
Wrote about it before 4 days - http://forum.vestacp.com/viewtopic.php?f=12&t=11884

And yes, I also saw problem with permission in /var/run... but I think daemon works fine even with permission error...
I chmoded that folder, but your solution is better.