Hello. I am new to mail. Here I made mail using mail-in-a-box and a couple of questions arose.
I made a server on vps digital ocean. They are blocking port 25. Do I understand correctly that I need to reconfigure to send emails through port 587?
When I connect with the thunderbird client, it enters the outgoing port as 587, but when I send an email in the /var/log/mail.log , I see the message:
connect to gmail-smtp-in.l.google.com[64.233.166.27]:25: Connection timed out
Again, port 25. Is this how it should be?
Kieker Jan is correct. You need port 25 open for email send and receive. Port 587 is for email client access.
DO only recently changed their policy on port 25 for new customers. You should be able to ask them to open the port for you but they might be reluctant if you are a brand new customer.