Sending email : connection timed out and retry time not reached
AnsweredI have an issue on my server that began today.
All domains cannot send emails anymore getting errors:
- Connection timed out
- retry time not reached for any host for
Any help much appreciated
-
Hi,
Usually, a "connection timed out" error indicates either port 25 outbound is blocked (if all mail fails to send out) or it could indicate a specific mail host is blocking your server (if this error only happens when sending to certain hosts). I recommend ensuring that port 25 outbound is opened on your server if all domains are unable to send email with this error. If you're uncertain how to check this, you can run a command such as the following from within your server:
# curl portquiz.net:25
Port test successful!
Your IP: 1.1.1.10 -
Hi William,
thanks for your help.
I did this and got:
[root@server2 ~]# curl portquiz.net:465
Port test successful!
Your IP: **
[root@server2 ~]# curl portquiz.net:587
Port test successful!
Your IP: **
[root@server2 ~]# curl portquiz.net:25Port 25 does not work indeed. But how come? My hosting provider (Hostinger) does not block port 25.
What can I do ?0 -
Hi,
For mail to send out, port 25 outbound would need to be opened in your server's firewall. Service providers will often block port 25 if they detect spam being sent by the server.
cPanel doesn't provide an interface to manage your firewall by default, but some customers prefer to use CSF to manage their firewall since it allows you to easily open ports in WHM. With that said, if your provider has put a block on port 25, opening it in the local firewall may not resolve the issue as your provider may also have external firewalls in place.
If opening port 25 outbound is not an option, you can configure a smart host to send email from an alternate port:
0
Please sign in to leave a comment.
Comments
3 comments