Limit e-mails per hour based on account vs domain


Product Owner II
Staff member
Nov 14, 2017
The closest you can come to that is performing the following:

Account-specific Max hourly emails per domain settings
Use WHM's Edit a Package interface (WHM >> Home >> Packages >> Edit a Package) or WHM's Modify an Account interface (WHM >> Home >> Account Functions >> Modify an Account) to specify values for an individual package or an individual account.

To enable this setting from the command line, you must perform the following steps to manually edit the cpuser file:

  1. From the command line, open the /var/cpanel/users/username file, where username represents the desired account username.
  2. In this file, add the MAX_EMAIL_PER_HOUR key and specify the value for the selected username:
  3. Run the /usr/local/cpanel/scripts/updateuserdomains script.

This is detailed in: How to Prevent Email Abuse - cPanel Knowledge Base - cPanel Documentation