Basic User Account Limits

Article Details
URL: http://support.merakemailserver.co.uk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=62
Article ID: 62
Created On: 23 Jan 2007 11:57 AM

Answer

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

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:

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.