Mailbox Quota Calculation
Document ID: 10209
Synopsis
There are 3 main items which count towards the size of a Mailbox (used with quotas). These are: Total .msg files - essentially the emails. Cache files - used by MailSite to optimize p
More Information
Mailbox Quota Calculation
MailSite 9 and later provide the ability to specify at the server level which components should be used to calculate the size of a Mailbox.
There are 3 main items which count towards the size of a Mailbox (used with quotas). These are:
- Total .msg files - essentially the emails.
- Cache files - used by MailSite to optimize performance
- STC data - additional cached data
MailSite 9 and later provide the ability to specify at the server level which components should be used to calculate the size of a Mailbox.
Setting up Quotas
- To turn on Quotas, open the MailSite Console and Select Server > Quotas > Enable Quota Support and press ok.
- This dialog also gives you the ability to set up other options connected to quotas such as whether Quota message warnings are copied to a postmaster account.
- Each Domain can be configured with their own quota limit. To perform this Select the Domain > Domain Properties then set the quota limits.
Including STC Data in the Count
Registry Configuration
WARNING!!
Incorrectly editing the Registry can damage the server, please proceed with care.
- Click on the Start button.
- Select Run, and enter Regedit
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Rockliffe\MailSite\
- Create a new DWORD and name it QuotaIncludeSTCFiles
- Hit Enter and then set to 1 to include STC data in the count.
- OK and Exit out of Regedit
- Restart the services
SQL Connector Configuration
- Open the SQL Manager to the MailSite Database.
- Open the 'MailServerProperties'
- Enter the following:
ServiceName PropertyName ServerRoleId PropType PropIntValue PropStringValue MFldrMgr QuotaIncludeSTCFiles 0 4 1 Null - Restart the services.
Include only .msg files in the Count (Ignore Cache files)
Registry Configuration
WARNING!!
Incorrectly editing the Registry can damage the server, please proceed with care.
- Click on the Start button.
- Select Run, and enter Regedit
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Rockliffe\MailSite\
- Create a new DWORD and name it QuotaIncludeMetaFiles
- Hit Enter and then set to 0 to include just .msg files in the count.
- OK and Exit out of Regedit
- Restart the services
SQL Connector Configuration
- Open the SQL Manager to the MailSite Database.
- Open the 'MailServerProperties'
- Enter the following:
ServiceName PropertyName ServerRoleId PropType PropIntValue PropStringValue MFldrMgr QuotaIncludeMetaFiles 0 4 0 Null - Restart the services.
As an example, to use only the total .msg files in the quota calculation, QuotaIncludeSTCFiles should be set to 0 (the default) and QuotaIncludeMetaFiles should be set to 0.
Other Information
The quota values are recalculated under the following situations:
- When a message is delivered to the users' mailbox.
- When a message is moved or copied (generally via IMAP).
- When a message is deleted or purged from mailbox.
- For IMAP each logout command.
- For POP each logout (and only if the quota has not been calculated in the last 24 hours).