Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    69

    Unhappy Problem: Mailman and WHM's "limit mail sends per hour"

    I have a few users who's Mailman lists have grown to almost 1000, and one that's at about 1300, users. I am wanting them to be able to send mailouts to all of these users, but when they do, a whole bunch of them are not sent. I'm assuming that this is because of WHM's limit on the max number of e-mails that can be sent per hour.

    Begrudgingly I've raised the limit to 1000 / hour as I cannot find another solution. Does anyone have an idea of how I can get around this, or gain more control over what mail is counted in the limit and what mail isn't? Maybe a way to make Mailman only send out a certain amount per hour? I'm willing to try anything at this point.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    AFAIK, you can't. Have a look at this and the links off of it:
    http://www.mail-archive.com/mailman-.../msg28883.html

    I'd recommend that you put an enhancement request into bugzilla (if there isn't one already) asking for Mailman emails to be optionally exempt from the per hour limiting:
    http://bugzilla.cpanel.net

    If you do, post the link to the entry here so others can vote for it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    I'd recommend that you put an enhancement request into bugzilla (if there isn't one already) asking for Mailman emails to be optionally exempt from the per hour limiting:
    http://bugzilla.cpanel.net
    I would really like to see that to be added... it has my vote.

  4. #4
    Member
    Join Date
    Nov 2004
    Posts
    69

    Default

    I'll post a link as soon as I figure out bugzilla

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    69

    Thumbs up

    Here ya go, bug #2020

    http://bugzilla.cpanel.net/show_bug.cgi?id=2020

    If this is something that you would also like fixed, PLEASE vote for it so that it gets a higher priority.

  6. #6
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    I send 20,000 to 60,000 an hour without any problems, all full verp and full personalization.

    A slower server can do it a little less - (I have dual xeon) but got 10,000 -25,000 on a Celeron 1.1 before I upgraded.
    Last edited by lloyd_tennison; 02-01-2005 at 04:30 PM.
    Lloyd F Tennison

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Lloyd, the issue here isn't the volume of email that the server can handle with Mailman - it's about limiting the amount of outgoing email while allowing Mailman to bypass the restriction available under WHM > Tweak Settings in order to prevent spamming etc
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    does exim can limit number of recepient? for example i want to limit 10 recepient in From: Cc: and Bcc:

  9. #9
    Member
    Join Date
    May 2003
    Posts
    120

    Default

    Hi Lloyd:

    Can you share what configurations you made to get this performance in your exim.conf, mm_cfg.py, and Defaults.py files? It would be a help to the community.

    Thanks,
    Brian

  10. #10
    Member
    Join Date
    Mar 2003
    Location
    Chino Hills, CA
    Posts
    17

    Default

    perhaps instead of just mailman, but also exempt a domain specifically from these limitations?

    -randyc

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I was looking into something else and spotted this code in exim.pl:
    Code:
          open(CF,"/var/cpanel/cpanel.config");
          while(<CF>) {
             next if (/^#/);
             s/\n//g;
             my($var,$value) = split(/=/, $_);
             if ($var eq "maxemailsperhour") {
                $maxmails = int($value);
             }
          }
          close(CF);
    
          open(CPM,"/var/cpanel/maxemails");
          while(<CPM>) {
             s/\n//g;
             my($mdomain,$mmax) = split(/=/);
             if ($mdomain eq $domain) {
                $maxmails = int($mmax);
             }
          }
          close(CPM);
    The first open is getting the maxemailsperhour that you have set in WHM. The second open is the interesting one. It's opening a file /var/cpanel/maxemails and reading in domain=number pairs. If the domain for the email matches then the number overrides the WHM one.

    So, if you want to exempt a domain from maxemailsperhour, create that file and put in it:
    domain.com=0

    If you just want to set a higher limit for a domain (or different domains), use:

    domain.com=1000
    otherdomain=20

    Not tried it, but the code is there to use it
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  12. #12
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,313
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by chirpy
    Not tried it, but the code is there to use it
    Just tested it - works great. Thanks Chirpy.

  13. #13
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Excellent
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  14. #14
    Member Rooter's Avatar
    Join Date
    Apr 2003
    Location
    Houston, Texas, U.S.A.
    Posts
    146
    cPanel/Enkompass Access Level

    Root Administrator

    Thumbs up Re: Problem: Mailman and WHM's "limit mail sends per hour"

    Quote Originally Posted by chirpy
    Excellent
    I must say Chirpy, excellent find indeed! This will finally save my client's legitimate mailing list receiving the notorious "unrouteable mail domain" error hundreds of time unless I increase the server-wide limit. Per-domain limits are awesome!

    Thank you, so very, very much.

    Nice touch with the Moderator status too. I remember seeing you on the ServerMatrix forums; my alias is "Root" on there.
    The Root Underground | [TRU] - Houston, Texas, U.S.A.
    TRU Networks Hosting Services www.trunetworks.com
    TRU Domains Registrar Services www.trudomains.com (Reseller/Bulk discounts available.)
    Fried nublets for breakfast, yum... [TRU] Clan Gaming Guild www.truclan.org

  15. #15
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Hi,

    I think it would be even better if cPanel developed it into the UI feature too, but it is certainly handy for just the situation you describe
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Add "delete list" button in WHM on "Reset a Mailman Password" page
    By cPanelMary in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 01-08-2011, 12:19 AM
  2. Replies: 4
    Last Post: 03-21-2008, 12:02 PM
  3. "Manage Mail Queue" Problem - "Deliver Now" not working?
    By benskey in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-10-2006, 06:58 AM
  4. Add a "time limit" setting to SSH in whm.
    By electric in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-06-2006, 11:21 AM
  5. Mailman and "The maximum each domain can send out per hour" setting
    By qwerty in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-12-2004, 01:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube