DH Jon,
Wednesday, January 25, 2006, 2:48:41 AM, you wrote:
JS> Tracked down a bug that was causing our users to exceed their quota
JS> without any mail in their boxes.
--- hi Jon, i'm facing the same problem too here, some of users always exceeded
their quota without any email in their mail box
On 2/5/06, Tom Collins <[EMAIL PROTECTED]> wrote:
> There's probably a problem elsewhere in the maildirquota code, where we
> use an unsigned long instead of a long.
Sounds good to me, I'll be back in there today as...
> When you made the change, did the problem go away?
It seems to have made i
I think you've misdiagnosed the problem.
As written, n is defined as a long when sscanf is called. It probably
isn't a grand idea to re-use the variable name, but it is a long. I'm
sure this problem would have cropped up earlier if not.
There were some changes to maildirquota.c for the 5.4.
Tracked down a bug that was causing our users to exceed their quota
without any mail in their boxes.
Deleted mail with entries in the maildirsize showing as
" -4804-1"
are parsed incorrectly by the sscanf in maildirsize_read() in file
maildirquota.c at line 335:
sscanf(q, "%ld %d"