Open Relay Test — check any mail server for real relay abuse risk
Run genuine SMTP transactions against a domain's mail servers to see whether they'll relay mail for strangers. No mock data, no simulated results — every test connects live on port 25 and reports exactly what the server said.
Related tools you might need next
Run an open relay test
Enter a domain (we'll resolve its MX records) or a specific mail server hostname / IP.
By running a test you confirm you are authorized to test the target server. This tool performs live network connections for diagnostic purposes only.
Results
Run a test above to see live SMTP relay results here.
Built for real diagnostics, not guesswork
Every test opens a genuine SMTP connection and reports exactly what the mail server returns.
Multiple relay probes
Four distinct MAIL FROM / RCPT TO combinations covering the classic relay-abuse patterns, including the percent-hack notation.
Zero-impact testing
Every probe is aborted with RSET right after the RCPT TO response — no message is ever queued or delivered.
Automatic MX resolution
Give us just the domain — we resolve up to three MX hosts in priority order and test each one.
SSRF-safe by design
Private, loopback, and reserved IP ranges are refused server-side, so the tool can't be used to scan internal networks.
Actionable recommendations
Every result comes with concrete configuration guidance for Postfix, Exim, and general SMTP AUTH hardening.
Export your results
Copy the full report to your clipboard or download it as JSON for tickets, audits, or compliance records.
How the test works
A transparent, four-step live diagnostic — nothing simulated.
Resolve mail servers
We look up MX records for your domain, or use the hostname/IP you supplied directly.
Open a live SMTP session
We connect on port 25, capture the banner, and issue EHLO/HELO like a real sending server would.
Run relay probes
Several MAIL FROM / RCPT TO combinations are attempted and every response code is recorded.
Abort and report
Each probe is reset before DATA, then we summarize the verdict with clear next steps.
What an open relay test actually checks
An open relay test looks at whether a mail server will accept a message from a sender it has no relationship with and pass that message along to a completely unrelated recipient domain. In a properly configured setup, an SMTP server only accepts mail destined for the domains it hosts, or mail sent by authenticated users who are permitted to relay outward. When a server skips that check, it becomes an open relay: a free forwarding point that spammers and phishing operators actively scan for and abuse within hours of finding it. That's why an open relay checker like this one exists — to give administrators a fast, honest read on whether their own server has that gap before someone else finds it first.
SMTP relay vs SMTP server: what's the real difference?
People often use "SMTP server" and "SMTP relay" interchangeably, but they describe different jobs. An SMTP server's core role is final delivery — accepting mail for its own hosted mailboxes. An SMTP relay's job is forwarding — taking a message in on one side and handing it off toward its ultimate destination on the other, often across organizational boundaries. Most production mail servers do both, which is exactly why relay controls matter: the same daemon that delivers your team's mail can, if misconfigured, also happily forward someone else's spam campaign to the rest of the internet under your IP's reputation.
What is an open relay checker, and how do you use one?
An open relay checker automates the manual SMTP conversation a security researcher would otherwise type by hand with telnet. It connects to your mail server, issues a handful of MAIL FROM and RCPT TO combinations that represent classic abuse patterns, and watches whether the server accepts them. Usage is simple: enter a domain name (the tool resolves its MX records automatically) or a specific mail server hostname, run the test, and read the verdict. If any combination is accepted without authentication, the server is relaying for strangers and needs a configuration fix — typically in the relay-restriction directives of Postfix, Exim, or whichever mail transfer agent is in use.
A practical example
Imagine mail.example.com accepts a message where MAIL FROM is a made-up address at a domain it's never seen, and RCPT TO is an equally unrelated external mailbox. If that message gets a 250 OK response before any login has taken place, example.com's server just proved it will relay third-party mail — the definition of an open relay. Fixing it means requiring SMTP AUTH for any outbound relay and restricting anonymous connections to inbound delivery only for the domains actually hosted there.
Why this matters for deliverability and reputation
Blocklist operators and mailbox providers watch for relay abuse closely, and a single open relay can get an IP address flagged within a very short window once spammers discover it. That flag doesn't just affect the abused traffic — it can tank deliverability for every legitimate email the server sends afterward. Running a routine open relay test alongside SPF, DKIM, and DMARC checks is a small habit that prevents a much larger cleanup job later.
Frequently asked questions
An open relay test checks whether an SMTP mail server will accept and forward mail from senders it has no relationship with. An open relay lets anyone route spam or phishing through your server, damaging your domain reputation and getting your IP blocklisted.
A regular SMTP server accepts mail only for its own authenticated users or domains it hosts. An SMTP relay forwards mail on behalf of other systems to further destinations. Relaying should always require authentication or a trusted IP allowlist; when it does not, the server is an open relay.
Restrict relaying in your mail transfer agent so only authenticated users or explicitly trusted networks can send to external domains, require SMTP AUTH over TLS, and re-test after every configuration change to confirm the fix holds.
Keep your whole mail setup healthy
Pair this open relay test with our SPF, DKIM, and DMARC tools for a complete outbound email security check.