[Dovecot] dovecot 1.1.1 dbox public namespace problem / solved workaround

Robert Schetterer robert at schetterer.org
Sat Jul 12 14:58:51 EEST 2008


Robert Schetterer schrieb:
> Hi @ll
> 
> i have somthing like
> 
> namespace public {
>   separator = /
>   prefix = "public/"
>   location = dbox:/usr/local/virtual/%d/public
>   inbox = no
>   list = yes
>   subscriptions = yes
>   hidden = no
> }
> 
> which works nice if i set
> location = maildir:/usr/local/virtual/%d/public
> 
> %d expansion works right with maildir
> 
> but if user mailboxes are on dbox with public namespace
> too, dovecot produces  %d directory on the filesystem in 
> /usr/local/virtual/ ,instead
> of expansion named domainname directory at new user creation time 
> invoked from mail by lda
> 
> i guess its some config bug from me
> but i cant find somthing, same config with maildir works nice, maybe 
> some variables  differ using dbox ( ie. with home and location )

for some reasons with home dir
lda dbox with public namespaces behave not like with maildir
it ignores %d domain expansion, , i found a workaround in setting

userdb static {
   args = uid=vmail gid=vmail home=/usr/local/virtual/%d/
}

additional to the sql userdb entries
-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


More information about the dovecot mailing list