Re: [Dovecot] update of current quota usage

2009-03-20 Thread Timo Sirainen
On Fri, 2009-03-20 at 19:10 +0100, fl...@pbartels.info wrote: > > If you removed spam messages and purged trash via IMAP you wouldn't have > > to worry about updating quota. > > > > I mean if you do this directly on the server using a "croned" script. Yes, but I meant that you could rewrite your

Re: [Dovecot] update of current quota usage

2009-03-20 Thread floss
Timo Sirainen wrote: On Fri, 2009-03-20 at 18:47 +0100, fl...@pbartels.info wrote: > Yes. It's too much work for Dovecot to try to figure out all the > different things you might be doing under it. You can anyway easily make > Dovecot recalculate the quota: delete the user's quota usage row fr

Re: [Dovecot] update of current quota usage

2009-03-20 Thread Timo Sirainen
On Fri, 2009-03-20 at 18:47 +0100, fl...@pbartels.info wrote: > > Yes. It's too much work for Dovecot to try to figure out all the > > different things you might be doing under it. You can anyway easily make > > Dovecot recalculate the quota: delete the user's quota usage row from > > the database.

Re: [Dovecot] update of current quota usage

2009-03-20 Thread floss
Timo Sirainen wrote: On Fri, 2009-03-20 at 11:43 +0100, fl...@pbartels.info wrote: For example I copy some mailboxes to my server, then the current quota for this mailboxes is still zero. Is it correct that dovecot can't do this for me? Yes. It's too much work for Dovecot to try to figure o

Re: [Dovecot] update of current quota usage

2009-03-20 Thread Timo Sirainen
On Fri, 2009-03-20 at 11:43 +0100, fl...@pbartels.info wrote: > For example I copy some mailboxes to my server, then the current quota > for this mailboxes is still zero. > > Is it correct that dovecot can't do this for me? Yes. It's too much work for Dovecot to try to figure out all the differ

[Dovecot] update of current quota usage

2009-03-20 Thread floss
Hello, I use Dovecot 1.1.11 and store the current quota usage in a Database. As far I can see it, the quota usage is updated each time dovecot performs an action on a mail. For example if a new mail is stored in the inbox, the current quota usage is increased. If a mail is deleted the quot