Is the problem that mail doesn't actually get deleted when IDLE is used, or that a client being in IDLE is somehow causing qmail-local to give the quota errors incorrectly? I can't see how the latter would be possible, IDLE really has nothing to do with quota..
Just a thought...could it be that IDLE prevents a neccessary file handle from being released?
Sincerely, - Wouter van der Schagt