[Dovecot] dovecot transaction log permissions
Jordan Tardif
jordan at hq.newdream.net
Thu Jun 3 05:12:36 EEST 2010
So after some problems with NFS and transaction logs getting corrupted.
Im tyring out storing them localy. via..
mail_location: maildir:~/Maildir:INDEX=/var/dovecot/indexes/%u
the problem is with a large amount of users.. the indexes dir becomes
huge with this setup. So a change to make this better is...
mail_location: maildir:~/Maildir:INDEX=/var/dovecot/indexes/%d/%n
to seperate the users dir's into domains. What seems to happen is dovecot
creates the index's folder automaticly and its owned by that user.. eg..
drwx------ 3 10651674 2598184 4096 2010-06-02 19:08 domain.com
this makes it so no other user of domain.com can get their transaction
logs created cause the dir is owned by another user at that domain. Is
there anyway around this? I see there used to be a umask option but that
is gone in 1.2.x.
--
Jordan Tardif
DreamHost
More information about the dovecot
mailing list