Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2007
    Posts
    14

    Default /var/cpanel/maxemails and other stuff

    Hello,

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

    # This file is no longer in use, please update the MAX_EMAIL_PER_HOUR in the /var/cpanel/users/USER file

    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. #2
    Member kimper's Avatar
    Join Date
    Oct 2010
    Location
    Montreal, Canada
    Posts
    12

    Default Re: /var/cpanel/maxemails and other stuff

    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
    Follow Michel Kimper on Twitter : mkimper
    Project Manager with MonHosteur
    Web Hosting Industry Expert since 2004

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2007
    Posts
    14

    Default Re: /var/cpanel/maxemails and other stuff

    That covers *ALL* domains. I think I've figured out a means though, even without documentation on that "MAX_EMAIL_PER_HOUR" directive.

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default Re: /var/cpanel/maxemails and other stuff

    Quote Originally Posted by rzamites View Post
    That covers *ALL* domains. I think I've figured out a means though, even without documentation on that "MAX_EMAIL_PER_HOUR" directive.
    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)
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2007
    Posts
    14

    Default Re: /var/cpanel/maxemails and other stuff

    Thanks Nick.

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    3

    Default Re: /var/cpanel/maxemails and other stuff

    Does anyone know where the official documentation on both of these options?

    Thanks in advance.

  7. #7
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: /var/cpanel/maxemails and other stuff

    The following section of our documentation should help:

    Mail Delimiter
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. SSL stuff not working anymore in CPanel
    By Guru Evi in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-24-2006, 05:57 PM
  2. WHM 10.6.0 cPanel 10.6.0-R26 stuff-ups
    By Ulysses in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 03-05-2006, 12:14 PM
  3. httpd.conf missing loads of cpanel stuff
    By deanstev in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-18-2006, 03:55 PM
  4. List stuff from a cPanel account with php
    By snakex in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 08-13-2005, 11:16 PM
  5. A lot of stuff missing in cPanel
    By omarshiraz in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-31-2004, 12:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube