Advertisement
maaveran

What port should I use?

Dec 16th, 2015
3,678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
BibTeX 2.02 KB | None | 0 0
  1. What port should I use?
  2.  
  3. <!----------MAilgun------------>
  4.  
  5. Port 25:
  6. This port continues to be used primarily for SMTP relaying. SMTP relaying is the transmittal of email from email server to email server.
  7.  
  8. In most cases, modern SMTP clients (Outlook, Mail, Thunderbird, etc) shouldn't use this port. It is traditionally blocked, by residential ISPs and Cloud Hosting Providers, to curb the amount of spam that is relayed from compromised computers or servers. Unless you're specifically managing a mail server, you should have no traffic traversing this port on your computer or server.
  9.  
  10. Port 465:
  11. IANA has reassigned a new service to this port, and it should no longer be used for SMTP communications.
  12.  
  13. However, because it was once recognized by IANA as valid, there may be legacy systems that are only capable of using this connection method. As a result, Mailgun supports SSL connections via port 465. Typically, you will use this port only if your application demands it. A quick Google search, and you'll find many consumer ISP articles that suggest port 465 as the recommended setup. Hopefully this ends soon! It is not RFC compliant.
  14.  
  15. Port 587:
  16. This is the default mail submission port. When a mail client or server is submitting an email to be routed by a proper mail server, it should always use this port.
  17.  
  18. All Mailgun customers should consider using this port as default, unless you're explicitly blocked by your upstream network or hosting provider. This port, coupled with TLS encryption, will ensure that email is submitted securely and following the guidelines set out by the IETF.
  19.  
  20. Port 2525:
  21. This port is not endorsed by the IETF nor IANA. Instead, Mailgun provides it as an alternate port, which mirrors port 587, in the event the above ports are blocked. Because 2525 is a non-traditional high port number, it is typically allowed on consumer ISPs and Cloud Hosting providers, like Google Compute Engine. If you've tried the above ports, but experience connectivity issues, try port 2525. This port also supports TLS encryption.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement