[Dovecot] umask and mails

Nicolas Letellier nicolas at nicoelro.net
Wed Sep 3 21:27:51 EEST 2008


On Wed, 03 Sep 2008 08:08:39 -0300
Eduardo M KALINOWSKI <eduardo at kalinowski.com.br> wrote:

> Nicolas Letellier wrote:
> > Hello.
> >
> > I would like to have rights like 750 in my mailboxes
> > (in /var/mail/vmails/domain.tld/user).
> >
> > http://wiki.dovecot.org/DovecotServerInstallations/RHEL/2_Users?highlight=(mask)
> >
> > I see an option called umask (in dovecot.conf). I set umask = 0750 in
> > dovecot.conf.
> >
> > This option add good rights to directories, but not to the mail
> > received (always in 700).
> >
> > Do you have a solution?
> >   
> 
> That setting is deprecated, don't use it (it does not work anyway).
> 
> Create a file named 'dovecot-shared' in each of your folders, give it
> the mode you want your files to have, and files will be created with
> that mode. See http://wiki.dovecot.org/SharedMailboxes for details.

Thanks a lot!

-- 
 -Nicolas.


More information about the dovecot mailing list