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