The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how do I set hourly mail limits on the console?

Discussion in 'E-mail Discussions' started by SoftDux, May 13, 2011.

  1. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Hi,

    Does anyone know how to set the hourly mail limits for an account on the console?

    I need to change hourly mail limits for about 200 domains on a shared server, but not the other domains to a lower level.

    I checked out /scripts/update_email_limits but it doesn't give me any options to change the value
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The hourly mail limits are controlled with the following parameters in the /var/cpanel/users/username file for each account:

    Code:
    MAX_EMAIL_PER_HOUR=#
    MAX_EMAIL_PER_HOUR-domain.com=#
    Once those parameters have been edited, you should run the following commands:

    Code:
    /scripts/updateuserdomains
    /scripts/update_email_limits
    I also suggest reading the following threads, which contain more detailed information on this topic:

    Max emails limit is per domain or per cpanel account?

    Revert email hourly limits to previous behavior

    Thank you.
     
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Thanx Michael,

    Do you know if anyone has a script that could update a list of domains's details? Like I said, I need update about 200 domains
     
Loading...

Share This Page