This is a process that you have to make by your own. For example, create a script that search for 'maildirsize' file. Checking file content, users with overquota has two lines: first one show you current quota assigned and second one quota used. To determine if your user is overquota, check that quota used is almost quota assigned. For example, for this user:
[EMAIL PROTECTED]:/mail/mydomain.com/m/myemailuser> cat maildirsize 31457280S,5000C 31457112 4369 [EMAIL PROTECTED]:/mail/mydomain.com/m/myemailuser> Making some calcs: 31457280-31457112 = 168 bytes free ---> Current user is overquota If quota used if greater than quota assigned --> Current user is overquota You have to decide what is for you 'almost', generally less than 1Kbyte free is a good value to determine that a user is overquota. El jue, 06-07-2006 a las 16:23 +0530, Rajkumar S. escribió: > Hi, > > My mail server has many overquota users and all spams send to them > are clogging in my send queue, when qmail tried to bounce them back to > non existing senders. If there is a script that I can use to identify > overquota users I can run it in a cron and set the accountStatus of > such users to disabled and reenable them when they have cleared the > inbox. > > Any better idea to solve this problem is also welcome. > > raj >
