[Dovecot] imap auto create mailbox: we're not in group 8(mail)
Adrian Zaugg
adi at ente.limmat.ch
Thu Jan 9 17:49:26 EET 2014
Hi Steffen
Am 09.01.14 13:36 schrieb Steffen Kaiser:
> The errors says all.
Almost ...
If I understand you correctly, I can chose one of the three options you
presented to me, right? If so,
3) I did until now.
2) no way.
To 1):
I now set
mail_privileged_group = mail
drwxrwx--x 94 root mail 3072 Dec 18 01:43 /var/mail
But I still get the same error. The LMTP and the IMAP process do still
get executed under group %u, when they try to create the mailbox. What's
wrong?
Thank you for your help!
Best regards, Adrian.
>
> 1) See:
> # Group to enable temporarily for privileged operations. Currently this is
> # used only with INBOX when either its initial creation or dotlocking
> fails.
> # Typically this is set to "mail" to give access to /var/mail.
> #mail_privileged_group =
>
> # Grant access to these supplementary groups for mail processes. Typically
> # these are used to set up access to shared mailboxes. Note that it may be
> # dangerous to set these if users can create symlinks (e.g. if "mail"
> group is
> # set here, ln -s /var/mail ~/mail/var could allow a user to delete others'
> # mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow
> reading it).
> #mail_access_groups =
>
> 2) chmod 1777 /var/mail
>
> 3) pre-create your user dirs
More information about the dovecot
mailing list