[Dovecot] dovecot-lda setting quota rules

Timo Sirainen tss at iki.fi
Fri Aug 3 02:27:01 EEST 2012


On 3.8.2012, at 2.13, Lazy wrote:

>> dovecot-lda -o plugin/quota_rule=*:storage=1G
>> 
> 
> thank You !
> 
> This is simple and elegant.
> 
> Sill I need this to be taken from environment, I produced a simple
> patch adding one '-o' from an environment variable.

You can also set environment:

PLUGIN/QUOTA_RULE=*:storage=1G

and then use dovecot-lda -k parameter.

And if even that doesn't work, you could simply create a wrapper script.

> If You consider this useful I can try and make it more generic, enable
> multiple option overriding.

You can also give -o parameter multiple times.



More information about the dovecot mailing list