Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

In Progress [CPANEL-20545] Exim sending email (-53) retry time not reached for any host

Discussion in 'E-mail Discussion' started by locki, May 21, 2018.

  1. locki

    locki Member

    Joined:
    May 21, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I have a problem with some domain in WHM for sending email, only a few special domain names can not send email to any host(Gmail,Yahoo,...) (it is possible to receive)

    But other domains are correct and there is no problem sending
    Exim log:

    2018-05-21 15:57:14 1fKix9-0007MU-FG H=alt4.gmail-smtp-in.l.google.com [74.125.199.26] Connection timed out
    2018-05-21 15:57:14 1fKix9-0007MU-FG == example@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    2018-05-21 15:57:35 1fKix9-0007MU-FG Sender identification U=exampledomain D=exampledomain.com S=email@exampledomain.com
    2018-05-21 15:57:35 1fKix9-0007MU-FG == example@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.co
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @locki,

    Are you able to connect to Gmail over port 25 using telnet on your server's command line? For example:

    Code:
    telnet alt4.gmail-smtp-in.l.google.com 25
    It's possible your hosting provider has blocked outgoing traffic over port 25 to Gmail, in which case you'd need to contact them to request they lift that restriction.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. locki

    locki Member

    Joined:
    May 21, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi,
    Yes I get connected to alt4.gmail-smtp-in.l.google.com
    This problem occurred only for some domains and there is no possibility to send email not just Gmail but also the other emails (email@anotherdomain.com,Outlook )
    Other domains on the server work and emails are well sent...
     
  4. Dave_totaal

    Dave_totaal Registered

    Joined:
    Apr 11, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We are experiencing this issue also, spread across multiple servers and different domains.
    This is not limited to gmail, but happens to multiple domains for example: mail-tester. com.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the initial log output only shows the connection failure. Can you let us know the full output from /var/log/exim_mainlog for one of the affected messages? EX:

    Code:
    exigrep SUBJECT /var/log/exim_mainlog
    Replace SUBJECT with the subject of a message that's unable to send to a remote server.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. locki

    locki Member

    Joined:
    May 21, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Code:
    
    2018-05-21 15:56:11 1fKix9-0007MU-FG <= domain@example.com H=(ns1.example.com) [::1]:34394 P=esmtpa A=dovecot_login:domain@example.com S=578 id=846c353b4d59dc43f8ab2ec386d3d520@example.com T="tester" for targetemail@gmail.com
    2018-05-21 15:56:11 1fKix9-0007MU-FG Sender identification U=example D=example.com S=domain@example.com
    2018-05-21 15:56:11 1fKix9-0007MU-FG SMTP connection outbound 1526901971 1fKix9-0007MU-FG example.com targetemail@gmail.com
    2018-05-21 15:57:14 1fKix9-0007MU-FG H=alt4.gmail-smtp-in.l.google.com [74.125.199.26] Connection timed out
    2018-05-21 15:57:14 1fKix9-0007MU-FG == targetemail@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    2018-05-21 15:57:35 1fKix9-0007MU-FG Sender identification U=example D=example.com S=domain@example.com
    2018-05-21 15:57:35 1fKix9-0007MU-FG == targetemail@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'
    2018-05-21 16:59:13 1fKix9-0007MU-FG Sender identification U=example D=example.com S=domain@example.com
    2018-05-21 16:59:13 1fKix9-0007MU-FG == targetemail@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'
    2018-05-21 17:48:28 1fKix9-0007MU-FG Sender identification U=example D=example.com S=domain@example.com
    
    
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you browse to WHM >> Service Configuration >> Exim Configuration Manager >> Basic Editor and let us know how the following options are configured?

    Send mail from account's dedicated IP address
    Reference /etc/mailhelo for outgoing SMTP HELO
    Reference /etc/mailips for outgoing SMTP connections


    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    locki likes this.
  8. locki

    locki Member

    Joined:
    May 21, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi cPanelMichael,
    Send mail from account's dedicated IP address : ON
    Reference /etc/mailhelo for outgoing SMTP HELO : OFF
    Reference /etc/mailips for outgoing SMTP connections : OFF


    When i changed Send mail from account's dedicated IP address to OFF the problem was fixed and emails were sent.
    What is the root cause of this problem?

    Thank you for your response.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-20545 is open to address an issue where the /etc/mailhelo file is incorrectly populated with a reseller's domain name in cases where account's are assigned a dedicated IP address and owned by a reseller. This happens with the following option is enabled in WHM >> Service Configuration >> Exim Configuration Manager >> Basic Editor:

    Send mail from account's dedicated IP address

    I'll monitor the case and update this thread once it's published. In the meantime, the workaround is to temporarily disable the following option in WHM >> Service Configuration >> Exim Configuration Manager >> Basic Editor:

    Send mail from account’s dedicated IP address

    Then, if you want to modify which IP address Exim uses for sending emails until a solution is published, you'd need to follow the instructions documented on the following link:

    Manually configure Exim's outgoing IP addresses

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @locki,

    It's also possible this relates to another case, CPANEL-20348, where the /etc/mailips file is incorrectly populated with the IP address associated with the ethernet device configured with the The ethernet device onto which new IP addresses are added option in WHM >> Basic WebHost Manager® Setup instead of with the main shared IP address configured for the The IPv4 address (only one address) to use to set up shared IPv4 virtual hosts option.

    Can you verify if that's the case on the affected system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. locki

    locki Member

    Joined:
    May 21, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi @cPanelMichael,
    When I ON the settings again Send mail from account's dedicated IP address and check mailips file The domain was not on that list.
    I manually added domain to mailips and mailhelo So then the problem was resolved and emails were sent

    Do not do this automatically?

    Thank you.
     
    #11 locki, May 22, 2018
    Last edited: May 22, 2018
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @locki,

    The /etc/mailips file should be automatically populated with domain names that are assigned dedicated IP addresses upon enabling the Send mail from account's dedicated IP address option. Are you sure domain names on your system are assigned dedicated IP addresses? If not, it's normal for the file to remain blank.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice