[Dovecot] Problem with ldap / quotas
Nikolaos Milas
nmilas at noa.gr
Fri Feb 25 13:04:05 EET 2011
Having received no reply on this, and trying to find my way through, I
came to the hypothesis that the mentioned line should go where we do
userdb lookups:
So in /etc/dovecot-passdb-ldap.conf (which is identical to
/etc/dovecot-usrdb-ldap.conf), we should add:
hosts = localhost
tls = no
base = ou=people, dc=example, dc=com
scope = subtree
ldap_version = 3
dn = uid=authenticate,ou=System,dc=example,dc=com
dnpass = *************
auth_bind = yes
user_filter = (uid=%u)
pass_filter = (uid=%u)
pass_attrs = uid=user,userPassword=password
auth_bind_userdn = uid=%u,ou=people,dc=example,dc=com
user_attrs = roomNumber=quota_rule=*:bytes=%$,uid=home=/home/vmail/%u
deliver -f $FROM_ENVELOPE -d $DEST_USERNAME
So, we change the last line from:
user_attrs = roomNumber=quota_rule=*:bytes=%$,uid=home=/home/vmail/%u
to:
user_attrs = roomNumber=quota_rule=*:bytes=%$,uid=home=/home/vmail/%u
deliver -f $FROM_ENVELOPE -d $DEST_USERNAME
Is this correct?
If not, please can someone clarify where exactly "deliver -f
$FROM_ENVELOPE -d $DEST_USERNAME" should be called (when we do userdb
lookups over LDAP)???
Thanks,
Nick
On 23/2/2011 10:01 πμ, Nikolaos Milas wrote:
>
> Also, the line:
>
> deliver -f $FROM_ENVELOPE -d $DEST_USERNAME
>
> should be put in the main ("root") part of dovecot.conf ?
>
More information about the dovecot
mailing list