oliver at schinagl
Dec 29, 2011, 1:56 AM
Amavisd and clamav socket do not match
Amavis currently uses "/var/run/clamav/clamd" as its socket in @av_scanners.
The default, although commented socket in clamav is /tmp/clamd.socket
Especially to new users on new installations this may seem odd, and may
confuse users on to which default to change may be daunting.
Gentoo uses "/var/run/clamav/clamd.sock" as it's default socket in
clamav, which seems like the perfect solution. The location makes more
sense than /tmp; and the name is more sensible then 'just' clamd. socket
might be better then sock, but sock is shorter and still clear ;)
I thus suggest the default configuration stanza's to be updated to use
"/var/run/clamav/clamd.sock" in both amavisd.conf and clamd.conf to give
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net