Replies: 2 comments 5 replies
-
Port 25 can be encrypted, when both ends supports it. Haraka will opportunistically encrypt the connection if the remote supports it. |
Beta Was this translation helpful? Give feedback.
5 replies
-
For the record, port 587 works exactly the same as port 25: the SMTP sender connects to the remote in plain text, issues a HELO or EHLO, and then if the remote supports it, upgrades the connection using STARTTLS. If you want to only connect to completely (all or nothing) encrypted ports, you need to use port 465 for that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to prefer/force encrypted ports for outbound instead of port 25?
As it's partly hardcoded here:
https://github.com/haraka/Haraka/blob/master/outbound/hmail.js#L361
We tried changing it to 587 and worked well.
Not sure how it can (sometimes?) set the port from MX on this line: https://github.com/haraka/Haraka/blob/master/outbound/hmail.js#L210
I'm not sure what the RFC say about using encrypted ports for outbound SMTP
Beta Was this translation helpful? Give feedback.
All reactions