HELP: WHM Server not sending emails: connection timeout error

Operating System & Version
Linux (redhat 7.8)
cPanel & WHM Version
CLOUDLINUX 7.8 hyper-v [cloud] v88.0.13

Olupitan Dada

Registered
Jun 18, 2019
4
0
1
Lagos
cPanel Access Level
Root Administrator
Hello,
Please i need urgent help.

I noticed WHM stopped sending mails on all the cPanel accounts on the server, this was working perfectly before, but just stopped.

We have checked and troubleshoot if either the IP was blacklisted but, IP is fine.

Exim error log shows : Connection timeout, the cPanel accounts can receive emails but sending emails out will timeout and never delivers.

Here is the error log from our mail report log

1k658I-000Tm1-D9
retry time not reached for any host for 'domain.com'

k658I-000Tm1-9x
Connection timed out

I will appreciate if anyone can help out to resolve this issue.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
Hello,
We'll need more information than this to assist you.

  • Is this occurring for all domains you're attempting to send to or just specific domains?
  • What is present in /etc/resolv.conf?
  • Are the domain/s you're attempting to send from utilizing SPF and DKIM?
  • Do you have a valid PTR record for all IPs on the server which resolves to a valid hostname?

Thanks!
 

Olupitan Dada

Registered
Jun 18, 2019
4
0
1
Lagos
cPanel Access Level
Root Administrator
Thank you for your feedback, here is what is in the /etc/resolv.conf file

generated by /usr/sbin/dhclient-script
nameserver 168.63.129.16
search domain.com vps.domain.com 1qokpf1l5nqu3abj5y4dv2oi4e.ax.internal.cloudapp.net domain.com

The resolver ip address from Azure.

Yet, every mails we sent out keeps timing out. Please help what can i do?
 

Olupitan Dada

Registered
Jun 18, 2019
4
0
1
Lagos
cPanel Access Level
Root Administrator
Also here is what the Mail delivery report shows

Delivery Event Details


Event:defer
warning
Sender User:domiainuser
Sender Domain:exampledomain.com
From Address:[email protected]
Sender:[email protected]
Sent Time:Aug 15, 2020, 7:28:07 AM
Sender Host:server.hostname.com
Sender IP:::1
Authentication:dovecot_login
Spam Score:
Recipient:[email protected]
Delivered To:
Delivery User:-system-
Delivery Domain:
Router:dkim_lookuphost
Transport:dkim_remote_smtp
Out Time:Aug 15, 2020, 8:09:08 AM
ID:1k6pfp-000NHN-6w
Delivery Host:
Delivery IP:
Size:701 bytes
Result:Connection timed out
 

Olupitan Dada

Registered
Jun 18, 2019
4
0
1
Lagos
cPanel Access Level
Root Administrator
PLEASE I STILL NEED HELP

Can anybody help me with this issues of mails not deliver to destination on my VPS server, yet emails are coming in.

Anybody with this issue and able to resolve for me?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
Can you try adding the following in /etc/resolv.conf in place of what is there currently?

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
Also, can you confirm whether or not Azure blocks outbound port 25?