Home/Port Lookup/Port 25
Network port detail · TCP/UDP
25
smtp
[ 01 ] — Context

About port 25.

Updated  ·  Confidence: High

Port 25/tcp is the original home of the Simple Mail Transfer Protocol and remains the channel for server-to-server mail relay (MTA→MTA) and final delivery across the internet. SMTP is a text-based "push" protocol — a client issues HELO/EHLO, MAIL FROM, RCPT TO, and DATA, and the server accepts or rejects the message — and on port 25 that exchange happens between mail servers reached via DNS MX records, not between an end user's client and their provider. Crucially, since RFC 6409 and RFC 8314, port 25 is *not* intended for authenticated client submission; that role belongs to 587 (STARTTLS) and 465 (implicit TLS). Encryption on 25 is opportunistic via STARTTLS (RFC 3207), optionally enforced with MTA-STS or DANE, and server-to-server trust rests on SPF/DKIM/DMARC rather than credentials. Historically port 25 was the internet's principal spam and malware vector: open-relay misconfigurations let anyone send mail through a server, and large spam botnets delivered directly to MX hosts on 25 — which is why residential ISPs almost universally block outbound 25 (the Spamhaus/M3AAWG "port 25 management" practice). For an analyst, an open 25/tcp usually indicates an inbound MTA or mail gateway; the high-value triage steps are banner-grabbing the server software, testing for an open relay, checking whether STARTTLS is offered, and confirming AUTH is not exposed in cleartext.

IANA assignment
smtp — "Simple Mail Transfer"; reference [RFC-ietf-emailcore-rfc5321bis-43] (the in-progress RFC 5321bis revision the registry currently tracks); assignee IESG/IETF Chair; modified 2017-06-05. Governing published standard: RFC 5321 [IANA-assigned] — IANA Service Name and Transport Protocol Port Number Registry
Range class
well-known (0–1023)
Primary use
server-to-server mail relay (MTA→MTA) and final delivery; not authenticated client submission (use 587/465) [Well-established] — RFC 5321, RFC 6409, RFC 8314
Other/unofficial uses
legacy authenticated submission (discouraged); unofficial fallback port 2525 (not IANA/IETF-recognized) [Community-reported] — provider docs
Prevalence
nmap-services open-frequency 0.131314 — the most common port in the mail cluster [Well-established] — nmap-services file
Security implications
open-relay abuse; spam-botnet direct-to-MX delivery (cause of residential ISP outbound-25 blocking, per Spamhaus/M3AAWG); STARTTLS downgrade/stripping; cleartext AUTH discouraged [Well-established/Threat-reported] — Spamhaus, USENIX Security 2021 (STARTTLS), CISA
Typically seen on
inbound MTAs, mail gateways, spam filters (Postfix, Sendmail, Exchange, Exim, Qmail, Zimbra)
Related ports
587 (submission + STARTTLS), 465 (submission + implicit TLS); 2525 (unofficial)
Analyst note
Open 25/tcp usually means an inbound MTA/mail gateway. Banner-grab the server type, test for open relay (e.g., nmap smtp-open-relay), check STARTTLS support, and check whether AUTH is offered in cleartext.