Skip to main content

all hosts for 'gmail.com' have been failing for a long time (and retry time not reached)

Comments

5 comments

  • Hi,

     

    Based on the information provided, it appears that either port 25 outbound is blocked or connections to Gmail specifically are being blocked.

     

    I'd suggest checking with your hosting provider to see if they put any restrictions in place on port 25. Many hosting providers block port 25 to prevent spam from being sent.

     

    In the case of port 25 being blocked, we have an article below that details how you can work around this by using a Smarthost:

     

    How to Send Email When Your Server Provider Blocks Port 25

    0
  • krahul321

    I have checked and port 25 is open, it is only issue with all gmail.com email., also dmrc and all recoard is ok.

    0
  • Hi,

     

    Are there any errors in the Exim log indicating that Gmail is blocking mail from your server? For reference:

     

    Where are the Exim logs?

     

    If you're unsure, you can also try running the following command via SSH as root to see if any delivery errors are returned:

     

    exinext gmail.com
    0
  • krahul321

    [root@hero ~]# exinext gmail.com
    Transport: alt2.gmail-smtp-in.l.google.com 192.178.211.27 error 110: Connection
    timed out
    first failed: 09-May-2026 08:09:10
    last tried: 19-May-2026 17:24:52
    next try at: 20-May-2026 01:24:52
    past final cutoff time
    Transport: alt3.gmail-smtp-in.l.google.com 172.253.158.26 error 110: Connection
    timed out
    first failed: 09-May-2026 08:07:44
    last tried: 19-May-2026 17:59:17
    next try at: 20-May-2026 01:59:17
    past final cutoff time
    Transport: alt1.gmail-smtp-in.l.google.com 172.253.152.26 error 110: Connection
    timed out
    first failed: 09-May-2026 08:09:02
    last tried: 19-May-2026 18:08:18
    next try at: 20-May-2026 02:08:18
    past final cutoff time
    Transport: gmail-smtp-in.l.google.com 142.251.127.27 error 110: Connection timed out
    first failed: 09-May-2026 08:07:44
    last tried: 19-May-2026 20:23:11
    next try at: 20-May-2026 04:23:11
    past final cutoff time
    Transport: alt2.gmail-smtp-in.l.google.com 142.251.127.27 error 110: Connection
    timed out
    first failed: 09-May-2026 20:44:04
    last tried: 20-May-2026 00:27:10
    next try at: 20-May-2026 08:27:10
    past final cutoff time
    Transport: alt4.gmail-smtp-in.l.google.com 108.177.125.27 error 110: Connection
    timed out
    first failed: 09-May-2026 08:07:44
    last tried: 19-May-2026 20:23:11
    next try at: 20-May-2026 04:23:11
    past final cutoff time
    [root@hero ~]#

    0
  • Hi,

     

    The log entries you provided regarding the connection timeouts indicate there is a firewall block preventing the mail from arriving. This could either be from an external or local firewall from within your server's network blocking Gmail's IP ranges, or Gmail's mail server could be blocking mail from your server.

     

    Since this is a firewall/network issue rather than a cPanel issue, our ability to assist will likely be limited. I'd suggest reaching out to your provider to ensure there is no external firewall blocking Gmail's IP ranges. You can use a diagnostic tool such as traceroute to identify where the connection to Gmail is failing, which can help to isolate if your provider is blocking this traffic. We have a guide on using traceroute below:

     

    How do I use the traceroute command?

     

     

     

     

     

    0

Please sign in to leave a comment.