Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    3

    Default outbound mail throttling

    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. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    There are discussions on the exim mailing list about trying to perform this task. Here is one such discussion:

    Re: [exim] Rate limit Outgoing mail based on recipient domain

    I would suggest posting on the exim mailing list if you cannot get a working solution upon reviewing the discussions there.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    47
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    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. . .
    Follow me on Twitter!

    - Eric Gillette

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    47
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    Tristan,

    Thanks man -- I got it working!
    Follow me on Twitter!

    - Eric Gillette

  6. #6
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: outbound mail throttling

    Quote Originally Posted by egillette View Post
    Tristan,

    Thanks man -- I got it working!
    Would you mind posting on how exactly you got it working ?
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  7. #7
    Member
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    47
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    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.
    Follow me on Twitter!

    - Eric Gillette

  8. #8
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: outbound mail throttling

    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
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  9. #9
    Member
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    47
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    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!
    Follow me on Twitter!

    - Eric Gillette

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    Have either of you tried the exim mailing list as I mentioned previously?

    I suggest exim.org and their excellent mailing list with very helpful people who know exim incredibly well.
    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: outbound mail throttling

    Thanks Eric. Will do.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  12. #12
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: outbound mail throttling

    Quote Originally Posted by cPanelTristan View Post
    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.
    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.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  13. #13
    Member
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    47
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    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.
    Follow me on Twitter!

    - Eric Gillette

  14. #14
    Registered User
    Join Date
    Feb 2012
    Posts
    1
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    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. #15
    Member
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    47
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: outbound mail throttling

    Well the problem is that the function was designed to dump the excess messages over the threshold. Literally. No freeze, just straight up delete.
    Follow me on Twitter!

    - Eric Gillette

Similar Threads & Tags
Similar threads

  1. Filed with Developers Mail throttling [Case 59372]
    By moonsoft in forum Feature Requests for cPanel/WHM
    Replies: 30
    Last Post: 05-11-2012, 08:42 AM
  2. Help please - Can I copy and forward all outbound mail through mail server?
    By lacivert in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-13-2011, 09:10 AM
  3. Replies: 0
    Last Post: 02-03-2011, 01:24 PM
  4. Mail throttling [Case 59372]
    By moonsoft in forum E-mail Discussions
    Replies: 8
    Last Post: 12-10-2009, 06:15 PM
  5. Exim mail throttling?
    By kcdworks in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-04-2003, 12:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube