Hi all and MrSam: I encouter a quota problem, when i move some mail from TRASH to other folder, quota message become uncorrect!! For example, i have a mail user call: guest, quota is 10MB I assume no mail in this mailbox, so quota usage will be : 0%
when i send 2 mails (both sizes = 2MB) to guest, login in sqwebmail.quota usage will be : 40%, it's right. but When i move one mail from INBOX to TRASH, quota usage changed from 40% to 20% (This mechanism perhaps is not right? i just "move" not "delete" from mailbox!!) ok, let's go, change into TRASH folder and move this mail to other folder , assume move to INBOX again, things appear again, quota usage decrease again!! From 20% to 0% !!!!!Is this a bug ?or just a mechanism of sqwebmail? I read sqwebmail-x.x.x/sqwebmail/maildir.c , i guess thant do_msgmove() do the job and update quota file , maildirsize. But i'm very doubtful that *moving* a mail from one folder to another should need to update quota file? *Move* is much different from "Delete" i think!.. Is that any suggestion about this problem ?Or this is a bug in sqwebmail? I commented one maildir_quota_delete() function call in do_msgmove to advoid it happens, succeed in moving mail from *NONE* trash folders to trash, but failed with moving from trash to others, quota usage still decreased..:(( ------------------------------------------ Power by LDAPmailer - by [EMAIL PROTECTED] Commerical support - mail me or visit: http://devel.hzqbbc.com for more detail :) ------------------------------------------
