foxcpp / maddy

✉️ Composable all-in-one mail server.
https://maddy.email
GNU General Public License v3.0
5.13k stars 249 forks source link

does smtp send mail must be 25 port of targe host? #694

Open MrSong0607 opened 8 months ago

MrSong0607 commented 8 months ago

Use case

case most of vps has disable outbound traffice with port 25, like vultr , digital ocean

Your idea for a solution

have some way to set the default port of smtp sent, like 465, 587, or other way, just like proxy the outbound request over socks?

taoso commented 8 months ago

Yes. 25 port is using for mail exchange. The 465 and 587 are for mail submission, which means they are only used between you own mail client and smtp server. You smtp will always use the 25 port to connect the out domain server.

MrSong0607 commented 8 months ago

Yes. 25 port is using for mail exchange. The 465 and 587 are for mail submission, which means they are only used between you own mail client and smtp server. You smtp will always use the 25 port to connect the out domain server.

thanks for reply, can i proxy the 25 port smtp request ?

greatbody commented 8 months ago

This question is exactly what I had a few minutes ago. Thanks a lot for answering.