Hi users,

I'm trying to install Clamav in my Centos 7 to use it with Postfix, however I can't get Clamav deamon clamd to run, which is causing the following error :

/var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: Connection refused

When I try to start clamd the system doesn't find it :

[root@mail clamd.d]# systemctl start clamd
Failed to start clamd.service: Unit not found.

Also when running clamd from : [root@mail clamd.d]# /usr/sbin/clamd I got this error :

ERROR: Can't open/parse the config file /etc/clamd.conf

The file /etc/clamd.conf doesn't exist .

Anyone has a hint on how to resolve this ?

Thank you