This comment on my Getting a Lot of Spam? post led me to dig deeper into port 587, the SMTP Submission port.
Port 587 is for users to send out emails on. Port 25 is for servers to relay messages to one another. That way ISPs can block outgoing SMTP on their networks but still allow users to send email to any mail server through port 587. I’m a little embarrassed that I’ve never heard of this before. This week I gotta make this port active on our SMTP relay server.
Port 587 isn’t the only interesting one. Here are others: (source)
| Service | TCP Port | Notes |
|---|---|---|
| SMTP – Simple Mail Transfer Protocol | 25 | * As part of the anti-spam best practices, you should block this outgoing for any machine that doesn’t need to send email directly. |
| SMTPs – secure SMTP | 465 | Port 465 shows up Appendix A of the 1996 non-standard standard The SSL Protocol Version 3.0 as “Simple Mail Transfer Protocol with SSL”. Unfortunately, it’s not registered for SMTPs, it’s registered for URD – “URL Rendesvous Directory for SSM” by Cisco. The recommended approach, at least for authentication, is to use START TLS encryption on submission port 587. |
| (SMTP email) submission | 587 | * See RFC 2476 – Message Submission. |
| POP2 – Post Office Protocol 2 | 109 | * obsolete |
| POP3 – Post Office Protocol 3 | 110 | * |
| POP3s – secure POP3 | 995 | * Full description is “pop3 protocol over TLS/SSL (was spop3)”. |
| IMAP3 – Interactive Mail Access Protocol v3 | 220 | * obsolete |
| IMAP4 – Internet Message Access Protocol 4 | 143 | * Also referred to by version as IMAP4. |
| IMAPs – secure IMAP | 993 | * Full description is “imap4 protocol over TLS/SSL”. Use 993 instead of TCP port 585 “imap4-ssl”, which is deprecated. |
When I’m out of the office and connected to a public wireless network I’m very cautious about checking my email. Right now Sutton only has POP3 and authenticated SMTP service. This week I’m going to look into setting up POP3+TLS, IMAP+TLS and SMTP+TLS. We run qmail+ldap (awesome!) so it shouldn’t be too hard to create TLS encrypted access.
This would give me the peace of mind that when I’m on public wireless my passwords aren’t flying through the air in plain text. It’ll also save me the trouble of having to connect to the VPN at the office just to check my email!

{ 8 comments… read them below or add one }
I am using port 587 a lot for ASMTP over TLS/SSL. Its work great. Specially when I am on the university where we are using a wireless without encryption, together with some cources where you learn how to spoof data over wireless, its nice to have some encryptions.
Hi There,
A very interesting post. I just purchased a new iPhone and was finding that outgoing mail was not sending.
When I looked under the hood, I saw that port 587 was configured for the outgoing mail, I switched this to port 25 and was able to send. Makes me wonder if my ISP (Demon) had the port blocked?
Thanks for the explanation
Gareth
i cant get send any email on my outlook expressand wonder if there is a problem.
My ISP has decided that I need to use port 587 to send email on my server, not thier server, my server… The ISP is blocking me. We attempted to set port 587 for SMTP, but my webhost has it disabled. I’m changing ISP. Locked doors only keep honest people out. its not goig to the spam or worms or viruses from spreading.
When you are out in public, you should use SSH to log in (via key based login) to your system and use a text based email client to read your email. That way you know you are guaranteed that nothing is released over the public wireless connection.
Interesting and helpful!
After several happy years with Speakeasy ADSL at 1.3 Mb/s, I couldn’t resist a no-contract FiOS 25 Mb/s symmetrical rate — no contract, either, for less than twice what I was paying to Speakeasy. I’ve been very slow about configuring e-mail with Verizon, and until a few days ago was sending all to Speakeasy’s server via port 25. I got a perpetual “Connecting…” in Opera e-mail after a few days’ hiatus. Speakeasy Tech Support (even though my account is e-mail, only) promptly recommended port 587, which was new to me. Happiness Returned.
Googling on [port 587] brought lots of hits!
Many thanks for the added info.!
I have changed my port to 587, but I still am unable to receive any emails using Outlook? Any ideas on what else I could do, I have followed the directions word for word & even went in deleted it & started over. Still no luck, anything at this point would be greatly appreciated!
Danielle
Danielle, the port 587 is to send emails via smtp. To receive you may configure the pop port as 995 if your provider enabled secure for POP and don’t forget to click on: This server requires SSL connection if you like to send your emails on secure connection, but most important to discover qhat is happening is see the error.. another mistake is dont click on “my ingoing server (POP) requires authentication” dont forget this..
Good Luck!