Topic · Email Infrastructure
SMTP EHLO
EHLO is the extended SMTP greeting command used to identify the client and request the server’s supported capabilities.
How it works
The server returns capability lines including extensions such as STARTTLS, SIZE and AUTH when offered.
What can go wrong
A malformed greeting or stripped capability can cause transport and authentication negotiation to behave unexpectedly.
What to check or do
Capture the SMTP session safely and inspect the EHLO response and advertised extensions.
How to investigate SMTP EHLO
- Signal to investigate
- An SMTP session completes TCP connection but the expected extensions are missing.
- Evidence to collect
- Capture server greeting and EHLO response, including STARTTLS, AUTH, SIZE and PIPELINING capabilities.
- Common wrong conclusion
- A hostname appearing in EHLO is an identity claim, not proof that DNS, SPF or TLS are correct.
How to interpret the evidence
EHLO negotiates ESMTP features. Front-end load balancers and different ports may advertise distinct extension sets; feature availability can change after STARTTLS.
What to change and how to verify it
Compare EHLO before and after TLS, confirm the correct port and hostname, and record the full SMTP transcript.
Put this into practice
Run a focused check, then explore protection if your domain needs it.