[Dovecot] Quota based on LDAP group

Timo Sirainen tss at iki.fi
Mon Jun 24 23:01:54 EEST 2013


On 24.6.2013, at 16.35, Pavel Herrmann <morpheus.ibis at gmail.com> wrote:

> I have a setup where my dovecot (2.0, if that makes a difference) authenticates 
> against an LDAP directory. In my scenario, I have two types of users, lets 
> call them "normal" and "privileged". What I need is for the normal user to 
> have a fixed quota, but for the priviledged to have none. (The users do not 
> exist on the underlying system, so I cant do quota based on FS)
> 
> The issue is that my LDAP is actually an AD, and there is a fair amount of new 
> accounts over the time (in other words, I cannot use LDAP attribute for 
> storing quota, because the AD tools don't understand it, and I would have to 
> add it manually for each new account).
> 
> The approach I had in mind is using quota based on user group (I do have 
> groups representing both normal and priviledged users), but I cannot find a way 
> to set it up in dovecot.
> Am I missing something or does dovecot not support LDAP groups as attribute 
> source?

Sounds like you need to do two LDAP lookups and merge them. That requires Dovecot v2.2.



More information about the dovecot mailing list