[Dovecot] Update from 1.0.10 -> 1.1rc1: quota warning not working anymore

Timo Sirainen tss at iki.fi
Tue Feb 26 15:18:34 EET 2008


On Tue, 2008-02-26 at 14:05 +0100, Ralf Hildebrandt wrote:
> > > Using:
> > >   quota: maildir
> > >   quota_rule: Trash:storage=100M
> > >   quota_warning: storage=90%% /usr/local/scripts/quota-warning 90
> > >   quota_warning2: storage=95%% /usr/local/scripts/quota-warning 95
> > >   quota_warning3: storage=99%% /usr/local/scripts/quota-warning 99
> > > now :)
> > 
> > Aren't there other quota rules? You've here specified that Trash mailbox
> > has 100MB quota, but other mailboxes don't have any. Or do you get a
> > quota_rule2 from userdb?
> 
> I thought the rest would be fetched from $HOME/Maildir/maildirsize!!

Now that I looked at the code, surprisingly it does. :) But this is also
the reason why the quota warnings don't work. They calculate the
percentage from the quota_rule=* line. Since it doesn't exist, those are
all calculated to storage=0. I'll see if I can do something about it.

> * users have 500M usually
> * except I manually edit their HOME/Maildir/maildirsize

This isn't possible currently. There's no way to define "use
maildirsize, but use a default if it doesn't exist". Creating the file
with post-login scripting would be one possibility. But I'll see if I
can do something about this as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080226/6a8f69d5/attachment.bin 


More information about the dovecot mailing list