Skip to main content

Email instantly fails with error all hosts for domain have been failing

Comments

7 comments

  • cPanelMichael
    The email is attempting to send to our own exchange server.

    Hello, Can you verify the connection from your cPanel server to the remote exchange server is succeeding? You can test using the "telnet" utility. EX:
    telnet remote-exchange-server 25
    Also, are you able to send emails to other remote mail servers? Thank you.
    0
  • D5894
    Hello, Can you verify the connection from your cPanel server to the remote exchange server is succeeding? You can test using the "telnet" utility. EX:
    telnet remote-exchange-server 25
    Also, are you able to send emails to other remote mail servers? Thank you.

    When I run telnet I get "command not found" I ran the WHM "Mail Troubleshooter" and it tests okay for both our domain and others
    0
  • cPanelMichael
    Hello, Could you search for an affected message in /var/log/exim_mainlog and let us know the output? EX:
    exigrep user@remote-exchange-server /var/log/exim_mainlog
    Thank you.
    0
  • D5894
    Hello, Could you search for an affected message in /var/log/exim_mainlog and let us know the output? EX:
    exigrep user@remote-exchange-server /var/log/exim_mainlog
    Thank you.


    2017-08-15 07:28:53 1dhcpx-000GUw-FH <= cpanelusername@FQDN-of-server U=username P=local S=1045 id=7f4312b624a0f17d3c78ebabbf730ac4@websiteurl T="[Website Name] Password Reset" for exchageemail@domain.com 2017-08-15 07:28:53 1dhcpx-000GUw-FH SMTP connection outbound 1502807333 1dhcpx-000GUw-FH Website-URL exchageemail@domain.com 2017-08-15 07:28:53 1dhcpx-000GUw-FH ** exchageemail@domain.com R=lookuphost T=remote_smtp: all hosts for 'domainname.com' have been failing for a long time (and retry time not reached) 2017-08-15 07:28:53 1dhcpx-000GUw-FH Completed
    Edited for real names
    0
  • cPanelMichael
    all hosts for 'domainname.com' have been failing for a long time (and retry time not reached)

    This suggests your server is unable to make connections to the server that hosts "domainname.com". Do you have any firewall rules on either server that could be blocking the connection over port 25? Thank you.
    0
  • D5894
    This suggests your server is unable to make connections to the server that hosts "domainname.com". Do you have any firewall rules on either server that could be blocking the connection over port 25? Thank you.

    Hi - I ran the "Resolver Configuration" and am now able to connect and was able to send the emails. Thank you very much for the help!
    0
  • cPanelMichael
    Hello, I'm happy to see you were able to solve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.