[CentOS] Clamd and Amavis
ned at unixmail.co.uk
Mon Apr 13 19:29:42 UTC 2009
Anne Wilson wrote:
> On Monday 13 April 2009 12:31:15 Kai Schaetzl wrote:
>> Anne Wilson wrote on Mon, 13 Apr 2009 10:00:40 +0100:
>>> I came unstuck with the instruction regarding the LocalSocket. If I
>>> change that in clamd.conf to $MYHOME/amavisd.sock or $MYHOME/clamd the
>>> clamd service won't start, saying the socket doesn't exist.
>> And maybe that's true, did you check whether it exists?
> It doesn't. I'm under the impression that a socket cannot be manually created,
> but has to be created by the application, so I simply don't know what to do
> about this.
My tired brain has only just digested the above paragraph - my guess
would be that the clamav user doesn't have permissions to write to
$MYHOME so can't create the socket?
My socket is located at /var/run/clamav/clamd and the /var/run/clamav
dir is owned by clamav:clamav with 755 perms. The clamav user is also a
member of the amavis group.
More information about the CentOS