[Dovecot] Managesieve Quota
Timo Sirainen
tss at iki.fi
Tue Sep 30 20:49:12 EEST 2008
On Tue, 2008-09-30 at 10:47 -0700, Seth Mattinen wrote:
> Timo Sirainen wrote:
> > Maybe I'm overthinking the problem. There probably won't be more than a
> > few scripts. It's probably simplest if the quota is always just
> > recalculated by lstat()ing the files.
>
>
> Pretty much what I was thinking about doing. Calculate total size of the
> sieve scripts and compare it to a config setting. In watching my
> customers use Sieve, there is never more than a few scripts since Sieve
> only lets you have one script active at a time anyway. If they create
> more than one it's so they can test changes.
I haven't looked at managesieve code, but it would also be nice if it
wasn't possible to send it gigabytes of data and cause it to save it to
disk and only after then check the quota. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080930/73c98aa9/attachment-0001.bin
More information about the dovecot
mailing list