Topic · Email Infrastructure

SMTP EHLO

EHLO is the extended SMTP greeting command used to identify the client and request the server’s supported capabilities.

Email Security Glossary·Practical guidance
Share this definition LinkedIn X WhatsApp Email
01 / How it works

How it works

The server returns capability lines including extensions such as STARTTLS, SIZE and AUTH when offered.

02 / What can go wrong

What can go wrong

A malformed greeting or stripped capability can cause transport and authentication negotiation to behave unexpectedly.

03 / What to check or do

What to check or do

Capture the SMTP session safely and inspect the EHLO response and advertised extensions.

Practical diagnosis

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.

NEXT STEP

Put this into practice

Run a focused check, then explore protection if your domain needs it.

Authoritative reference ↗