On Fri, 2009-01-30 at 16:49 +0100, Thomas Hummel wrote: > Hello Timo, > > About the dovecot-shared file, the wiki says : > > "Unless you're using a single UID for all the users, you'll need to have a > dovecot-shared file in each shared maildir. The group and the file > permissions > for new files inside the maildir are taken from the dovecot-shared file." > > but says the following too : > > "With Maildir dovecot-shared file controls if the \Seen flags are shared or > private. If you don't have the file, they're shared." > > The question is "does it make sense (or is it even possible) not to have the > file ?". Why would one not have the file and how would it work then ? By > relying on the set-gid bit and umask ?
Maybe. Or maybe it just wouldn't work. I haven't thought about it. > So, my undersanding is that : > > 1) you have the file > 1.a) if INDEX points to the same place, flags are shared but are lost if > indexes are lost > 1.b) if INDEX points to some user dependant place, flags are private but > are lost if indexes are lost > > 2) you don't have the file > flags are shared, whatever INDEX points to and, since they're stored in > filename, survive indexes lost. Right. > but does shared-mailboxes even work if we don't have that file ? maybe > only > if the set-gid bit and umask does what the file would have done ? Yes, maybe. > So maybe, if you want to share flags, 2) is safer dans if you want them > private, 1.b) is the only choice ? Yes.
signature.asc
Description: This is a digitally signed message part