On Mon, Oct 13, 2014 at 4:01 PM, Cliff Hayes <[email protected]> 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
     [email protected]
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to