[Dovecot] ACL plugin, public namespace, erroneous \HasNoChildren

Stefan Förster cite+dovecot-users at incertum.net
Fri Aug 7 09:09:31 EEST 2009


* Stefan Förster <cite+dovecot-users at incertum.net>:
> dovecot 1.2.2 with a second namespace called "Public", mapped to
> "/export/vmailboxes/public", LIST returning \HasNoChildren:
> 
> root at testvm06:~# cat /export/vmailboxes/public/dovecot-acl
> user=cite lrwstiekxa
> authenticated lrs
> anyone lrs
> root at testvm06:~# ls -l /export/vmailboxes/public/.announcements/dovecot-acl 
> lrwxrwxrwx 1 root root 14 Aug  6 03:50 /export/vmailboxes/public/.announcements/dovecot-acl -> ../dovecot-acl
> 
> With ACL plugin enabled (notice the \HasNoChildren):
> 
> root at testvm06:~# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready.
> . login cite secret
> . OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH ACL RIGHTS=texk QUOTA] Logged in
> . list "" Public
> * LIST (\Noselect \HasNoChildren) "." "Public"
> . OK List completed.

I recompiled dovecot with changeset 13fa572535f0 (from
http://hg.dovecot.org/dovecot-1.2/rev/13fa572535f0 ), but it didn't
change the behaviour - and with "Public." being a mailbox with that
patch, dovecot is really lying to me ;-)

Did I miss an ACL entry?


Cheers
Stefan


More information about the dovecot mailing list