24 Jan
2007
24 Jan
'07
7:18 p.m.
On Wed, 2007-01-24 at 11:44 -0500, Justin McAleer wrote:
open("/var/mailstore/01/1a/301620/Maildir/./maildirsize", O_RDWR|O_APPEND) = 1016 read(1016, "1024S\n395 1\n397 1\n", 5120) = 18 read(1016, "", 5102) = 0 close(4294967295) = -1 EBADF (Bad file descriptor)
Thanks for the strace, I had tried to find this bug earlier also, but I didn't then notice the problem. Fixed here: http://dovecot.org/list/dovecot-cvs/2007-January/007518.html
On a side note, I'm just curious why it needs to read the maildirsize file for a fetch request anyway?
Hmm. Yea, that's a bit pointless. I should change the code to delay the quota counting until it's really needed.