1 message in net.sourceforge.lists.courier-sqwebmail[sqwebmail] I've found a bug on quota...
FromSent OnAttachments
Ivan de Gusmão ApolonioAug 27, 2004 7:44 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[sqwebmail] I've found a bug on quota systemActions...
From:Ivan de Gusmão Apolonio (sqwe@apolonio.com.br)
Date:Aug 27, 2004 7:44:30 pm
List:net.sourceforge.lists.courier-sqwebmail

I've installed qmail 1.03 whith the following patches:

qmail-1.03.errno.patch qmailqueue-patch doublebounce-trim.patch qmail-0.0.0.0.patch qmail-smtpd.c.size.diff qmail-maildir++.patch

Everything was compiled without any errors. I'm using vpopmail 5.4.5, courrier-imap 3.0.7 and sqwebmail 4.0.7 (compiled with --with-trashquota).

I was making some tests and discovered the following:

When I have, for example, a 5 MBytes quota and I have three 1.6 MB messages in my INBOX, sqwebmail shows I'm using 67% of my quota (it's OK!). If I exclude these messages to trash, sqwebmail still will be showing that I'm using 67% of my quota (it's OK!). Now, if I move back these messages to INBOX... (TADA!!) sqwebmail will show I'm using 0% of my quota.

While I was making this test, I tail -f /home/vpopmail/.../maildirsize and I was able to see that sqwebmail subtracts the messages from my "quota" file when I moving any message out the trash (eg. to INBOX again)

Is there anything can I do to solve this problem or it's really a bug?