[Mimedefang] Fwd: Re: clamav vs clamd vs clamscan

Les Mikesell lesmikesell at gmail.com
Mon Oct 13 17:17:05 EDT 2014


On Mon, Oct 13, 2014 at 4:01 PM, Cliff Hayes <chayes at afo.net> wrote:
> Per other comments I removed all traces of previous clam installs and
> started over with binaries.
> Got clamd running as root and mimedefang running as defang - no problem.
> But I'd like to run clamd as clamav so I did your idea and added defang to
> clamav as such:  usermod -G defang clamav
> So now clamd is a member of two groups:  clamav and defang but I still get
> the following error:
>
> Oct 13 15:53:47 sendmail mimedefang.pl[27449]: s9DKrlSJ027472: Clamd
> returned error: lstat() failed: Permission denied.
>
> Oct 13 15:53:47 sendmail mimedefang.pl[27449]: s9DKrlSJ027472: Problem
> running virus scanner: code=999, category=swerr, action=tempfail
>
> Mon Oct 13 15:53:47 2014 -> WARNING: lstat() failed on:
> /var/spool/MIMEDefang/mdefang-s9DKrlSJ027472/Work

Did you restart clamd after the change?  Also , check that the
directories above /var/spool/MIMEDefang/mdefang-s9DKrlSJ027472/Work
have rx permissions for group or other and the new files mimedefang is
creating have group access.

-- 
   Les Mikesell
     lesmikesell at gmail.com



More information about the MIMEDefang mailing list