[Dovecot] My "%%" variables in the namespace settings do not appear to be expanding.

Timo Sirainen tss at iki.fi
Thu Sep 2 17:44:18 EEST 2010


On Tue, 2010-08-31 at 11:33 +0100, Kenneth Cope wrote:
> namespace {
>   inbox = yes
>   location = 
>   prefix = 
>   separator = .
>   type = private
> }

This is ok.

> namespace {
>   hidden = yes
>   inbox = no
>   list = no
>   location = 
>   prefix = INBOX
>   separator = .
>   type = private
> }

This doesn't much make sense and I doubt Dovecot actually uses it for
anything. Just remove it.

> namespace {
>   list = children
>   location = maildir:%%h:LAYOUT=maildir++:INDEX=~/shared.%Dn_%Dd
>   prefix = shared/%n@%d.

I forgot, prefix here should contain %%u, not %u, because %u gets
expanded to your own username while you want it to be expanding to other
users' username.. I'll add a check against this.



More information about the dovecot mailing list