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.

outbound mail throttling

Discussion in 'E-mail Discussions' started by mattjustin, Jun 7, 2011.

  1. mattjustin

    mattjustin Registered

    Joined:
    Jun 1, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Im trying to setup exim to rate limit 20 connections per domain (ie..yahoo,gmail,hotmail..ect) and also limit each connection to 10 emails per domain per connection.

    can someone please shed some light what i need to do because these days if you send too much mail at a specific provider they will block you.

    thanks
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  3. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Hey Tristan,

    I took a look at that code. . .is that code supposed to be implemented in exim.pl??

    It was kinda hard to understand since the poster didn't say anything about the code pre-requisite to posting it. . .
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    These are in the WHM > Exim Configuration > Advanced Configuration area for the routers section and the transports section. If you aren't certain what to use, again I suggest exim.org and their excellent mailing list with very helpful people who know exim incredibly well.
     
  5. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Tristan,

    Thanks man -- I got it working!
     
  6. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Would you mind posting on how exactly you got it working ?
     
  7. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Anand,

    Actually it was short-lived. It only worked temporarily as a review of Exim's logs showed it was actually dumping the excess messages, so I removed the code, and put Exim back the way it was. I guess we'll both have to wait on cPanel to produce a way for us to do this easier, as I have clients who like to send out e-mail messages to their lists, and to help alleviate the pressure on the receiving servers (i.e. Yahoo, AOL, etc), I was trying to limit the number of connections to those servers -- I also have found that throttling outbound messages in this fashion makes it so that Yahoo/AOL/Gmail, etc don't blacklist you or rate-limit your connections. Hopefully I'll find a solution (been looking a solution offered by Port25.com at the moment), or cPanel will soon implement this functionality inherently. I'll keep you posted on my outcome either way.
     
  8. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    ooh ok.

    Thanks for letting me know.

    We have many clients who had high mailing requirements, but due to exim issues, we have many problems as well.

    Port25 indeed has a very good solution, the only issue being, they charge heavily for it, since no one else provides similar software :(
     
  9. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Anand,

    I agree -- the cost of their solution is not only heavy, but it is a yearly recurring cost at that.

    Honestly, that's been my *biggest* barrier to entry for their product, otherwise I'd have implemented it long ago, and been done with it. =0)

    Anyway -- if I come across anything notable that is relatively inexpensive (or no cost at all), I'll come back and post here as I know you're looking for something as well.

    If you find something, let me know as I'll most likely be interested!
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Have either of you tried the exim mailing list as I mentioned previously?

    I've never seen anyone post on their mailing list who hasn't gotten one or more useful responses. You need to be very exact and detailed when posting there to get the fastest and best assistance. Please post a link to the mailing list post once you've created one so we can watch it.
     
  11. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Thanks Eric. Will do.
     
  12. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    I have tried that route earlier some times, however the way cpanel has exim setup, it makes it very difficult to implement something which they recommend.
     
  13. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Hey Tristan,

    Yeah, I looked it over, and actually implemented it, but it didn't work quite the way I expected.

    I'd rather wait until you guys create the functionality. :D
     
  14. Twinings216

    Twinings216 Registered

    Joined:
    Feb 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    egillette wrote: "it was actually dumping the excess messages"

    That doesn't sounds right. Does it? Would exim be designed to "dump" messages after it reached a threshold for serialization? It sounds catastrophic. It's supposed to send a certain number of messages on a connection, and then close the connection, and open a new connection.
     
  15. egillette

    egillette Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL
    cPanel Access Level:
    DataCenter Provider
    Well the problem is that the function was designed to dump the excess messages over the threshold. Literally. No freeze, just straight up delete.
     
Loading...

Share This Page