RE: [vchkpw] finding over-quota users
On Thu, 8 Jul 2004, Jeremy Kister wrote: On Thursday, July 08, 2004 6:48 PM, Charles Sprickman wrote: Is there any simple way to run through a large number of users (3000 or so) and find out who is over quota and when they last checked their mail? you can try http://jeremy.kister.net/code/perl/mailquota.pl That's pretty nifty! It won't work out of the box with mysql-backed systems, but this will still save me a ton of work; I'll just loop on the db-provided dirs rather than the vpasswd lines. Thanks! Charles mailquota.pl -v -e [EMAIL PROTECTED] will email the report to [EMAIL PROTECTED], and also show you stuff as it is gathering data. Jeremy Kister http://jeremy.kister.net/
[vchkpw] finding over-quota users
howdy, Is there any simple way to run through a large number of users (3000 or so) and find out who is over quota and when they last checked their mail? I see vuserinfo with no arguments doesn't iterate through all users like vdominfo does. I suppose the easiest (but somewhat intensive) method of doing this without any v* tools would be to do a find on all maildirsize files and see if the second line is larger than the first. If it is, then I'd have to call vuserinfo to get the last login time. Any better ideas? Thanks, Charles
RE: [vchkpw] finding over-quota users
On Thursday, July 08, 2004 6:48 PM, Charles Sprickman wrote: Is there any simple way to run through a large number of users (3000 or so) and find out who is over quota and when they last checked their mail? you can try http://jeremy.kister.net/code/perl/mailquota.pl mailquota.pl -v -e [EMAIL PROTECTED] will email the report to [EMAIL PROTECTED], and also show you stuff as it is gathering data. Jeremy Kister http://jeremy.kister.net/