[clamav-users] warning: connect to Milter service unix:/var/run/clamav/clamav-milter.ctl: No such file or directory
Yasuhiro KIMURA
yasu at utahime.org
Mon Jan 28 14:10:17 UTC 2019
Hello,
I'm trying to use ClamAV with Postfix and ClamAV milter on Debian 9.
After installing clamav-milter package it uses
/var/run/clamav/clamav-milter.ctl unix domain socket as MilterSocket
by default setting. So I added following settings in
/etc/postfix/main.cf.
----------------------------------------------------------------------
smtp_milters = unix:/var/run/clamav/clamav-milter.ctl
smtpd_milters = unix:/var/run/clamav/clamav-milter.ctl
milter_default_action = accept
----------------------------------------------------------------------
But when receiving mail from other host Postfix always writes
following warning message to syslog.
----------------------------------------------------------------------
Jan 28 22:46:59 kusanagi postfix/smtpd[15319]: warning: connect to Milter service unix:/var/run/clamav/clamav-milter.ctl: No such file or directory
----------------------------------------------------------------------
However this socket surely exists on my sistem.
----------------------------------------------------------------------
root at kusanagi[2796]# ls -l /var/run/clamav/clamav-milter.ctl
srw-rw-rw- 1 clamav clamav 0 1月 27 06:25 /var/run/clamav/clamav-milter.ctl=
----------------------------------------------------------------------
Then what is wrong? How can I fix this warning message?
Best Regards.
---
Yasuhiro KIMURA
More information about the clamav-users
mailing list