WHATPORT(587) whatport.net WHATPORT(587)
587

Submission (SMTP with STARTTLS)

Mail submission with STARTTLS — authenticated outgoing mail, TCP 587.

TCP

Description

RFC 6409 reserves TCP 587 for message submission: mail arriving here is a submission from an authenticated user, not a relay from another mail server, so the server may apply its own rules (rewriting headers, requiring AUTH). The connection starts in cleartext and the client issues STARTTLS to upgrade. Postfix, Exim, and every hosted mail provider run it, and it is the port mail clients are configured with when they are not using 465. On a scan it identifies a mail submission agent.

Exposed to the internet?

Expose with care

Expected to be internet-facing for remote users, but require AUTH and enforce TLS before AUTH — a misconfigured 587 that accepts unauthenticated mail becomes an open relay.

Check it yourself

$ openssl s_client -starttls smtp -connect MAIL_HOST:587 -quiet

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.