Most hosting providers block outbound traffic to port 25 by default. A simple telnet to outside port 25 can verify it quickly.


Regards

On 2024-09-30 23:20, Jarosław Rafa via Postfix-users wrote:
W dniu pon, 30.09.2024 o godzinie 09∶52 -0400, użytkownik Steve Matzura
via Postfix-users napisał:

I enabled port 25.

$ sudo ufw allow 25

/var/log/mail.log still shows connection timeout. Maybe ports 465 and
587 as well?

It's not the problem with *incoming* port 25 on *your* server.
The problem is that, most probably, your hosting provider is blocking
the *outgoing* connections from your new server to port 25 of *other*
servers anywhere on the Internet.
Your old server probably doesn't have that block in place, and the new
one does, that's why you can't send mail.
You probably should contact your hosting provider and ask them to lift
the block.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to