WHM/cPanel Server - Set the Maximum Number of Mails in an Hour

WHM/cPanel Server - Set the Maximum Number of Mails in an Hour

Prevent Spamming is one of the most important thing in any Server. There are several ways which are used to stop / reduce spamming and setting up the Maximum Number of Mails in an Hour is one of these ways. This defines the maximum number of mails which can be sent from a domain in an hour. This is a Server setting which, once set on your server, will effect all the domains of your server.

Set the Maximum Number of Mails in an Hour :

1. Login to WHM Control Panel.

2. Go to Home >> Server Configuration >> Tweak Settings.

tweak.png


3. Find the Mail Section and Set "Maximum Number of Mails Per Hour".

mils.png


4. Finally Save the Settings.

save.png


Set the Maximum Number of Mails in an Hour Limit for an Account :

1. Login to WHM Control Panel.

2. Go to Home >> Account Functions >> Modify an Account.

modify.png


3. Choose the Account You Want to Modify and Click "Modify" Button at the Bottom of Screen.
modifyaaccount.png


4. Find "Maximum Hourly Email by Domain Relayed" Option and Set the Maximum Number of Mails in an Hour.

hourky.png


5. Finally Save the Settings.

Set Maximum Number of Mails in an Hour Limit for an Individual Domain :

To perform this, do the following tasks as Root User via Command Line -:

1. Open the /var/cpanel/users/username File with a Text Editor. Here username is the account which owns the domain.

2. Add the below line in the file :

Code:
MAX_EMAIL_PER_HOUR-domainname=500
3. Save the File.
Author
Bhawani Singh
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bhawani Singh

Top