OK, got it, thanks so much for your help.

Turns out the issue was that the /var/spool/MailScanner directory itself
was missing an execute permission for other.  This meant that though you
could list the contents of /var/spool/MailScanner, you couldn't list the
contents of any of it's subdirectories, which is what threw me off.

Not sure how it got that way, but it might be a mistake in the mailscanner
initial set up, or I just screwed up somewhere (far more likely).

Thanks again for your help.

Cheers,
Christian

On 13 August 2012 21:29, Christian De Kievit <[email protected]> wrote:

> Hi again,
>
> Yes, I recognised that wasn't a great idea.
>
> Further up the tree is where the issue is, even though the permissions are
> correct.  an ls on /var/spool/MailScanner using celeryd works fine, but ls
> on /var/spool/MailScanner/quarantine returns permission denied despite
> celeryd having permission on that folder.
>
> App armor is not logging anything, I've looked in the apparmor directory,
> in syslog and it shows nothing.
>
> Cheers,
> Christian
>
>
> On 13 August 2012 21:14, Andrew Colin Kissa <[email protected]> wrote:
>
>>
>> On 13 Aug 2012, at 1:12 PM, Christian De Kievit wrote:
>>
>> > A solution that worked for me (but isn't optimal) was to set the
>> permissions back how they were and add the celeryd user to the postfix
>> group.
>>
>> I would not recommend that.
>>
>> > Doing that made it all work correctly.
>> >
>> > I wonder if there was some mistake in the way that permissions were
>> assigned?  I can't understand what it was.
>>
>> Try following the permissions up to the root to see, it is possible that
>> there is a permission issue higher up, have
>> you checked your logs to see if this could be apparmor related ?
>>
>>
>> --
>> www.baruwa.org
>>
>>
>>
>>
>> _______________________________________________
>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>
>
>
>
> --
> Christian De Kievit
>



-- 
Christian De Kievit
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to