[Dovecot] dovecot-lda quota rule

micah anderson micah at riseup.net
Wed Nov 16 18:09:12 EET 2011


On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen <tss at iki.fi> wrote:
> On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote:
> > I really like the feature where you can define quota rules with percents
> > which trigger off of the default values[0] (so you can set the Trash to
> > allow for 10% more of the user's quota for example). 
> > 
> > What I would really love in dovecot would be for the ability to
> > configure a quota rule for dovecot-lda. I would like to configure things
> > so we don't bounce emails for users until they are well over quota, the
> > IMAP quota plugin is a really great way to notify people that they are
> > over quota because it fails to write to other folders.... that should be
> > enough to get people's attention that they need to deal with things, but
> > bouncing is harsh.
> 
> You can give LDA-specific quota settings. Like maybe:
> 
> protocol lda {
>   plugin {
>     quota_rule2 = INBOX:storage=200%
>   }
> }

Aha! Just what I was looking for. I presume the number following
'quota_rule' must be an unique number across all quota_rules in my
config?

> or even not enforcing quota at all:
> 
> protocol lda {
>   plugin {
>     quota = maildir:User quota:noenforcing
>   }
> }

I was not aware of the noenforcing option, that answered another
question I had not asked yet, so thanks for that! :)

micah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20111116/2b3847d8/attachment-0004.bin>


More information about the dovecot mailing list