[Dovecot] Per user mail quota via LDAP
tss at iki.fi
Mon Oct 20 19:43:19 EEST 2008
On Oct 20, 2008, at 7:37 PM, Proskurin Kirill wrote:
> 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?..
By mail_uid, mail_gid and mail_location I meant the settings in
dovecot.conf. And by "attribute templates" I also didn't mean adding a
new field but kind of kludging around with the user_attrs syntax. So
you don't need to add any more fields to LDAP.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081020/2e5444c6/attachment.bin
More information about the dovecot