Yasuhiro KIMURA skrev den 2019-01-28 15:10:
----------------------------------------------------------------------
root@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?
postfix needs read write access to this socket, most simple way is to
use inet socket, if you can
Config file: clamd.conf
-----------------------
TCPSocket = "3310"
TCPAddr = "127.0.0.1"
Config file: freshclam.conf
---------------------------
Config file: clamav-milter.conf
-------------------------------
ClamdSocket = "tcp:127.0.0.1:3310"
MilterSocket = "inet:7357@localhost"
MilterSocketGroup disabled
MilterSocketMode disabled
main.cf
milter_clamav = inet:[127.0.0.1]:7357
milter_default_action = accept
milter_mail_macros = i {mail_addr} {client_addr} {client_name}
{auth_authen}
milter_opendkim = inet:[127.0.0.1]:8891
milter_opendmarc = inet:[127.0.0.1]:8893
milter_protocol = 6
non_smtpd_milters = $milter_opendkim
smtpd_milters = $milter_clamav,$milter_opendkim,$milter_opendmarc
this works for me :=)
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml