SMTP Port 25 Test & Mail Server Diagnostic | iN2 Tools

Initiate a raw TCP handshake with the mail transfer agent (MTA) to test connectivity, TLS capability, and open relay status.

SMTP Port 25 Test & Mail Server Diagnostic

Test TCP port 25 connectivity, verify SMTP banner greetings, audit STARTTLS encryption capabilities, and check mail server readiness.

About the SMTP Port 25 Test

The iN2 SMTP Port 25 Test initiates a raw TCP connection to remote Mail Transfer Agents (MTAs) on port 25 to verify inbound email service availability. It checks whether the target mail server responds with a valid 220 banner greeting, advertises standard extension capabilities (EHLO), and supports STARTTLS opportunistic encryption.

When to Use This Tool

  • Troubleshooting non-delivery reports (NDRs) or bounce messages due to connection timeouts.
  • Verifying whether cloud providers or outbound ISPs are blocking outbound TCP port 25 traffic.
  • Confirming that newly installed MTA services (Postfix, Exim, Sendmail, MS Exchange) are accepting network handshakes.
  • Auditing TLS cipher configuration and STARTTLS availability for secure mail transport.

Example SMTP Handshake Output

A healthy SMTP service exchange produces a log similar to:

Connecting to mail.example.com on port 25...
220 mail.example.com ESMTP Postfix
EHLO tools.in2.net
250-mail.example.com
250-PIPELINING
250-SIZE 52428800
250-STARTTLS
250-ENHANCEDSTATUSCODES
250 8BITMIME
STARTTLS
220 2.0.0 Ready to start TLS

Common Causes of Port 25 Failure

  • Port 25 Egress Blocking: Many cloud platforms (AWS, Azure, DigitalOcean) block outbound port 25 by default to prevent spam propagation.
  • Firewall / NAT Filtering: Corporate firewalls or perimeter security appliances dropping incoming SYN packets on port 25.
  • Missing MX Records: Domain lacks valid MX DNS records pointing to an active hostname.

Relevant Standards & RFCs

This tool enforces protocols defined in RFC 5321 (Simple Mail Transfer Protocol) and RFC 3207 (SMTP Service Extension for Secure SMTP via Transport Layer Security).

Related Email Security Tools