Thomas Hummel
2009-Jan-30 14:20 UTC
[Dovecot] Shared subscription, acl-list and uidvalidity(s)
Hello, I'm running dovecot-1.1.8/Maildir/ACL plugin. I sucessfully set up a Maildir shared between users of the unix group 'doveshared' via a public namespace, unix permissions and ACL files. The location of my public namespace is /path/to/public. I tried 2 sub-setups : First setup ---------- drwxrws--- 4 root doveshared 4096 Jan 30 13:39 public -rw-r----- 1 root doveshared 18 Jan 30 13:38 public/subscriptions I first connect (in Thunderbird) to dovecot with user 'hummel', then with user 'doveimap'. The following files are created in /path/to/public/ : -rw------- 1 doveimap doveshared 40 Jan 30 14:03 dovecot-acl-list -rw------- 1 hummel doveshared 8 Jan 30 14:03 dovecot-uidvalidity -rw------- 1 hummel doveshared 0 Jan 30 14:02 dovecot-uidvalidity.4982fa7a I've got my own idea about what they're used for, but can you explain what they are supposed to be ? I guess the uidvalidity files are UIDVALIDITY, not for the mailboxes the namespace holds (since my understanding is that the uidvalidities of mailboxes are stored in the first line of dovecot-uidlist files), but for the namespace itself (in case it is destroyed and then recreated for instance). Am I right ? Why 2 files ? Second setup ------------- I follow the 'Shared subscriptions' section of the wiki : drw-r-s--- 4 root doveshared 4096 Jan 30 14:19 public -rw-r----- 1 root doveshared 18 Jan 30 13:38 public/subscriptions As expected, dovecot (and it shows in the logs), has not sufficient permissions to create the files above (dovecot-acl-list, dovecot-uidvalidity, dovecot-uidvalidity.4982fa7a). What are the consequences ? Thanks. -- Thomas Hummel | Institut Pasteur <hummel at pasteur.fr> | P?le informatique - syst?mes et r?seau
Thomas Hummel
2009-Feb-04 17:57 UTC
[Dovecot] Shared subscription, acl-list and uidvalidity(s)
On Fri, Jan 30, 2009 at 03:20:45PM +0100, Thomas Hummel wrote:> I follow the 'Shared subscriptions' section of the wiki : > > drw-r-s--- 4 root doveshared 4096 Jan 30 14:19 public > -rw-r----- 1 root doveshared 18 Jan 30 13:38 public/subscriptions > > As expected, dovecot (and it shows in the logs), has not sufficient permissions > to create the files above (dovecot-acl-list, dovecot-uidvalidity, > dovecot-uidvalidity.4982fa7a). What are the consequences ?Any idea, anyone ? -- Thomas Hummel | Institut Pasteur <hummel at pasteur.fr> | P?le informatique - syst?mes et r?seau
Thomas Hummel
2009-Feb-06 17:41 UTC
[Dovecot] Shared subscription, acl-list and uidvalidity(s)
On Wed, Feb 04, 2009 at 06:57:29PM +0100, Thomas Hummel wrote:> Any idea, anyone ?Sorry to insist, but I need this setup. Timo ? -- Thomas Hummel | Institut Pasteur <hummel at pasteur.fr> | P?le informatique - syst?mes et r?seau
Timo Sirainen
2009-Feb-06 19:48 UTC
[Dovecot] Shared subscription, acl-list and uidvalidity(s)
On Fri, 2009-01-30 at 15:20 +0100, Thomas Hummel wrote:> I first connect (in Thunderbird) to dovecot with user 'hummel', then with user > 'doveimap'. The following files are created in /path/to/public/ : > > -rw------- 1 doveimap doveshared 40 Jan 30 14:03 dovecot-acl-list > -rw------- 1 hummel doveshared 8 Jan 30 14:03 dovecot-uidvalidity > -rw------- 1 hummel doveshared 0 Jan 30 14:02 dovecot-uidvalidity.4982fa7a > > I've got my own idea about what they're used for, but can you explain what they > are supposed to be ?dovecot-acl-list caches information about listable mailboxes. dovecot-uidvalidity* files are used to assign a unique UIDVALIDITY value when a new mailbox is being created (or actually opened for the first time). If you want the files to be group-readable, make the /path/to/public directory also group-readable. At least I think that should do it.> I guess the uidvalidity files are UIDVALIDITY, not for the mailboxes the > namespace holds (since my understanding is that the uidvalidities of mailboxes > are stored in the first line of dovecot-uidlist files), but for the namespace > itself (in case it is destroyed and then recreated for instance). Am I right ?They're used for all the mailboxes that are created under that namespace.> Why 2 files ?Implementation optimization issue. It helps to avoid locking.> Second setup > ------------- > > I follow the 'Shared subscriptions' section of the wiki : > > drw-r-s--- 4 root doveshared 4096 Jan 30 14:19 public > -rw-r----- 1 root doveshared 18 Jan 30 13:38 public/subscriptions > > As expected, dovecot (and it shows in the logs), has not sufficient permissions > to create the files above (dovecot-acl-list, dovecot-uidvalidity, > dovecot-uidvalidity.4982fa7a). What are the consequences ?Probably not good? Why not give it permissions? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090206/991536d5/attachment-0002.bin>