TechSpace Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How to Set Email Send Limits

Views: 153
Votes: 0
Posted: 29 Apr, 2016
by:
Updated: 30 Apr, 2016
by:

Overview

WHM allows you to specify the maximum number of emails that each domain on your server can send per hour. This allows you to limit spam and better regulate bandwidth that the domains on your server use.

Set the default hourly limit for all domains

To set the default hourly email limit for all of your server's domains, enter a value for the Max hourly emails per domain setting in the Mailsection of WHM's Tweak Settings interface (Home >> Server Configuration >> Tweak Settings)

This value is the default limit for all of the domains on your sever, except for domains for which you manually set a different limit.

Max hourly emails setting in the Tweak Settings interface.

Important:

You cannot use the Max hourly emails per domain setting to disable email for an account or domain. 

Set an hourly limit for an account's domains

To limit the number of emails per hour that an account's domains can send, perform the following steps:

  1. Navigate to WHM's Modify an Account interface (Main >> Account Functions >> Modify an Account).
  2. Specify a value for the Hourly Email by Domain Relayed configuration setting.
  3. Click Save.

Note:

This option sets the email limit for all of the subdomains, addon domains, and parked domains that are associated with an account's main domain. When you enter a new limit with the Modify an Account feature, the system only applies the new value to the main domain and any domains without individually-defined values.

Set an hourly limit for an individual domain

If you wish for an individual domain to have a different hourly mail limit from the main domain, you can also configure a limit for each domain.

To set a limit for an individual domain, perform the following steps via the command line as the root user:

  1. With a text editor, open the /var/cpanel/users/username file, where username represents the account that owns the domain.

  2. Add a line that contains the following text:

    MAX_EMAIL_PER_HOUR-
  3. To that line, append the domain name, an equals sign (=), and the number of email messages to allow the domain to send per hour. For example, if the domain name to set a limit of 500 emails for the domain example.com, enter the following line:

    MAX_EMAIL_PER_HOUR-example.com=500 
  4. Save the changes to the /var/cpanel/users/username file.
  5. Run the /usr/local/cpanel/scripts/updateuserdomains script. This script constructs the individual threshold files that Exim uses to determine whether the account has reached its maximum email limit.

Note:

The system assigns the value of the MAX_EMAIL_PER_HOUR setting in the /etc/email_send_limits file to any domain without a specific entry in the /var/cpanel/users/username file. If the /etc/email_send_limits file does not exist, the system assigns the default entry on the Tweak Settings interface to the domain.

 

Others in this Category
document Import contacts from Google Gmail to Outlook
document Microsoft : Autodiscover Service
document How to access cPanel
document Access webmail from the cPanel interface
document How to use SSH to log in to the command line
document cPanel & WHM service URLs
document How to Configure Mail Filters
document How to Configure the Apache SpamAssassin Report_Safe Option
document How to Create a Spam Email Filter
document How do I set up an out-of-office reply for incoming emails?
document How to Create Mail Filter Rules For Mailing Lists
document How to Set Up a cPanel Email Account for iOS
document How to Set Up a cPanel Email Account for How to Set Up a cPanel Email Account for iOS
document IMAP vs. POP3
document How to Copy Addon Domains to a New Account
document Introducing Send Email in Access 2013 web apps
document How to always pop-out an email window in Outlook 2013
document Tutorial: Outlook signature image with hyperlink
document Fix for Outlook: “Contacting the server for information”
document "Attachment size exceeds the allowable limit" error when you add a large attachment to an email message in Outlook
document Outlook 2013 max file limit: “The file you’re attaching is bigger than the server allows.”
document Outlook hangs on loading profile? Solutions
document Message stuck in Outbox
document How To Convert A POP/IMAP Mailbox To Exchange / Exchange Mailbox to POP/IMAP
document 550 Relay Not Permitted error message when sending mail
document Turn Thunderbird into the Ultimate Gmail IMAP Client
document Set up email in Android email app



RSS