[Mimedefang] Fwd: Re: clamav vs clamd vs clamscan
Kevin A. McGrail
KMcGrail at PCCC.com
Thu Oct 9 10:37:57 EDT 2014
On 10/9/2014 10:28 AM, Cliff Hayes wrote:
> Thanks to this list I am making progress :)
> Now clamd is failing due to this...
> Wed Oct 8 16:32:20 2014 -> WARNING: lstat() failed on:
> ...I'm assuming this is because the mimedefang working directory is
> owned by defang and clamd runs as clamav.
> I fixed by running clamd as root ... is this the preferred solution or
> is there a better way?
In general, you don't want daemons running as privileged users.
I run clamd as the same user as I run MD and that would be my
recommendation as well.
More information about the MIMEDefang