Setting Max Emails per Hour With WHM


Setting Maximum Emails per Hour With Web Host Manager

When it comes to email, spam and your clients, you may want to take control of their email limits for many reasons; much of which are very obvious. For example, you want to limit the emails that can be done with a mass emailing script from a client. If you do not control the limits, your ip and domains could find their way into blacklists. Then, you have to send nice emails telling the spam cop to remove your ip or domain name from the blacklist.

Setting the Limit For All Domains

If you have a VPS or dedicated server, you can do this with Web Host Manager. By default, Web Host Manager's email limit is unlimited. 

To set the same email limits for all domains on the server,

1) Login to WHM
2) Goto Server Configuration >Tweak Settings >Mail >look for: Max hourly emails per domain > Set a number like 50-200.


Setting the Limit For Specific Domains

To set a limit for one domain particular domain on the server,

1) Login to the Linux shell as root
2) Open the file with the path /var/cpanel/users/username with your favorite editor.
ie) root# vi /var/cpanel/users/username
3) Change the max email per hour
ie) MAX_EMAIL_PER_HOUR=50