- Plesk for Windows
Outgoing emails are not being delivered. The mail server is MailEnable.
The following errors are shown in the MailEnable SMTP-Debug log (MailEnableAdmin > Servers > localhost > Services and Connectors > SMTP > Logs > Debug):
CONFIG_TEXT: ME-I0026: [71F2BE266CCF446CA0B9225A0DD2D496.MAI] Sending message
ME-E0042: [71F2BE266CCF446CA0B9225A0DD2D496.MAI] - SMTP Connection DNS Server could not resolve domain name (example.com) in a timely fashion. Check DNS Server settings.
ME-E0059: [71F2BE266CCF446CA0B9225A0DD2D496.MAI] Message Delivery Failure. Attempt (0): Could not connect to mail server for domain (example.com). The remote mail server could not be contacted at this time. Message has been requeued.
The recipient's domain name example.com can be resolved externally. For instance:
C:\> nslookup example.com
and its MX record can be verified as described in the article.
DNS server configured for the mail server does not work.
Connect to the server using RDP.
Update Mail Enable DNS configuration:
Go to Servers > localhost > Services and Connectors > SMTP > Properties.
Check that the configured DNS server is working and that connection to the DNS from the server is possible via command line.
C:\> nslookup example.com 192.0.2.2
If the connection is not possible, specify the Google DNS for SMTP service - 188.8.131.52.
Note: SMTP server must be restarted to apply changes, if any (Servers > localhost > Services and Connectors > SMTP > Stop/Start).
If the error still persists, make sure that the server is able to resolve any public host:
C:\> ping google.com
Ping request could not find host google.com. Please check the name and try again.
If the output is like above, contact the network administrator.