The code for the maildirquota is verbatim from courier, copy/paste. I don't believe there's a problem with it, however from the start you always had problems with it.
This is the first time I've looked at that code. It works, but isn't documented well. It will cause a segfault if called with pathname that doesn't include "/Maildir/" in it.
You just didn't like anything about the approach. I tried to take the path of least resistance and replicate code that has been working for years, and just use it to iterate over multiple maildirs. I've been running it for easily over a year with no problems. If anything, its probably one of the extensions added since 5.3.19, which I'm still using and works perfectly fine.
You're right -- the new code that called that function was building an extra slash into the path. As long as the function is called with the right pathname, there isn't any problem. The fix is in CVS and will be in the 5.3.28 release later today.
-- Tom Collins [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/