Amavisd and clamav socket do not match

Oliver Schinagl oliver at schinagl.nl
Thu Dec 29 10:56:15 CET 2011


Hi List(s),

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 
sensible defaults.

Thanks,

Oliver


More information about the amavis-users mailing list