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 ?
-- С уважением, Бажов Вадим, Инженер отдела технической поддержки, Компания «Айдеко»
Телефоны: +7 (495) 987-32-70; +7 (495) 662-87-34 (тех. поддержка); +7 (343) 220-77-55; Факс: +7 (343) 220-77-85
Электронная почта: Вопросы по приобретению: sales@ideco.ru Технические вопросы: support@ideco.ru
Сайт: http://ideco.ru Форум: http://forum.ideco.ru
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
participants (2)
-
Ivan Warren
-
vadim