Re: [exim] ClamAV scan permissions?

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: Exim User's Mailing List
Subject: Re: [exim] ClamAV scan permissions?


David S. Madole wrote:

> From: "Marc Perkel" <marc@???>
>
>>
>> I have ClamAV in the Mail group so it it should have rights to the
>> scan directory itself - and it does. But - it seems that it does not
>> have access to the directories that Exim creates within the scan
>> directory.
>
>
> I had the same problem. As a quick fix, I now do:
>
> sed -e "s/, 0750, /, 0770, /" src/spool_mbox.c > src/spool_mbox.sed &&
> mv src/spool_mbox.sed src/spool_mbox.c
>
> as part of my exim build script.
>
> It would be nice if this was a configurable value, but I've not had
> the time to create and submit a patch or request.
>
> David
>

ok - I thought I was missing something. I decided to just run clam as
the same user as Exim and that worked.

Phil - if you are listening - the scan directory should be default be at
least group sharable so that exim and clamd as different users can share
files.