[clamav-users] No such file or directory + after milter-reject

maurizio at caloro.ch maurizio at caloro.ch
Thu Mar 5 17:13:12 EST 2020

I try now this way..... but also no chance... for any help, thanks

But the error styl persist:
23:05:00 mail postfix/cleanup[6087]: 24741405D0: milter-reject:
END-OF-MESSAGE from pub158181113102.dh-hfc.g.c[xxx.xxx.xxx.xxx]: 4.7.1
Service unavailable - try again later; from=<email at addres>

Main.cf - Postfix

# Milter Sttings
milter_clamav = inet:[]:7357
milter_default_action = accept
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
milter_protocol = 6
non_smtpd_milters = $milter_opendkim
smtpd_milters = $milter_clamav,$milter_opendkim,$milter_opendmarc

cat clamav-milter.conf

MilterSocket "inet:7357 at localhost"
ClamdSocket "tcp:"
FixStaleSocket true
User clamav
ReadTimeout 120
Foreground false
PidFile /var/run/clamav/clamav-milter.pid
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 disabled
MilterSocketMode disabled

cat clamd.conf

#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
TCPSocket "3310"
TCPAddr "localhost"
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogRotate true
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PreludeEnable no
PreludeAnalyzerName ClamAV
DatabaseDirectory /var/lib/clamav
OfficialDatabaseOnly false

More information about the clamav-users mailing list