Home Net Guide

Home / Port numbers / Port 587

Port 587: SMTP submission

Sending mail from an app to your mail provider. Port 587 uses TCP.

Port
587
Commonly used for
SMTP submission
Transport
TCP
Encrypted
Usually (STARTTLS)
Range
System (well-known) port, 0 to 1023
Our advice
Normally open on a server that provides this service
IANA registration
submission Message Submission (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 587 is used for

Port 587 is the standard port for mail submission: the step where your mail app passes an outgoing message to your provider's server. The connection starts in plain text and is normally upgraded to encryption with STARTTLS before you sign in. It exists so that submission by customers is kept apart from server-to-server delivery on port 25.

Should port 587 be open?

This port is meant to be reachable by a provider's customers and should always demand a username and password. If you run your own server, require encryption before sign-in and block addresses that guess repeatedly.

Related ports

  • Port 465 (SMTP submission over TLS): sending mail from an app, encrypted from the first byte
  • Port 25 (SMTP): mail delivery between mail servers
  • Port 2525 (SMTP alternate (unofficial)): a fallback port for sending mail

Related tool: Email security check. See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 563 (NNTP over TLS) · Next: Port 623 (IPMI)