Introduction
In order to prevent a compromised account from sending large amounts of spam and damaging the reputation of the server, it can help to limit the number of emails a domain can send per hour. This article provides the steps to set this limit.
Please note that the maximum sending rate is the number of emails each domain on an account may send per hour, not the total number of emails sent from the account per hour.
Procedure
- Log into WHM as the 'root' user.
- Navigate to "Home / Account Functions / Modify an Account."
- Select the account to modify.
- Click the "Modify" button.
- Scroll down to the "Maximum Hourly Email by Domain Relayed" setting.
- If the "Unlimited (default)" option is selected, select the textbox option.
- Enter the maximum number of emails you would like each domain under this account to be able to send per hour.
Please note that a value of0
will be interpreted as no limit. - Click the "Save" button.
- Enter a new package name in the "Create a new Package with this name" textbox.
- Click the "Proceed" button.
Please note that after a domain reaches its limit, the system does not block additional messages at SMTP time. Instead, the system accepts and then handles additional messages per the value of the "The percentage of email messages (above the account's hourly maximum) to queue and retry for delivery" setting in "Tweak Settings."