Fixed! - Not getting Quota Reports - Perfect Serv/Ubuntu 7.10
I wonder if someone might have some suggestions on this. I have installed and have a functioning mail server based on falko's wonderful how-to - http://www.howtoforge.com/virtual-us...ix-ubuntu-7.10. I have a couple of problems with the Quotas. As the admin I get the Quota report emailed to postmaster each day. However, there is no quota information in the report, simply the template. Also, I had a user/email address that began to have mail bounced due to over quota. The bounced email had the "User is over quota..." tag, but my user never got a quota warning. I've looked at the perl script /usr/loca/sbin/quota_notify (755) and all looks as the how-to, including the %'s that were added to the original script. I know it's being called and processed as I said I get the Quota report (although only a template of it, as seen below). I don't know much perl so it's a stretch for me to really see what's going on. But it appears that it is reading the virtual mail directory and sub dir and reading username/maildirsize. I don't see where it is reading the mysql user table and the quota size (or that is should or needs to). I also don't see any maildirsize information in the vmail dirs. So I not sure how to go about troubleshooting this other than what I have done - verify 1) the script looks correct and 2) that it is being called and executed each day. Both are true. Any help would gratefully accepted. Thank you.
I just came across another post about a quota problem. A command quota -avug was referred too for checking quota state. I ran the command and got "The program 'quota' is not currently installed. You can install....". So I must not have quota installed? I'll check further.
Looking back at the how-to I see this: (I don't specifically see quota, is it in there? Are we using some other derivative?)
Found this ref as directed by falko: http://www.howtoforge.com/forums/sho...ldirsize+quota
and I do indeed have this in my main.cf file.
Tried this http://www.howtoforge.com/forums/showthread.php?t=19765 and it didn't correct the overall problem. I did get the maildirsize file created in each users directory, restarted postfix, and ran quota_notify. Still no info in the report.
Ok, following thecaoticone's steps all is working just fine. At first I thought it didn't fix anything from my edit above but the report didn't show anything because every user was under 1% usage. I sent a test email/attachment to ensure 50% and re-ran quota_notify. It works! Thanks Falko, Volksman, thecaoticone, and any others who contributed not only to this problem but to the many others. THANKS!
|All times are GMT +2. The time now is 14:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.