[Dovecot] Maildir parent directory permissions incorrect for new mailbox

e-frog e-frog at gmx.de
Fri Jun 17 20:16:32 EEST 2011


On 17.06.2011 18:35, wrote Dominic Marks:

Hi Dominic,

> Initially, /var/dovecot consists of acl, index and mail, all empty. The
> permissions on these are:
>
>  >> ls -l
> total 6
> drwxrwxr-x 2 hmgp hmgp 512 17 Jun 12:23 acl
> drwxrwxr-x 3 hmgp hmgp 512 17 Jun 15:56 index
> drwxrwxr-x 3 hmgp hmgp 512 17 Jun 15:56 mail
>
> If I perform a mail delivery to my mailbox, the mailbox parent directory
> is created with the following permissions:
>
>  >> ls -l
> total 2
> drwx------ 3 dm hmgp 512 17 Jun 15:56 insidetrading.co.uk
>

Blind guess:
You are delivering the mail via postfix local and not via dovecot-lda or 
lmtp?


> Note that the user ID is my own and the mode restricts all other access.
> When I perform a second delivery to different mailbox under that domain,
> one mapped to a different UID, the delivery fails because that user
> cannot access the parent folder in order to create the new maildir.
>


More information about the dovecot mailing list