Topic · Email Infrastructure

SMTP MAIL FROM command

SMTP MAIL FROM establishes the reverse-path envelope sender for a message transfer transaction.

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

How it works

The receiving server records the sender address for bounce handling and SPF-related evaluation.

02 / What can go wrong

What can go wrong

Confusing MAIL FROM with the visible From header causes incorrect identity and alignment troubleshooting.

03 / What to check or do

What to check or do

Capture SMTP envelope values or provider event logs when validating bounce domains and SPF outcomes.

Practical diagnosis

How to investigate SMTP MAIL FROM command

Signal to investigate
A diagnostic sees SPF pass but the visible From still appears different.
Evidence to collect
Capture the MAIL FROM envelope sender and compare it with RFC5322.From, Return-Path and DMARC alignment results.
Common wrong conclusion
MAIL FROM is an SMTP reverse-path identity, not the same field as the user-visible From header.

How to interpret the evidence

Mail servers use MAIL FROM for bounce routing, and SPF commonly authenticates this identity. Providers can rewrite it without changing the visible author.

What to change and how to verify it

Configure an appropriate branded return-path or ensure aligned DKIM; verify with actual receiver headers.

NEXT STEP

Put this into practice

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

Authoritative reference ↗