l.chelchowski at eurocar.pl
2012-Feb-20 11:59 UTC
[Dovecot] virtual plugin and shared namespace
Hi,
I have a problem with virtual plugin and geting mails form shared
namespace.
dovecot-virtual:
----
Shared/*
Public/*
*
unseen
----
dovecot.conf:
----
namespace {
inbox = yes
location prefix separator = /
type = private
}
namespace {
list = children
location =
maildir:/home/vmail/public/:CONTROL=/var/mail/vmail/%d/%u/control/public:INDEX=/var/mail/vmail/%d/%u/index/public:LAYOUT=fs
prefix = Public/
separator = /
subscriptions = yes
type = public
}
namespace {
list = children
location = maildir:%%h/:INDEX=/var/mail/vmail/%d/%u/index/shared/%%u
prefix = Shared/%%u/
separator = /
subscriptions = no
type = shared
}
namespace {
list = children
prefix = Virtual/
separator = /
location = virtual:~/virtual
}
----
When I enter the virtual mailbox Unread I get this debug info:
virtual mailbox Virtual/Unread: Skipping non-existing mailbox
Shared/test at domain.pl/
Is it a bug or misconfig?
--
?ukasz Che?chowski
On 20.2.2012, at 13.59, l.chelchowski at eurocar.pl wrote:> I have a problem with virtual plugin and geting mails form shared namespace. > dovecot-virtual: > ---- > Shared/* > Public/* > *..> When I enter the virtual mailbox Unread I get this debug info: > virtual mailbox Virtual/Unread: Skipping non-existing mailbox Shared/test at domain.pl/* matches only within namespace. Shared/* matches only the entries directly under Shared/, i.e. Shared/test at domain.pl itself. Shared/test at domain.pl/* would again be a separate namespace.> Is it a bug or misconfig?Maybe a "missing feature" :) I guess Shared/* should match all autocreated child namespaces.. This should help: http://hg.dovecot.org/dovecot-2.1/rev/10994a5b64e1