Cleaning up Corrupted Quota File

If you are upgrading to SIMS 3.5 from SIMS 3.2, you need to initialize all the user quota files. The purpose for doing this procedure is to clean up the potential by corrupted message store user quota files.

After you have upgraded to SIMS 3.5, do the following steps:

  1.

 
% cd /opt/SUNWmail/ims/sbin
 

Change the directory.

  2. I

 
% ./iminitquota -a
 

nitialize all the user quota files.

  3.

 
% ./imquotacheck -v -n
 

Print a user quota report.

  4. Verify that the information on a user quota report is correct.
-----------------------------------------------------------------
      Username      |    Quota (Byte) |    Total (Byte) | % used
---------------------+-----------------+------------------+-------
u1                  |        NO LIMIT |           16840 |  NA 
u2                  |        NO LIMIT |             250 |  NA 
u3                  |        NO LIMIT |             500 |  NA 
u4                  |        20000000 |             750 |  <1% 
u5                  |        20000000 |           14750 |  <1% 
u6                  |        20000000 |            3000 |  <1%
u7                  |        10000000 |          515650 |  <6% 
u8                  |        10000000 |         2343950 |  <24% 
u9                  |        10000000 |            3000 |  <1%
u10                 |        10000000 |             753 |  <1%
------------------------------------------------------------------
  See the Sun Internet Mail Server Administrator's Guide for instructions on how to set up user quotas.



Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.