wrong bandwidth reporting

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 ?

Closed (fixed)


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?

Already tried that and it didn't work. I just want to clear out all stats for any domain to zero.

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_

Also, then run /etc/webmin/virtual-server/bw.pl


Would be nice if you could add a "clear/zero bandwidth" button.

I'll add it to my TODO list. It doesn't get requested often though ..

Automatically closed -- issue fixed for 2 weeks with no activity.