Saturday, May 25, 2024
HomeUNIXUNIX softwareJES COStemplates Mail Quotas Greater than 4GB

JES COStemplates Mail Quotas Greater than 4GB

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 tech-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 10 GB quota, use

mailQuota: 10G

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!