clamav and mailscanner

Zivago Lee z at ziff.net
Wed Feb 28 16:52:31 CET 2007


On Wed, 2007-02-28 at 10:01 +0100, Glenn Steen wrote:
> On 28/02/07, Zivago Lee <z at ziff.net> wrote:
> > I've been noticing an issue with clamav and mailscanner.  I can run
> > clamscan just fine separately, however, in mailscanner, I get this error
> > in debug mode:
> >
> > Feb 26 13:18:38 www MailScanner[2871]: Commencing scanning by clamav...
> > Feb 26 13:18:38 www MailScanner[2871]: ERROR: Unable to open file or
> > directory
> > Feb 26 13:18:38 www MailScanner[2871]: Completed scanning by clamav
> > Any ideas on what directories I need it to give permissions on?
>
> /Var/spool/MailScanner/incoming perhaps?

Here are my current perms:

drwx------   4 postfix postfix  4096 Feb 28 07:49 incoming

I don't think I changed anything recently besides updating clamav to
0.90.  Are these the correct perms for this directory?  I'm assuming
that the postfix user is running clamscan so it shouldn't have any
issues, correct?

-- 
Zivago Lee <z at ziff.net>



More information about the MailScanner mailing list