Re: [Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-09 Thread Andrew Roberts
On Mon, 10 Mar 2008, Timo Sirainen wrote: Do you mean it creates /var/mail/%Lu directory and changing namespace location changes this to e.g. /var/mail/test tries to create that instead of %Lu? That's right. Changing it to /var/mail/%u creates a directory named "%u". Same for "test". The "

Re: [Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-09 Thread Timo Sirainen
On Sun, 2008-03-09 at 21:18 -0700, Andrew Roberts wrote: > Here's the output of dovecot -n > # 1.1.rc3: /etc/dovecot/dovecot.conf BTW: > mail_location: maildir:/var/mail/%Lu This is never used, because you specified it in namespace: > namespace: >type: private >separator: . >locatio

Re: [Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-09 Thread Timo Sirainen
On Sun, 2008-03-09 at 21:18 -0700, Andrew Roberts wrote: > >> After upgrading to 1.1_rc2, however, deliver creates a maildir named "%Lu" > >> and delivers all mail for all users to it. > > > > Is the %Lu from home=/var/mailhomes/%Lu user from user=%Lu? Do either of > > them get expanded correct

Re: [Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-09 Thread Andrew Roberts
Timo Sirainen wrote: On Sat, 2008-03-08 at 13:21 -0800, Andrew Roberts wrote: Dovecot is configured with static userdb and args = user=%Lu uid=206 gid=206 home=/var/mailhomes/%Lu, which takes care of making sure the username is lowercase. All of this has been working fine for some time with d

Re: [Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-09 Thread Timo Sirainen
On Sat, 2008-03-08 at 13:21 -0800, Andrew Roberts wrote: > Dovecot is configured with static userdb > and args = user=%Lu uid=206 gid=206 home=/var/mailhomes/%Lu, which takes > care of making sure the username is lowercase. All of this has been > working fine for some time with dovecot-1.0. >

Re: [Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-08 Thread Anders
Andrew Roberts wrote: After upgrading to 1.1_rc2, however, deliver creates a maildir named "%Lu" and delivers all mail for all users to it. Everything else works just fine as before: users can log in, postfix can auth smtp via dovecot sasl, etc. I think you need this patch, http://hg.do

[Dovecot] 1.1 master auth not expanding static userdb variables

2008-03-08 Thread Andrew Roberts
Can dovecot-1.1 deliver work with static userdb? I'm currently running dovecot-1.0.12 and postfix-2.4.6, with virtual users' maildirs all owned by vmail and mail_location = maildir:/var/mail/%Lu. The following definition of the dovecot transport in postfix/master.conf works fine with dovecot-