Submitted by it_onyxar on Thu, 02/25/2010 - 00:22
Hey,
I have enabled "Disk Quota Monitoring". The problem is that it is not monitoring all the mailboxes of all domains. Only few domains are monitored. I tried to play around with few different settings but no good result.
Can someone please help getting it aligned.
Regards Misbah
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 02/25/2010 - 17:15 Comment #1
Is there a particular mailbox that you think it should be sending warning email about which is being missed?
If so, try SSHing in as root and running the command
/etc/webmin/virtual-server/quotas.pl --debug
And posting the output here, along with information about the user's current usage and quota limit.
Submitted by it_onyxar on Tue, 03/30/2010 - 04:02 Comment #2
Hi,
I have attached the file with the debug info. It misses all the domains of onyxar.com the usernames are w.ghazi@onyxar.com (usage: 98MB Limit: 100MB) fadhlu@onyxar.com (usage:19.84MB Limit: 20MB) report@onyxar.com (usage:24.73MB) Limit:25MB
The same happens for other domains even.
Regards Misbah
Submitted by JamieCameron on Tue, 03/30/2010 - 11:23 Comment #3
One possible cause is that Virtualmin thinks it has already send a recent email to those users.
Try deleting the file /etc/webmin/virtual-server/quotas-warnings , which resets all the last-email times, then running quotas.pl again.
Submitted by it_onyxar on Mon, 04/05/2010 - 06:39 Comment #4
No changes, I have attached the output.
Submitted by it_onyxar on Mon, 04/05/2010 - 06:40 Comment #5
testing to add subscription
Submitted by JamieCameron on Mon, 04/05/2010 - 13:07 Comment #6
Could you run the following command, and post the output here :
virtualmin list-users --domain onyxar.com --user w.ghazi --multiline
I'd like to see what Virtualmin thinks the real disk usage and quota is.
Submitted by it_onyxar on Sat, 04/17/2010 - 05:04 Comment #7
Please find attached the report.
This time I issued the command
/etc/webmin/virtual-server/quotas.pl --debug
and then issued this command
virtualmin list-users --domain onyxar.com --user h.zirky --multiline
since h.zirky user account quota is used 19MB out of 20MB allowed.
Regards Misbah
Submitted by JamieCameron on Sat, 04/17/2010 - 18:55 Comment #8
Ok, I think I see the cause now .. is the virtual server onyxar.com a sub-server or a top-level server?
Because there is a bug that prevents mailbox quota checking on sub-servers :-(
Submitted by it_onyxar on Sun, 04/18/2010 - 06:31 Comment #9
Yea, its a sub server. Also it doesn't report quota's for all sub servers.
Is there anyway to fix this bug or any workaround?
Submitted by JamieCameron on Sun, 04/18/2010 - 13:59 Comment #10
If you need a quick fix, I could send you an updated package?
Submitted by it_onyxar on Mon, 04/19/2010 - 02:14 Comment #11
Does that require a down time? Is that a update to complete application or just a part of application?
If you you suggest me to apply it to live environment, then please send it.
Submitted by JamieCameron on Mon, 04/19/2010 - 12:11 Comment #12
No, there will be no down-time.
Are you running Virtualmin GPL or Pro, and on which Linux distribution?
Submitted by it_onyxar on Sat, 04/24/2010 - 06:05 Comment #13
Good that there will be no downtime. I'm running Pro on centos 5
Submitted by JamieCameron on Sat, 04/24/2010 - 15:32 Comment #14
Ok, I will email you the update ..
Submitted by it_onyxar on Sun, 04/25/2010 - 02:52 Comment #15
Thanks Jamie! It worked like a spell lol
Thanks for your much appreciated help and support.
Submitted by JamieCameron on Sun, 04/25/2010 - 12:24 Comment #16
Great - glad that worked
Submitted by Issues on Mon, 05/10/2010 - 02:20 Comment #17
Automatically closed -- issue fixed for 2 weeks with no activity.