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.

/var/cpanel/maxemails and other stuff

Discussion in 'E-mail Discussions' started by rzamites, Nov 17, 2010.

  1. rzamites

    rzamites Member
    PartnerNOC

    Joined:
    Aug 22, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Trying to configure max emails on a domain-by-domain basis, and the vaunted /var/cpanel/maxemails file contains this solitary line:


    Now, easy enough to add that line, however there is NO documentation that I can find that tells you whether "0" is "unlimited", or "no mails" per hour. Anyone utilize this method to limit hourly outbound mails?
     
  2. kimper

    kimper Member

    Joined:
    Oct 26, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal, Canada
    There is an easy simple way to do it.
    Just open your WHM, see in Server Configuration, and click Tweak Settings.
    Find the link "The maximum each domain can send out per hour (0 is unlimited) " (the 6th line in Mail category), fill the number and submit.
    You're done ;)
     
  3. rzamites

    rzamites Member
    PartnerNOC

    Joined:
    Aug 22, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    That covers *ALL* domains. I think I've figured out a means though, even without documentation on that "MAX_EMAIL_PER_HOUR" directive.
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    We will be adding a MAX_EMAIL_PER_HOUR-[domain] in the next maintenance update (once approved by QA) to 11.28. In the mean time updating /var/cpanel/maxemailsperdomain/[DOMAIN] should be the best way to accomplish this (as long as you don't modify the account in whm the value will stick)
     
  5. rzamites

    rzamites Member
    PartnerNOC

    Joined:
    Aug 22, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Nick.
     
  6. ArfArf

    ArfArf Registered

    Joined:
    Nov 5, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Does anyone know where the official documentation on both of these options?

    Thanks in advance.
     
  7. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The following section of our documentation should help:

    Mail Delimiter
     
Loading...

Share This Page