Me again,
I'm still building my new mail server and I'm struggling getting clamav and exim to talk to each other.
I've installed:
clamav-server-0.98.7-1.el7.x86_64 clamav-lib-0.98.7-1.el7.x86_64 clamav-0.98.7-1.el7.x86_64 clamav-milter-0.98.7-1.el7.x86_64 clamav-data-0.98.7-1.el7.noarch clamav-update-0.98.7-1.el7.x86_64 clamav-milter-systemd-0.98.7-1.el7.noarch clamav-filesystem-0.98.7-1.el7.noarch exim-mon-4.84-4.el7.x86_64 exim-4.84-4.el7.x86_64 exim-greylist-4.84-4.el7.x86_64 exim-pgsql-4.84-4.el7.x86_64 spamassassin-3.4.0-1.el7.x86_64
I configured EXIM and Spamassassin. I started the services
exim spamassassin clamav-milter
In EXIM I configured
av_scanner = clamd:/var/run/clamd.exim/clamd.sock spamd_address = 127.0.0.1 783
However when I tried to send a test email it failed saying
2015-08-24 22:45:13 1ZTzY6-0002f1-OL malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamd.exim/clamd.sock): No such file or directory 2015-08-24 22:45:13 1ZTzY6-0002f1-OL H=eddie.ringways.co.uk (gary.ringways.co.uk) [10.1.1.115] F=gary@ringways.co.uk temporarily rejected after DATA
I've checked and clamd.sock doesn't exist. Nor does /etc/clam.conf. /etc/clam.d is empty
Results from Google seem to come up with conflicting solutions, but most seem to want to use amavisd which I don't.
Are there anywhere simple instructions on just using clamav and EXIM on Centos 7?