On Tue, 2009-05-12 at 18:04 +0100, ian@comtek.co.uk wrote:
Hi, I am using Dovecot 1.1.13 (from a Debian package). I was having problems using user_attrs to set 'mail' and 'home'. Initially I tried: user_attrs = uid=mail=maildir:/var/mail/virtual/users/%$/Maildir/,uid=home=/var/mail/virtual/users/%$/
You can't currently use the same LDAP field twice. I guess I could make it give an error message instead. Hopefully some day this will be supported though.
Note that 'home' seems to be set on the last line, but not 'mail'. I was hoping to see 'mail=/var/mail/virtual/users/uid/Maildir/'. Next I tried: user_attrs = =mail=maildir:~/Maildir/,uid=home=/var/mail/virtual/users/%$/
You can also not set "mail" here and instead just set mail_location=~/Maildir setting.