[Dovecot] Feature request - umask for index files

Karl Latiss karl.latiss at atvert.com.au
Tue Aug 2 03:27:11 EEST 2005


On Mon, 2005-08-01 at 11:03 -0700, Marc Perkel wrote:
> I'd like a separate feature for setting umask for index and cache files 
> differently from email files.
> 
> The reason is that I'm putting indexes in a separate location and I need 
> group create rights in directories. Otherwise what happens is that the 
> first user creates the directories, but the second user for the domain 
> that has a different UID gets an error.
> 
> default_mail_env = 
> mbox:/vhome/%d/home/%n:INBOX=/vhome/%d/home/%n/INBOX:INDEX=/nobackup/imap-index/%d/%n

How about ensuring all users within a domain are in a particular group
and then chmod g+ws the imap-index directory?

-- 
Karl Latiss <karl.latiss at atvert.com.au>
Atvert Systems



More information about the dovecot mailing list