[Dovecot] 1.1 master auth not expanding static userdb variables

Timo Sirainen tss at iki.fi
Mon Mar 10 04:27:17 EET 2008

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.
> 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 correctly? dovecot-auth should already do the %Lu
expansion, not deliver/master. Set auth_debug=yes and see what it shows
in "Master out" line?

I couldn't reproduce this, %Lu was always expanded. I did find a crash
though: http://hg.dovecot.org/dovecot-1.1/rev/2d3b9a6d23f5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080310/2c60fdf0/attachment.bin 

More information about the dovecot mailing list