14 Oct
2010
14 Oct
'10
8:07 p.m.
On Mon, 2010-10-11 at 11:13 -0600, Trever L. Adams wrote:
user_attrs = =homeDirectory=/home/vmail/%d/%n,
This can be alternatively done by putting to dovecot.conf:
mail_home = /home/vmail/%d/%n
=mail=maildir:/home/vmail/%d/%n,
Don't put this here, rather just do it like everyone else:
mail_location = maildir:~/
But then again, you should also read http://wiki2.dovecot.org/VirtualUsers/Home
uid=vmail, gid=vmail
This isn't right. You probably wanted =uid=vmail, =gid=vmail. But this is again done easier by setting:
mail_uid = vmail mail_gid = vmail
So all in all, your user_attrs could probably just be empty and you should probably remove userdb ldap completely from your config to avoid unnecessary userdb lookups.