[Dovecot] Per user mail quota via LDAP

Proskurin Kirill k.proskurin at fxclub.org
Mon Oct 20 19:37:13 EEST 2008


Timo Sirainen wrote:
> On Oct 20, 2008, at 7:27 PM, Proskurin Kirill wrote:
> 
>> Timo Sirainen wrote:
>>>> I edit my static db to this(from wiki):
>>> You need to use userdb ldap then.
>>
>> I actual use it and it work well.
> 
> But do you now have both static and ldap userdb? You can only use one 
> (for one user). If you've static userdb defined before ldap userdb, it's 
> used always and ldap userdb is ignored.
> 
>> I try to add this in dovecot-ldap.conf:
>> user_attrs = mailQuotaSize=quota_rule=*:storage=%$M
> 
> That looks correct. You'll also need to put the other stuff in your 
> current static userdb elsewhere (mail_uid, mail_gid, mail_location for 
> uid/gid/mail and for home you could user ldap attribute templates, see 
> http://wiki.dovecot.org/AuthDatabase/LDAP).
> 

Understand. Sad. I don`y really need to add same uid\gid to all LDAP 
account but I need personal LDAP quota.

No way to avoid this?..

-- 
Best regards,
Proskurin Kirill


More information about the dovecot mailing list