Robert Schetterer
2008-Jul-11 14:27 UTC
[Dovecot] dovecot 1.1.1 dbox public namespace problem
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 ) -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Robert Schetterer
2008-Jul-12 11:58 UTC
[Dovecot] dovecot 1.1.1 dbox public namespace problem / solved workaround
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
On Fri, 2008-07-11 at 16:27 +0200, Robert Schetterer wrote:> 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 maildirNo, it was broken with both, but only in deliver. Fixed: http://hg.dovecot.org/dovecot-1.1/rev/33b842ef38b6 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080712/9f3954c8/attachment-0002.bin>