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.
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
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.
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