Hello, I intend to use maildir Quota for measurement only, not for applying restrictions. Therefore I defined rather high values. That's working as expected. Nevertheless it's not useful, because the recalculation time is to high. This takes some minutes for my own mailaccount with 250.000 mails on a NFS storage. This would be to bad, but whilst this time, the Mailclient hangs. Probably our users woulnd't accept this. Can this be done in the background? Furthermore I noticed that recalculation occurs after the file maildirsize gets longer than 30 lines (around 250-300 bytes) and not after 5120 bytes as the wiki states. Do I do/understand something wrong or is this a bug? Probably a nightly cronjob, which does calculation of Maildir-size would be a more useful alternative. Regards, Ingo Rogalsky
I think you have answered your own question at the bottom! Mark. On 23 Nov 2007, at 10:12, Ingo Rogalsky <rog7993 at web.de> wrote:> Hello, > > I intend to use maildir Quota for measurement only, not for applying > restrictions. Therefore I defined rather high values. That's working > as > expected. Nevertheless it's not useful, because the recalculation time > is to high. This takes some minutes for my own mailaccount with > 250.000 > mails on a NFS storage. This would be to bad, but whilst this time, > the > Mailclient hangs. Probably our users woulnd't accept this. Can this be > done in the background? > > Furthermore I noticed that recalculation occurs after the file > maildirsize gets longer than 30 lines (around 250-300 bytes) and not > after 5120 bytes as the wiki states. Do I do/understand something > wrong > or is this a bug? > > Probably a nightly cronjob, which does calculation of Maildir-size > would > be a more useful alternative. > > Regards, > > Ingo Rogalsky
On Fri, 2007-11-23 at 11:12 +0100, Ingo Rogalsky wrote:> I intend to use maildir Quota for measurement only, not for applying > restrictions. Therefore I defined rather high values."0" values would have worked as well (I think, at least works in v1.1).> That's working as > expected. Nevertheless it's not useful, because the recalculation time > is to high. This takes some minutes for my own mailaccount with 250.000 > mails on a NFS storage. This would be to bad, but whilst this time, the > Mailclient hangs. Probably our users woulnd't accept this. Can this be > done in the background?Not really. Dict quota would be better for you I think, although it doesn't work very well in v1.0 either :)> Furthermore I noticed that recalculation occurs after the file > maildirsize gets longer than 30 lines (around 250-300 bytes) and not > after 5120 bytes as the wiki states. Do I do/understand something wrong > or is this a bug?Actually I did find a bug from there which could have caused this. Fixed: http://hg.dovecot.org/dovecot-1.0/rev/288fd70ac258 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071123/87f9c3b8/attachment-0002.bin>
> Probably a nightly cronjob, which does calculation of Maildir-size would > be a more useful alternative.Beware of this. At some point you'll travel and end up needing mail quickly at the time of your cron job. Been there, done that :) johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071123/f3f0c2bb/attachment-0002.bin>
Hello, On Fri, Nov 23, 2007 at 12:36:54PM +0200, Timo Sirainen wrote:> On Fri, 2007-11-23 at 11:12 +0100, Ingo Rogalsky wrote: > > > Furthermore I noticed that recalculation occurs after the file > > maildirsize gets longer than 30 lines (around 250-300 bytes) and not > > after 5120 bytes as the wiki states. Do I do/understand something wrong > > or is this a bug? > > Actually I did find a bug from there which could have caused this. > Fixed: http://hg.dovecot.org/dovecot-1.0/rev/288fd70ac258This solves the issue. Thanks. Nevertheless I'm going to disable the quota plugin because of the long recalculation time and imap clients not usable during this. But one more question: Would it be possible to disable the recalculation and do this with a nightly cronjob, which scans all mail accounts? Ingo