[Dovecot] imapc and imap_acl

Lutz Preßler Lutz.Pressler at SerNet.DE
Tue Sep 13 19:46:31 EEST 2011


On Di, 13 Sep 2011, Timo Sirainen wrote:

> On 13.9.2011, at 19.12, Lutz Preßler wrote:
> 
> > yes, I know... maybe it's a bit far fetched, but I do have a use case.
> > Would it be (reasonably easily) possible to implement IMAP ACL
> > support for "imported" imapc namespaces/mailboxes?
> > There is no local directory (like with the virtual plugin) yet...
> 
> You mean you'd want local ACLs that apply to imapc mailboxes?
Yes, exactly. Great for "integrating" legacy IMAP servers without e.g.
ACL support.
> I think that should work. For example if you set:
> 
> mail_location = imapc:~/imapc
Oh, had not realized that a path argument is possible for imapc:. There are
even index file then...
> 
> Then for mailbox foo/bar the ACL file should be in ~/imapc/.foo.bar/dovecot-acl
It almost works:
Sep 13 18:37:58 hhh dovecot: imap(4482, uuu): Error: file_dotlock_open(/home/uuu/Maildir/gmail/.[Gmail].Alle Nachrichten
/dovecot-acl) failed: No such file or directory
After manually creating the ".[Gmail].Alle Nachrichten" directory, SETACL
succeeds.
> 
> "Proxying" remote IMAP ACLs isn't possible and I'm not sure how that could be nicely implemented.
Would surely have it's use, too (but not here at the moment).

Thanks,
  Lutz




More information about the dovecot mailing list