At a first glance, I see that you have ClamdSocket configured 2 times, one per socket and one per tcp, delete the one you do not want to execute and restart, to check if it is listening on the correct port you can run netstat -tupan | grep 7357

El 28/03/2021 a las 11:26, Maurizio Caloro escribió:
hello

i know that me question are send to Postfix-group, so i will ask you frendly, hopefully meny people use the same setup.

running with last Buster install clamav-milter 0.102.4 with Postfix 3.4.14 but it seems that the port 7357 dont open.

it will be refused, iam not shure why.

-

telnet> open localhost 7357

telnet: Unable to connect to remote host: Connection refused

-

main.cf

# Milter Sttings

#

#

milter_default_action = accept

milter_protocol = 6

smtpd_milters = unix:opendkim/opendkim.sock unix:opendmarc/opendmarc.sock inet:127.0.0.1:7357

## smtpd_milters = unix:opendkim/opendkim.sock unix:opendmarc/opendmarc.sock unix:/var/run/postfix/clamav/clamav-milter.ctl

non_smtpd_milters = $smtpd_milters

-

postfix/smtpd[17092]: warning: connect to Milter service inet:127.0.0.1:7357: Connection refused

-

/etc/clamav# cat clamav-milter.conf

#Automatically Generated by clamav-milter postinst

#To reconfigure clamav-milter run #dpkg-reconfigure clamav-milter

#Please read /usr/share/doc/clamav-base/README.Debian.gz for details

MilterSocket unix:/var/run/postfix/clamav/clamav-milter.ctl

MilterSocket inet:127.0.0.1:7357

FixStaleSocket true

User clamav

ReadTimeout 120

Foreground false

PidFile /var/run/clamav/clamav-milter.pid

ClamdSocket unix:/var/run/clamav/clamd.ctl

## ClamdSocket unix:/var/run/clamav/clamd.ctl

ClamdSocket tcp:localhost:7357

OnClean Accept

OnInfected Quarantine

OnFail Defer

AddHeader Replace

LogSyslog false

LogFacility LOG_LOCAL6

LogVerbose false

LogInfected Off

LogClean Off

LogRotate true

MaxFileSize 25M

SupportMultipleRecipients false

TemporaryDirectory /tmp

LogFile /var/log/clamav/clamav-milter.log

LogTime true

LogFileUnlock false

LogFileMaxSize 1M

MilterSocketGroup postfix

MilterSocketMode 666


Attachment: smime.p7s
Description: Firma criptográfica S/MIME

Reply via email to