On Sun, 2008-08-31 at 18:47 -0700, Patrick Medina wrote:
--- On Mon, 9/1/08, Timo Sirainen tss@iki.fi wrote:
From: Timo Sirainen tss@iki.fi Subject: Re: [Dovecot] GETQUOTAROOT (part 2) To: cpjmedina@yahoo.com Cc: dovecot@dovecot.org Date: Monday, September 1, 2008, 1:55 AM On Aug 31, 2008, at 8:34 PM, Patrick Medina wrote:
Did some further testing:
- maildirsize was initially = 5119 bytes
- login via imap command line, verified GETQUOTAROOT returns correct quota, then logged out
- sent test email and is delivered by deliver
- maildirsize is updated but now = 5126 bytes (i.e. it is _not_ recreated)
- log in again and GETQUOTAROOT now returns empty
- quota thereafter no longer works
OK, that's clearly a bug. If it's not gone in v1.1 I'll look at it again. And in any case it would be more reliable if you could have your userdb return the quota
Upgraded to 1.1.2 from atrpms.net but I'm still getting the same behavior. I am trying to look at the quota plugin source (e.g. quota-maildir.c), but I'm very rusty in that aspect already. Thank you.
This should help: http://hg.dovecot.org/dovecot-1.1/rev/a80719eac45d