[ Headers & delivery errors ]

SMTP banner and reverse-DNS mismatches

Compare the SMTP greeting, EHLO identity, forward DNS and PTR evidence without treating a hostname mismatch as a complete authentication verdict.

By the EmailAuth research team · 3 min read

[ Key points ]

  • Compare the SMTP greeting, EHLO identity, forward DNS and PTR evidence without treating a hostname mismatch as a complete authentication verdict.
  • An inbound server banner, outbound EHLO identity, PTR mapping and message signer are separate facts with different owners.
On this page

An SMTP scanner may report that the server's banner does not match reverse DNS. That finding deserves interpretation, not an automatic conclusion that the server is spoofing mail. Identify which address was tested, which name the scanner expected and whether it observed an inbound service or the outbound route used for real messages.

Name the identities being compared

The server's initial SMTP greeting identifies the service reached by the client. The client's EHLO argument identifies the connecting client for that SMTP conversation. A PTR record maps an IP address to a reverse-DNS name. Forward DNS maps a name to addresses. These are separate observations and can involve different machines or administrative owners. RFC 5321 sections 4.1.1.1 and 4.2.

An inbound gateway's greeting does not necessarily describe the host used for outbound delivery. Load balancing, network address translation and separate sending pools complicate that comparison. Record the exact tested address and role before asking a DNS administrator to make a name match. Otherwise, a cosmetic fix can target a system unrelated to the original delivery complaint.

Check what the protocol actually requires

RFC 5321 describes the preferred domain-name identification in greetings and EHLO, and it allows address literals in specified situations. It also says a receiver must not refuse a message solely because verification of the EHLO parameter does not match the client IP address. That does not remove a receiver's other security or operational policy decisions, nor guarantee acceptance at every provider.

Do not turn a provider's documented DNS expectations into a universal protocol rule. Some receiving services apply explicit forward and reverse-DNS requirements to senders. A provider-specific rejection should be investigated against that provider's current first-party guidance and the actual connecting IP. This article does not assert that all receivers implement the same PTR checks.

Build the comparison record

Capture UTC time, connecting IP, recipient-facing MX or service role, raw greeting, EHLO value, PTR answer and the forward lookup for the PTR name. Keep missing answers, multiple names and resolver errors distinct. If an outbound address is supplied by a hosting provider, determine who controls its PTR delegation; editing an unrelated zone may not change reverse DNS.

Compare a real rejected transaction with an accepted controlled transaction when available. The complete rejection text matters more than a generic scanner warning. If mail already flows normally and the scanner offers no applicable rule, classify the finding as an identity-hygiene question rather than claim a proven delivery outage.

Map a hypothetical split mail architecture

Suppose a scanner connects to inbound.example and records its server greeting. A real outbound transaction, however, leaves through send.example with EHLO send.example. Its connecting address has a PTR pointing to send.example and a forward lookup returning that address. The scanner's inbound banner and the outbound client's name describe different systems, so their difference alone does not demonstrate a defect.

A signature with d=brand.example would be another independent identity. Its validity needs actual DKIM verification; PTR agreement cannot supply that result. Likewise, DMARC needs its own aligned authentication evidence. These are hypothetical values, not queried DNS, captured SMTP or executed cryptographic verification.

For an actual rejection, assemble one record for the real connecting IP and relevant provider requirement. If the provider complaint names reverse DNS, resolve the intended PTR with the address-space owner. Do not edit the inbound banner merely because it was the first name a scanner displayed.

Remediate under the correct ownership

Where a genuine configuration inconsistency exists, coordinate the service identity and forward and reverse DNS with their respective owners. Preserve the old values, TTLs and affected sending pools. After the approved change, query the actual address again and repeat the originally failing controlled transaction.

Keep SPF, DKIM and DMARC checks separate. A matching PTR name does not establish their pass results or alignment with the visible From domain. Close only the verified naming or delivery defect, and retain unresolved provider-policy questions rather than presenting a cosmetic banner match as comprehensive authentication.

Compare names with the correct role

  • Server greeting: identify the inbound endpoint actually tested.
  • Client EHLO and connecting IP: identify the outbound transaction in question.
  • PTR and forward answers: preserve timestamps and the address-space owner.
  • Provider refusal: obtain its exact diagnostic and current requirement.
  • Closure: verify the affected naming or delivery issue without claiming DKIM or DMARC from PTR.

[ Takeaway ]

Compare the SMTP greeting, EHLO identity, forward DNS and PTR evidence without treating a hostname mismatch as a complete authentication verdict.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Compare like-for-like identities

Inbound banners and outbound addresses may describe different systems.

Next steps

  1. Capture the exact tested IP.
  2. Record PTR and forward answers.
  3. Retest the actual sending route.

CISO / SecOps

Avoid treating names as proof

Readable hostnames are not a complete authentication control.

Next steps

  1. Review misleading identity claims.
  2. Preserve domain-authentication checks.
  3. Audit scoped DNS changes.

Founder / Non-technical

Connect the warning to business impact

A scanner mismatch may not explain a delivery failure.

Next steps

  1. Identify the affected mail stream.
  2. Assign service and address owners.
  3. Prioritize verified rejection evidence.

[ FAQs ]

Frequently asked questions

Is the SMTP banner the client’s EHLO identity?

No. The banner comes from the server; EHLO is sent by the client.

Does PTR matching prove DMARC passes?

No. DMARC depends on its own authentication and alignment evidence.

Can inbound and outbound mail use different hosts?

Yes. Match the scanner’s target to the actual role and sending IP.

Who controls reverse DNS?

Usually the address-space operator or its delegated administrator; confirm the actual ownership.

Can a receiver reject solely for an EHLO IP mismatch under RFC 5321?

The RFC says it must not refuse solely on that verification failure; other applicable policies remain separate.

Were public DNS or signatures tested for the example?

No. The split-architecture example is hypothetical. PTR, forward DNS and DKIM each require their own actual evidence.

Should a warning trigger an immediate DNS rewrite?

No. Establish the intended architecture and applicable receiving requirement first.

What verifies a repair?

The relevant names resolve as intended and the originally affected authorized transaction has a documented outcome.

[ Sources ]

Sources

  1. RFC 5321 SMTP

    Sections §3.1 · §4.1.1.1 · §4.1.3 · §4.1.4 · §4.2 · §4.3.1 · §7.5

  2. RFC 6376 DKIM

    Sections §3 · §5 · §6

  3. RFC 9989: DMARC

    Sections §3.2.10 · §5.3.5

  4. RFC 1035: DNS

    Sections §3.3.12 · §3.5

[ Glossary ]

Glossary

PTR record
A DNS record commonly used to associate an IP address with a reverse-DNS name.
EHLO identity
The domain name or address literal a client presents in SMTP EHLO.
SMTP greeting
The server’s initial response announcing its SMTP service.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base