how to list the all user mail quota ?

use whick command to list the all user mail quota ;use whick command to set all user mail quota ,thanks for you !
[127 byte] By [robotea] at [2007-11-27 2:41:20]
# 1

Hi,

Please always include your version information.

For 6.2, you can list quota information by running:

./imquotacheck

For 5.2, you can list quota information by running:

./quotacheck -i

For setting all user mail quota, this can be done by either adding a 'mailquota' value to their account or you could change the 'default' mailquota for the mail-server (which is used when a user doesn't have a mailquota: directory attribute):

./configutil -o store.defaultmailboxquota -v <value in bytes>

Regards,

Shane.

shane_hjortha at 2007-7-12 3:05:01 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

my version is 5.2 ,in the first the default quota is 15M,and some user is default ,and some user is specify 15M,and now we change the default

quota to 30M,so the specify user is now 15M, so i want to find which user is use default ,and whick user is specify ,or how to find whick user

is 15M now ,because i want to all user to 30M ,

thanks for you !

Message was edited by:

robote

robotea at 2007-7-12 3:05:01 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

The default quota is applied to all users that don't have a specific quota assigned. If a user has a specific quota assigned, it will show in that user's ldap record.You could create an ldapsearch that would return all users with a quota specifically set.

Since Messaging Server's "quotacheck" and even "mboxutil" also check quota settings, you could parse output from these commands, too.

jay_plesseta at 2007-7-12 3:05:01 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
thanks for you ,if i can use one command to change all specify 15M userto the default ,thanks for you !
robotea at 2007-7-12 3:05:01 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

I would use ldapsearch to find all users who have a mailquota value of 15mb and then create an ldif file of those users to delete the mailquota value. This way in the future, when you change the default quota on the mail server, all users would be changed.

Go to the ldap documentation and look for ldif in the index. They have some pretty good examples.

Gary

gpeck1a at 2007-7-12 3:05:01 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...