I made the mistake of installing clamav during installation of hestiaCP. Because the server only has 1GB of ram, clamav is automatically turned off. Now I get an email from exim daily. I am hoping there is a way to uninstall or at least fully disable clamav without having to reinstall the server.
exim paniclog /var/log/exim4/paniclog on my-domain-name.com has non-zero size, mail system might be broken. Up to 10 lines are quoted below.
2020-09-20 02:05:19 1kJfMV-001pow-NV malware acl condition: clamd /var/run/clamav/clamd.ctl : unable to connect to UNIX socket (/var/run/clamav/clamd.ctl): No such file or directory
2020-09-20 02:06:20 1kJfNU-001pow-Bt malware acl condition: clamd /var/run/clamav/clamd.ctl : unable to connect to UNIX socket (/var/run/clamav/clamd.ctl): No such file or directory
Check if your clamav service is running, basicly you could try to uninstall clamav and adjust the exim conf - but if you dont know how to do it, reinstall the server and restore backups would be the faster and safer option.
That is the actual config, yes, and of course you’d need to restart exim afterwards to apply the changes.
OK, sorry it didn’t work, but it looked like that would do the job: you see these at the top #CLAMD = yes
and then lower down there are conditional blocks like .ifdef CLAMD av_scanner = clamd: /var/run/clamav/clamd.ctl .endif
Which are not loaded if CLAMD is not defined. Anyway, worth a try, and not too hard to roll back if it doesn’t work.