[Dovecot] Maildir parent directory permissions incorrect for new mailbox
Dominic Marks
dom at helenmarks.co.uk
Fri Jun 17 21:37:30 EEST 2011
On 17/06/2011 18:16, e-frog wrote:
> 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?
>
Hi e-frog,
Nope.
From my main.cf:
virtual_transport = lmtp:unix:private/dovecot-lmtp
From my maillog:
Jun 17 18:37:06 comms dovecot: lmtp(75348): Connect from local
Jun 17 18:37:06 comms dovecot: lmtp(75348, dm at insidetrading.co.uk):
8en+HVtz+01UJgEA+ZD7hg:
msgid=<20110617183706.04E3C3B618 at mail.helenmarks.co.uk>: saved mail to INBOX
Jun 17 18:37:06 comms postfix/lmtp[78285]: 04E3C3B618:
to=<dm at insidetrading.co.uk>,
relay=mail.helenmarks.co.uk[private/dovecot-lmtp], delay=0.1,
delays=0.05/0.04/0/0.01, dsn=2.0.0, status=sent (250 2.0.0
<dm at insidetrading.co.uk> 8en+HVtz+01UJgEA+ZD7hg Saved)
Jun 17 18:37:06 comms dovecot: lmtp(75348): Disconnect from local:
Client quit
Jun 17 18:37:06 comms postfix/qmgr[99310]: 04E3C3B618: removed
In fact, during my tests I invoked the lmtp binary under gdb so I could
inspect its behaviour, but prior to that I'd been relaying through lmtp.
Thanks,
Dominic
More information about the dovecot
mailing list