[Dovecot] vpopmail and shared mailbox
Timo Sirainen
tss at iki.fi
Mon Jul 20 21:01:20 EEST 2009
On Mon, 2009-07-20 at 10:46 -0700, David Fuchs wrote:
> namespace shared {
> separator = .
> prefix = shared.%%u.
> location =
> maildir:/home/vpopmail/domains/%%d/%%n/Maildir:INDEX=~/Maildir/shared/%%u
> subscriptions = no
> list = yes
> }
..
> however, when I connect to the server, the client does not see the "shared"
> namespace. also, dovecot seems to be creating empty shared-mailboxes.db in
> /home/vpopmail/domains/example/ (missing .com!).
The problem is hierarchy separator. If you have user at example.com, the
mailbox looks like:
shared.user at example.com.INBOX
And Dovecot thinks you're opening "user at example"'s "com.INBOX" mailbox.
So you can't really use domains with '.' separator. One solution would
be to use another separator, like '/'. Another would be to create
separate namespaces for each domain, like:
namespace shared {
prefix = shared.example_com.
location = maildir:/home/vpopmail/domains/example.com/%%n/Maildir:INDEX=~/Maildir/shared/%%n at example.com
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090720/09dd1563/attachment-0001.bin
More information about the dovecot
mailing list