JES COStemplates mail quotas greater than 4GB

Contributor Icon Contributed by qmchenry Date Icon November 7, 2005  
Tag Icon Tagged: UNIX software

Sun’s Java Enterprise System mail facilities have the capacity to provision users based on predefined classes of service (COS) which specify the types of services a user assigned to that COS can use, their mailbox size quota, number of message quota, and per message size quota. However, because the mailQuota attribute is stored as a 32-bit integer, the maximum value is 4,294,967,295 bytes (4GB). This recipe describes a way around this limit.


Faced with a client who wanted to set a limit on emails but needed a limit larger than 4GB, I started digging around. I found a reference to this that it will accept values for quotas in a unit format as well. Valid units are K for kilobyte, M for megabyte, and G for gigabyte. For example, to set a 10GB quota, use

mailQuota: 10G

Previous recipe | Next recipe |
 
blog comments powered by Disqus