Port 25 — SMTP (Simple Mail Transfer Protocol)
Standard protocol for MTA-to-MTA (Mail Transfer Agent) email routing and relay across the internet.
⚡ Primary Use Cases & Environments
- ✓Server-to-server email delivery
- ✓Mail exchange (MX) message routing
🛡️ Security & Vulnerability Analysis
Most residential ISPs and cloud providers (AWS, GCP, DigitalOcean) block outbound port 25 to prevent spam bots. Email submission from clients should use port 587 with STARTTLS instead.
🔧 Network Diagnostics & Inspection
🔥 Firewall Configuration Rules (UFW & iptables)
❓ Frequently Asked Questions (FAQ)
Why can’t I send email from port 25 on my VPS?
Cloud providers block outbound port 25 by default to protect their IP reputation against spam. You must request unblocking or use an SMTP relay like SendGrid, Mailgun, or Postmark.
What is the difference between port 25 and port 587?
Port 25 is for server-to-server mail relays. Port 587 is the standard submission port for authenticated email clients sending email to their outgoing mail server.