[Dovecot] Quotas from LDAP
Timo Sirainen
tss at iki.fi
Wed Feb 23 01:34:52 EET 2011
On 23.2.2011, at 1.27, Sven Hartge wrote:
>>> So, %$ ist always the value of the referenced attribute? What if
>>> there are multiple values, by accident or by design?
>
>> Won't work right now.
>
> Will it cause the mail to be bounced or just deferred? Or just ignored
> and the first/last/random multi-value used? (I would try this for
> myself, but I have no test-VM right now to do so.)
%$ will simply be expanded to the same value however many times you use it (within the same , .., parameter).
>> I was planning on something like:
>
>> user_attrs {
>> home = %{homeDirectory}
>> quota_rule = *:bytes=%{quotaBytes}
>> }
>
>> And of course you would be able to mix and match the
>> %{whatever-ldap-value} attributes.
>
> Would be very nice. I could do the following then:
>
> user_attrs {
> home = %{homeDirectory}
> quota_rule = *:bytes=%{quotaBytes}:messages=%{quotaMessages}
> quota_rule2 = %{quotaRule2}
> }
Yeah.
> Without sounding to "pushy": Do you have a timeline for this?
No. I added it to my TODO list about 2-3 years ago.
More information about the dovecot
mailing list