Centos 7 + Postfix + clamd at scan

Tracy Greggs mailscanner-list at okla.com
Sat Oct 7 18:37:10 UTC 2017


OK, so postfix works fine prior to mailscanner 5.0.6-4 / clam install.  

I am getting the following and I can't seem to find an answer to the problem
although it seems pretty clear that it is a permissions issue.

If anyone could enlighten me I would appreciate it :)

Oct  7 13:30:13 test MailScanner[37081]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
Oct  7 13:30:23 test MailScanner[37083]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
Oct  7 13:30:33 test MailScanner[37085]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
Oct  7 13:30:43 test MailScanner[37095]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
Oct  7 13:30:53 test MailScanner[37097]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!

[root at test ~]# ls -la /var/run/clamd.scan/
total 4
drwx--x---  2 clamscan clamscan   80 Oct  7 13:25 .
drwxr-xr-x 41 root     root     1260 Oct  7 13:26 ..
-rw-rw-r--  1 clamscan clamscan    6 Oct  7 13:25 clamd.pid
srw-rw-rw-  1 clamscan clamscan    0 Oct  7 13:25 clamd.sock

[root at test ~]# cat /etc/group | grep clam
clamupdate:x:984:
virusgroup:x:983:clamupdate,clamscan,postfix
mtagroup:x:1002:postfix,mail,clamscan
clamscan:x:982:

[root at test mailscanner]# rpm -qa | grep clam
clamav-scanner-0.99.2-8.el7.noarch
clamav-filesystem-0.99.2-8.el7.noarch
clamav-update-0.99.2-8.el7.x86_64
clamav-server-0.99.2-8.el7.x86_64
clamav-0.99.2-8.el7.x86_64
clamav-lib-0.99.2-8.el7.x86_64
clamav-scanner-systemd-0.99.2-8.el7.noarch
clamav-data-0.99.2-8.el7.noarch
clamav-devel-0.99.2-8.el7.x86_64
clamav-server-systemd-0.99.2-8.el7.noarch



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list