Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    621

    Exclamation EXIM has incredible high timeout before accepting connection.

    Recently we started having strange timeout problem.

    While trying to connect to smtp we see welcome (Exim 4.43 #1 ....) message after FULL THREE MINUTES or so!

    At the same time /var/log/exim_mainlog shows that Exim accepting connections:
    SMTP connection from [66.66.2.158]:4468 I=[67.18.*****]:25 (TCP/IP connection count = 62)
    SMTP connection from [12.227.159.214]:4468 I=[67.18.*****]:25 (TCP/IP connection count = 63)
    SMTP connection from [66.176.91.125]:4468 I=[67.18.*****]:25 (TCP/IP connection count = 64)

    After reaching 100 connection it fails to any new one (btw, increasing smtp_accept_max to 200, 300, even 1000 not helps).

    I'm really confused.

    Please, anyone, help us to locate problem's source!
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

  2. #2
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    621

    Default

    Just in case someone come to this ticket...

    The active TrinityOS rc.firewall (iptables based) caused this delay.

    I not discovered how to tune it (or its settings) to allow smtp works normally, without the delay (especially because no other servers affected!) yet...

    If someone know where I need to take a look (perhaps some specific ports or so on) let me know, please.
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

  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

    If you're having problems with that firewall, have you tried a different one, e.g. APF?
    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 This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    621

    Default

    No, I didn't.
    This firewall proved that it is simple, but stable.
    Wonder, it is just iptables one! No more special instructions like in APF.
    Anyway, it stops something. So, APF will do the same.

    Looks like Exim trying to do something with addresses that originating connections, perhaps reverse lookup or so? How to allow this?..
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

  5. #5
    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'm confused, two posts up you said that the firewall was the problem. IF the firewall is the problem, then the problem isn't with exim
    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

  6. #6
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    621

    Default

    OK

    Which ports should be open at firewall for Exim not delayed with welcome message?
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

Similar Threads & Tags
Similar threads

  1. Exim Mail delivery connection timeout
    By tiggerific in forum E-mail Discussions
    Replies: 2
    Last Post: 05-03-2010, 03:34 PM
  2. Exim - SMTP timeout after initial connection
    By ddcarnage in forum E-mail Discussions
    Replies: 2
    Last Post: 08-25-2007, 10:57 PM
  3. Exim is not accepting any mail
    By n0n3 in forum E-mail Discussions
    Replies: 1
    Last Post: 06-23-2007, 04:13 AM
  4. FTP Connection Timeout
    By morpheous in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 02-28-2005, 01:51 AM
  5. ftp connection timeout
    By mahdionline in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-17-2004, 02:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube