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.

Create a package with default MAX_EMAIL_PER_HOUR

Discussion in 'General Discussion' started by jmginer, Dec 14, 2015.

  1. jmginer

    jmginer Well-Known Member

    Joined:
    Jul 26, 2006
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Benifato, Spain
    Hello! I have searched in the doc: How to Set Email Send Limits - cPanel Knowledge Base - cPanel Documentation but not find anything related with my question.

    When I create a package, I only have a option to set a value limit or set to unlimited, but not to set the default server value configured in tweak settings.

    How to create a package to use the default MAX_EMAIL_PER_HOUR, (Maximum Hourly Email by Domain Relayed) ?

    Thanks!
     
  2. redesignunit

    redesignunit Member

    Joined:
    Sep 24, 2015
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    You may specify values for individual domains by editing the cpuser file at /var/cpanel/users/. Add a MAX_EMAIL_PER_HOUR-[$domain] key and specify a value. Remember to replace $domain with the domain you wish to limit. If you make any changes to the cpuser file, make sure to run the /usr/local/cpanel/scripts/updateuserdomainsscript. Hope it helpful for you.
     
  3. jmginer

    jmginer Well-Known Member

    Joined:
    Jul 26, 2006
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Benifato, Spain
    Seriously, have you read my question?
    How to create a package to use the default MAX_EMAIL_PER_HOUR

    You know what is a package in WHM ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    It's not possible to set the value to match what's configured globally. You can open a feature request for this via:

    Submit A Feature Request

    Thank you.
     
  5. jmginer

    jmginer Well-Known Member

    Joined:
    Jul 26, 2006
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Benifato, Spain
    Then, the option in tweak settings "Max hourly emails per domain" in what moment take effect?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page