Basic User Account Limits

In Merak Mail server you can set User Account Limits at three levels:

  • global limit - applies to All Accounts within All Domains
  • domain limit - applies to All Accounts within the Domain, overrides any Global settings if enabled
  • user limit - applies to the particular user Account, overrides any Global and Domain settings

To make full use of these limits, they need to be enabled in the following places -

  1. Global Setting -> Domains -> Limits - check the boxes for Limits you may want to override
  2. Global Setting -> Accounts - enable Account Defaults

It is recommended that at least the attachment and disk space limits are set for servers.

For example:

  • 50000 in User mailbox size (kB).
  • 13000 in User max message size (kB). Please note that there is an overhead due to base 64 encoding. For a 10 MB limit add around.30% giving a value of 13000.

Note that these limits will only apply to new accounts.

If you want to change limits on multiple older account settings, you can either

  1. Create a Group containing the accounts you wish to change and apply the limits to the group
  2. Select multiple Users in the management console and apply the limits
  3. use tool.exe (you can use wildcards).

    For example:

    tool.exe modify account *@* u_maxbox 1 u_maxboxsize 50000 u_maxmessagesize 13000

    will set set all Users in all domains to have a Maximum mailbox size of 50000kB, a maximum message size of 13000kB, and enable the limit.

    You can check all variables in the folder ..\Merak\Api\Delphi\apiconst.pas file

    Here are the variables we're using:

    U_MaxBox // Bool

    U_MaxBoxSize // Int

    U_MaxMessageSize // Int

Please note that if you are storing your accounts in an ODBC database, you can use SQL queries to change the data directly within the database.