hi: I know maildirsize is not accurate. but I think I need it for dovecot and squirrelmail quota plugin to report quota to users. many users complain about their incorrect quota information after I upgrade to 5.4.30 + dovecot. I don't know if vpopmail will be work better with courier-imap?
the procedure to trigger vdelivermail user_over_quota is below: 1. create an account with 100M quota. 2. send some small mails to the account 3. create 6 10M files directly to the Maildir. (like: dd if=/dev/zero of=file ...) 4. wait a few minutes for vusaged. then use vuserinfo to check the quota is about 60% now. 5. send an small mail to the account, vdelivermail report user_over_quota. 2010/6/24 Matt Brookings <m...@inter7.com>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/24/2010 06:01 AM, d tbsky wrote: >> hi: >> I was using vpopmail 5.4.17 with cdb module and courier-imap 3.0.x >> for several years. I never notice any problem about quota before. I >> upgrade my linux os and update vpopmail to 5.4.30 and switch to >> dovecot several weeks ago. then many people complain that >> their usage quota information is not correct.I write a script to check >> the quota and find that "vuserinfo" did show wrong quota information. >> >> I also tried to use "vusaged" in 5.4.30. it is very accurate. but it >> didn't update the "maildirsize" file. and "vdelivermail" may report > > The maildirsize file is the whole problem with the quota calculation. > It often gets out of sync between processes, and slowly becomes very > incorrect. Deleting this file should return the quota calculation to > normal for a period of time. > >> "user_over_quota" although nobody is over quota. so "vusaged" is not >> useable for me, although I like the accuracy of it. > > Can you reproduce vdelivermail reporting that a user is over quota > when they are not, with the vusage daemon? > > If so, what are the steps? > >> so I want to know what is the last stable vpopmail version of >> old-style quota? I tried 5.4.28, but it is not accurate. > > 5.4.28 and 5.4.30 have the same quota code. > - -- > /* > Matt Brookings <m...@inter7.com> GnuPG Key FAE0672C > Software developer Systems technician > Inter7 Internet Technologies, Inc. (815)776-9465 > */ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkwjZFwACgkQIwet2/rgZyxBYgCfdSKj6DKWanpUJwjHksZZttfN > LcEAmQGITk0A7+tNqkFVipU/Hi73VPMq > =aPLD > -----END PGP SIGNATURE----- > !DSPAM:4c2aa2c332718996316730!