This article describes how to set the quota for an account using the CLI
Solution
1. Log into the CLI using the telnet application:
telnet 127.0.0.1 7000
2. Enter the administrative username:
<login> user admin
3. Enter the password:
<password> your_admin_password
4. Select the domain holding the account:
<#> update domain name example.test
5. Select the account:
<domain#> update account name test-account
6. Enter the quota configuration context:
<domain-account#> CONFIG QUOTAS
7. Set the quota value to 10MB:
<domain-account-quotas#> SET totalMessageSize 10240
8. Save the configuration:
<domain-account-quotas#> done
<domain-account#> commit
<domain#> commit
<#>save config
9. Close the connection:
<#> quit
This above example will set the quota to 10 MB for the account "test-account" from the domain "example.test" on the 127.0.0.1 mail server. You will need to adapt the values to fit your settings.
NOTE: The quota value is expressed in KB. Setting this value to low might prevent your users from receiving e-mail.
NOTE: The maximum quota value that can be set for an account is 4TB.
telnet 127.0.0.1 7000
2. Enter the administrative username:
<login> user admin
3. Enter the password:
<password> your_admin_password
4. Select the domain holding the account:
<#> update domain name example.test
5. Select the account:
<domain#> update account name test-account
6. Enter the quota configuration context:
<domain-account#> CONFIG QUOTAS
7. Set the quota value to 10MB:
<domain-account-quotas#> SET totalMessageSize 10240
8. Save the configuration:
<domain-account-quotas#> done
<domain-account#> commit
<domain#> commit
<#>save config
9. Close the connection:
<#> quit
This above example will set the quota to 10 MB for the account "test-account" from the domain "example.test" on the 127.0.0.1 mail server. You will need to adapt the values to fit your settings.
NOTE: The quota value is expressed in KB. Setting this value to low might prevent your users from receiving e-mail.
NOTE: The maximum quota value that can be set for an account is 4TB.
OS:
LinuxWindowsFreeBSDNetBSDOpenBSDSolaris
Distros:
WindowsDEB based distros amd64