[Dovecot] Public folders using NAMESPACE

Timo Sirainen tss at iki.fi
Tue Apr 17 13:58:11 EEST 2007


On Tue, 2007-04-17 at 03:48 -0700, Joakim Ryden wrote:
> 
> With this, "Public Folders" shows up (testing with Thunderbird) but
> not as an
> italic special folder (does that make sense?) as it does on all other
> accounts I
> have on other servers which support public folders. 

I think I heard that Thunderbird uses IMAP ACL extension to check if
some mailbox is shared or not. Dovecot doesn't support IMAP ACL
extension yet. Or it might be something else too I suppose.

> which also shows up nicely, I can copy email in there and subscribe
> and
> unsubsribe to this subfolder, but clicking on "Public Folders" gives:
> Mailbox
> doesn't exist: Public Folders. which I'm sure is because I've missed
> or
> misunderstood something :)  Any ideas?

Well, unfortunately that doesn't work. Dovecot doesn't currently support
subscribing to namespace prefixes, only to mailboxes inside the
namespace. You might be able to kludge around that by making the
subscription go to the private namespace. Either manually updating the
subscriptions file, or removing this code from
src/imap/cmd-subscriptions.c:

	if (!client_verify_mailbox_name(cmd, verify_name, subscribe, FALSE))
		return TRUE;

Actually another problem you're going to have is those shared namespace
subscriptions, unless you want to force every user to have same ones. If
you don't, you'll need to set CONTROL path to user-specific directory.

For Dovecot v1.1 I'll try to figure out how to make all this work
better.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070417/73ff0b96/attachment.pgp 


More information about the dovecot mailing list