This content has been marked as final. Show 3 replies
Hello,1 person found this helpful
The imquotacheck command gives you this kind of information.
imquotacheck -u bobby.brown
Name Quota(K) Usage(K) % Quota# Usage# % OverDate WarnDate
bobby.brown 1048576 241658 23 - 310 - 01/18/13 02/13/13
Run with --help for help.
You may need to run reconstruct -q to refresh the quota from your LDAP directory.
Wrapping all this with standard unix commands (awk or sed, cron, etc.), you can achieve what you want.
I hope this helps.
Edited by: diesmo on 6 mars 2013 10:12
Rather than reconstruct -q, I would recommend iminitquota -u <userid>; if you think there is a discrepancy.1 person found this helpful
For more discussion around how discrepancies can happen (or appear to exist) see the following MOS knowledge article:
Changing mailQuota LDAP Attribute Has No Effect on User's Quota (Doc ID 1314111.1)
well imcheck -d quota.db gives a dump of all mailboxes so that's the base data one would need, I think.
I was more curious if there were any analysis tools already in existence, similar to how imslog.pl analyzes MTA logs, to generate a report.
If not I'll certainly write something up and share here :)