Submitted by sgrayban on Sun, 09/06/2009 - 16:09
I have tried multiple times to get the mail quota to report right but to no avail so I was wonder if there is a way to just zero out the stats for a domain and start over ?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sun, 09/06/2009 - 16:26 Comment #1
You can force Virtualmin to re-compute the quota for some or all domains from the original log files, at System Settings -> Bandwidth Monitoring -> Re-Compute Statistics. Is that what you are looking for?
Submitted by sgrayban on Sun, 09/06/2009 - 16:28 Comment #2
Already tried that and it didn't work. I just want to clear out all stats for any domain to zero.
Submitted by JamieCameron on Mon, 09/07/2009 - 01:28 Comment #3
The quick hack solution to do this is to edit the file under /etc/webmin/virtual-server with the domain's unique ID, and remove all lines except those starting with last_
Submitted by JamieCameron on Mon, 09/07/2009 - 01:28 Comment #4
Also, then run /etc/webmin/virtual-server/bw.pl
Submitted by sgrayban on Mon, 09/07/2009 - 01:42 Comment #5
Thanks...
Would be nice if you could add a "clear/zero bandwidth" button.
Submitted by JamieCameron on Mon, 09/07/2009 - 12:57 Comment #6
I'll add it to my TODO list. It doesn't get requested often though ..
Submitted by sgrayban on Mon, 09/07/2009 - 16:03 Comment #7
Ok thanks
Submitted by Issues on Thu, 09/24/2009 - 02:20 Comment #8
Automatically closed -- issue fixed for 2 weeks with no activity.