dovecot umask for mail boxes
Ivan Warren
ivan at vmfacility.fr
Thu Aug 24 19:51:58 EEST 2017
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>
More information about the dovecot
mailing list