Le 8/24/2017 ? 6:46 PM, vadim a ?crit?:> I want to control the mode of newly created boxes.
>
> The official documentation here:
> https://wiki.dovecot.org/SharedMailboxes/Permissions , under
> Permissions for new mailboxes says this:
>
> "When creating a new mailbox, Dovecot copies the permissions from the
> mailbox root directory. For example with mboxes if you have
directories"
>
> But it seems to be untrue. I checked it, it soesn't work.
>
> I found a topic in mail list archive:
>
> https://dovecot.org/list/dovecot/2008-September/033395.html
>
> Its recommended to create a 'dovecot-shared' file in each mailbox
with
> proper rights. But how can I do that if mailbox is not exists yet ?
>
> Can you provide any working solution to this problem ?
>
Hey,
Personally I always set the parent directory to have g+s (and group
owner to "mail", or whatever you use for your dovecot installation),
and
this seems to do the trick.
I use mdbox, so it may be dependent on the backend being used for mail
storage (mbox, maildir, sdbox, mdbox...)
--Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3970 bytes
Desc: Signature cryptographique S/MIME
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20170824/19731160/attachment.p7s>