[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.
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.
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.
On Wed, 2009-09-09 at 13:00 -0400, Adam McDougall wrote:
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?
dovecot-acl isn't recursive in either v1.1 or v1.2. In v1.2 you can have a "default ACL file" though. In v1.1 you can I don't think you should have anything like that..
participants (2)
-
Adam McDougall
-
Timo Sirainen