Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default Exim log connection count

    Hello,

    what exactly does this mean in the exim_mainlog connection count = X ?? is there a limit to the amount of connections allowed? Is this setting controlled within the Exim configuration somewhere ?

    How many "connection count" are allowed ??

    Any info on this would be appreciated.

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  2. #2
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Believe that's the pop3 per hour setting in WHM. Limits how often people can check their mail.
    Darren Benfer | SS-Darren | AIM: serversphere
    www.serversphere.com
    Dedicated Server Solutions Have Come Full Circle

  3. #3
    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

    Nothing to do with pop (that's courier in /var/log/maillog ), it's the number of SMTP connections concurrently active in exim for in/outgoing email. The default maximum is 100:

    (from /etc/exim.conf):
    smtp_accept_max = 100
    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

  4. #4
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    ok. I was wondering what that was all about in the log files. thx's for the info.

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  5. #5
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    Once Exim reaches 100 connections it will reach its hard limit and stop accepting new ones. If you have a ton of mail traffic you may want to consider increasing this.
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  6. #6
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by ramprage View Post
    Once Exim reaches 100 connections it will reach its hard limit and stop accepting new ones. If you have a ton of mail traffic you may want to consider increasing this.
    is this per IP connections or total connections ... this is what I'm not sure about. how does it keep a running tally on the total connections ??

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  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

    It's total connections. Any given connection can be receiving multiple emails from an originating SMTP server, and an originating SMTP server can also have multiple connections to your server.
    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 mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by chirpy View Post
    It's total connections. Any given connection can be receiving multiple emails from an originating SMTP server, and an originating SMTP server can also have multiple connections to your server.
    Ok, so the total default max connections is 100 ... now if this is not adequate, too small amount, what sort of errors would occur or SMTP connection problems ??

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  9. #9
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Thx's Chirpy, this is what I was looking for ... much appreciated.

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  10. #10
    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

    As ramprage said, the SMTP server would not accept additional connections. So the sender SMTP server would probably receive a 421 message, i.e. Service not available, try again later and would queue on the sender server in most cases.

    Just to correct myself, the value is for incoming SMTP connections only (not outgoing).

    Hitting the maximum value is usually very unlikely unless you're suffering a DOS attack against your SMTP port. In those cases, you can set another parameter (smtp_accept_max_per_host) which restricts it on a per host (IP) basis too.

    More information in the manual here:
    http://www.exim.org/exim-html-4.66/d...html#id2729013
    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

  11. #11
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Quote Originally Posted by chirpy View Post
    Nothing to do with pop (that's courier in /var/log/maillog ), it's the number of SMTP connections concurrently active in exim
    Whoops! Wrong log. Thx Chirpy!

Similar Threads & Tags
Similar threads

  1. Replies: 4
    Last Post: 03-16-2011, 09:45 AM
  2. Exim error " closed connection in response to initial connection"
    By senthil0787 in forum E-mail Discussions
    Replies: 2
    Last Post: 08-16-2009, 02:56 PM
  3. exim mail queue count
    By useradmin in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-14-2008, 10:54 AM
  4. SMTP connection from [IP]:34716 I=[IP]:25 (TCP/IP connection count = 2)
    By XPerties in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-03-2006, 01:04 PM
  5. ERROR 1136 at line 2: Column count doesn't match value count at row 1
    By greg in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-08-2003, 08:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube