[Dovecot] user_attrs seems not to set 'mail'.

Timo Sirainen tss at iki.fi
Tue May 12 20:37:24 EEST 2009


On Tue, 2009-05-12 at 18:04 +0100, ian at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090512/56a1aa66/attachment-0001.bin 


More information about the dovecot mailing list