Amavisd and clamav socket do not match
Mark.Martinec+amavis at ijs.si
Mon Feb 27 19:59:38 CET 2012
> Amavis currently uses "/var/run/clamav/clamd" as its socket in
> 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.
Agreed, thanks for the suggestion.
Will be changed for 2.7.1 and 2.8.0:
- ClamAV-clamd and ClamAV-clamd-stream av scanners: changed socket name
in a sample configuration file amavisd.conf to /var/run/clamav/clamd.sock
(previously the socket name was /var/run/clamav/clamd); this makes it
compatible with a default socket name under at least Gentoo and FreeBSD;
More information about the amavis-users