OK this is what I now have. In dovecot.conf I put: userdb ldap { args = /usr/local/etc/dovecot-ldap.conf }
In dovecot-ldap.conf: hosts = 192.168.1.97 base = dc=atlas,dc=local auth_bind = yes scope = subtree auth_bind_userdn = atlas\%u user_filter = (&(objectClass=mailUser)(mail=%u)) default_pass_scheme = CRYPT pass_filter = (&(objectclass=person)(uid=%u)) pass_attrs = userPassword=password user_attrs = streetAddress=quota_rule=*:storage=%$M ,=uid=uid,=gid=gid,=home=/home/vmail/%u
And the quota in street address of AD
When I fire up thunderbird now, I see sending login information for a long time before it comes up and even when it does, I still see the general quota.
On Thu, Oct 15, 2009 at 12:40 PM, Timo Sirainen <tss@iki.fi> wrote:
On Thu, 2009-10-15 at 19:36 +0200, thedoghousemailcom wrote:
Hi Peter + Timo,
I think the solution is the right order in dovecot.conf:
"userdb ldap" should stand in front of "userdb static".
Well, if that's done then userdb static is used only when user isn't found from ldap. And I guess that should normally never happen..