Topic · Email Infrastructure

SMTP port 25

SMTP port 25 is the standard TCP port used primarily for mail transfer between servers.

Email Security Glossary·Practical guidance
Share this definition LinkedIn X WhatsApp Email
01 / How it works

How it works

Mail transfer agents connect to destination MX servers on port 25 and may negotiate STARTTLS after SMTP greeting.

02 / What can go wrong

What can go wrong

Cloud hosting firewalls and network providers frequently restrict outbound port 25, causing delivery tests to fail.

03 / What to check or do

What to check or do

Check connectivity and provider egress policies before diagnosing a remote MX as unavailable.

Practical diagnosis

How to investigate SMTP port 25

Signal to investigate
A fresh cloud VM times out connecting to public MX servers on TCP 25.
Evidence to collect
Test outbound routing separately from DNS and ask the provider about SMTP egress restrictions.
Common wrong conclusion
An open inbound port 25 on your server does not imply outbound TCP 25 is permitted.
Illustrative diagnostic — substitute your authorized domain or host
nc -vz mx.example.com 25
Educational example; not validated against your live infrastructure.
NEXT STEP

Put this into practice

Run a focused check, then explore protection if your domain needs it.