problem send email retry time not reached for any host

Operating System & Version
CENTOS 7.9 kvm
cPanel & WHM Version
v98.0.6

melzaiady

Registered
Aug 31, 2021
4
0
1
Egypt
cPanel Access Level
Root Administrator
i have problem on server email stop send
i get error like this
T=dkim_remote_smtp defer (-53): retry time not reached for any host for any domain try to send for it
i try many solution and make reset for Exim Configuration
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,442
1,004
313
cPanel Access Level
Root Administrator
Hey there! This is controlled by the Exim retry database, which can be reset with these commands:

Code:
/usr/sbin/exim_tidydb -t 0d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 0d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 0d /var/spool/exim wait-remote_smtp > /dev/null
If you still get errors after running those commands, there is likely an issue with the domain you are trying to send the message to.
 

melzaiady

Registered
Aug 31, 2021
4
0
1
Egypt
cPanel Access Level
Root Administrator
Hey there! This is controlled by the Exim retry database, which can be reset with these commands:

Code:
/usr/sbin/exim_tidydb -t 0d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 0d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 0d /var/spool/exim wait-remote_smtp > /dev/null
If you still get errors after running those commands, there is likely an issue with the domain you are trying to send the message to.
thank you , i execute this on terminal but now error become T=dkim_remote_smtp defer (110): Connection timed out
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,442
1,004
313
cPanel Access Level
Root Administrator
Thanks for that - that would indicate that your server either can't look up the remote location to send the message, or you are blocked from sending to that location.

You can running this command to see if you can manually connect:

Code:
telnet remotedomain.com 25
as that will attempt to make a connection to the remote mail server.
 

melzaiady

Registered
Aug 31, 2021
4
0
1
Egypt
cPanel Access Level
Root Administrator
Thanks for that - that would indicate that your server either can't look up the remote location to send the message, or you are blocked from sending to that location.

You can running this command to see if you can manually connect:

Code:
telnet remotedomain.com 25
as that will attempt to make a connection to the remote mail server.
Thank you , this result of telnet
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,442
1,004
313
cPanel Access Level
Root Administrator
Thanks for that. The most likely issue is that you server's resolvers are not set properly. Can you comment out the existing entries in /etc/resolv.conf and add the following?

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
and see if that gets things working?
 

melzaiady

Registered
Aug 31, 2021
4
0
1
Egypt
cPanel Access Level
Root Administrator
Thanks for that. The most likely issue is that you server's resolvers are not set properly. Can you comment out the existing entries in /etc/resolv.conf and add the following?

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
and see if that gets things working?
thank you , i change nameserver but telnet return error
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,442
1,004
313
cPanel Access Level
Root Administrator
Thanks for the additional details. The most likely reason for this is that your hosting provider is blocking port 25. Can you speak with them to see if that is the case, and if they have alternative recommendations for sending mail?