[clamav-users] clamav-milter Can't Find Clamd
Reindl Harald
h.reindl at thelounge.net
Tue Nov 7 00:01:31 UTC 2017
Am 07.11.2017 um 00:19 schrieb Colony.three:
> Trying to make milter see the clam daemon but can't figure out what's wrong. CentOS7.
>
> In /etc/clamd.d/clamd.conf:
> LocalSocket /var/run/clamd.scan/clamd.sock
> LocalSocketGroup virusgroup
> LocalSocketMode 660
> FixStaleSocket yes
AllowSupplementaryGroups yes
and you need that too in the milter configuration and postfix needs to
be in the same group, at least when you start everything with as less as
possible permissions, hence i made the comments years ago after figure
it out
cat /etc/mail/clamav-milter.conf
# Postfix Milter-Konfiguration
# Pre-Queue Virenscanner
#
# Postfix muss in die "clamilt"-Usergruppe
# usermod -a -G clamilt postfix
# usermod -a -G sa-milt postfix
User clamilt
AllowSupplementaryGroups yes
More information about the clamav-users
mailing list