Adam McDougall
2009-Aug-21 03:40 UTC
[Dovecot] New need to delete dovecot-acl-list in dovecot 1.2?
I just started testing 1.2.3 then 1.2.4 this week, I was too busy earlier in the year to look at 1.2 at all. So far so good except I noticed newly granted permissions via ACL on some newly created public mailboxes were not visible by the client. It seemed to be a version thing because the same files work fine concurrently on a server running 1.1.x. I came across this in the ACLwiki which seems to fix it: List cache dovecot-acl-list file lists all mailboxes that have "l" rights assigned. If you manually add/edit dovecot-acl files, you may need to delete the dovecot-acl-list to get the mailboxes visible. I don't ever recall needing to do this before, and it sounds similar to this which I have had set to 10 for a long time: # cache_secs parameter # specifies how many seconds to wait between stat()ing dovecot-acl file # to see if it changed. All of my dovecot-acl files are symlinks so hopefully it runs stat() on the target, but just in case I tried recreating the symlink afterwards but it didn't help and its over NFS so who knows if the running dovecot 'saw' it. Do I need to debug this behavior further or will I just have to live with remembering to delete the dovecot-acl-list file when I manually change dovecot-acl contents? Thanks.
Timo Sirainen
2009-Sep-07 01:22 UTC
[Dovecot] New need to delete dovecot-acl-list in dovecot 1.2?
On Thu, 2009-08-20 at 23:40 -0400, Adam McDougall wrote:> List cache > > dovecot-acl-list file lists all mailboxes that have "l" rights assigned. > If you manually add/edit dovecot-acl files, you may need to delete the > dovecot-acl-list to get the mailboxes visible.It's mainly useful for mailbox sharing between users. http://hg.dovecot.org/dovecot-1.2/rev/aeb3affa0501 makes Dovecot ignore it in public namespaces. -------------- 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/20090906/ecf4e707/attachment-0002.bin>
Adam McDougall
2009-Sep-09 17:00 UTC
[Dovecot] New need to delete dovecot-acl-list in dovecot 1.2?
Timo Sirainen wrote:> On Thu, 2009-08-20 at 23:40 -0400, Adam McDougall wrote: > >> List cache >> >> dovecot-acl-list file lists all mailboxes that have "l" rights assigned. >> If you manually add/edit dovecot-acl files, you may need to delete the >> dovecot-acl-list to get the mailboxes visible. >> > > It's mainly useful for mailbox sharing between users. > http://hg.dovecot.org/dovecot-1.2/rev/aeb3affa0501 makes Dovecot ignore > it in public namespaces. > >Ah thanks, I will try it when I have time. BTW, yesterday I noticed my dovecot 1.1.11 servers acting like the dovecot-acl is recursive in my public folders, much like 1.2 seems to be, but I cannot recall 1.1.x ever acting that way. Am I crazy or did it change sometime before 1.2? Thanks.
Reasonably Related Threads
- unlink_directory(....Trash.NewFolder) failed: Directory not empty
- imap fs quota (rpc) won't work?
- Dovecot not handling r/o mailboxes completely, and problem with ACL as a workaround
- assertion failed: (mailbox_list_is_valid_existing_name(_list, name))
- dovecot 1.1b4 not listing public folder children