New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
SMTP and APIUpdated 26 Oct 2026

The Null Sender (Empty MAIL FROM): Bounces, Loops, Backscatter and How to Handle Them Correctly

What the empty envelope sender means, why bounces use it, how SPF and DMARC treat it, how to avoid backscatter and mail loops, correct policies for servers and applications and how to debug null-sender mail.

SM
Written by Sofia Marino
Technical Support Lead
Reviewed by Kenji Watanabe
  • Published20 Apr 2025
  • Read time6 min
  • Length1,261 words
Share this guide

In an SMTP conversation the sender announces the envelope sender with MAIL FROM:<address>. Occasionally the address between the brackets is empty: MAIL FROM:<>. This is the null sender, formally the null reverse-path, and it is not an error or a trick. It is the standard way to say "this message is an automatic notification, do not answer it with another automatic notification". Delivery status notifications, bounce messages, many out-of-office replies and some receipts use it, and the whole system of bounce handling depends on it to avoid infinite loops. Mishandling it causes real problems: servers that reject all null-sender mail lose their bounces, servers that accept everything become sources of backscatter, and applications that reply to bounces start mail loops. This guide explains the rules and the practices that follow. It builds on VERP bounces, reading mail logs and open relay checks.

MeaningAn empty envelope sender: a machine-generated notice that must not trigger another notice
RequiredBounce handling cannot work if the null sender is blocked outright
RisksBackscatter, loops and spoofed bounces if servers accept bounces for mail they never sent
FixAccept null-sender mail but validate that it answers something you actually sent

What the standard says

RFC 5321 defines the null reverse-path and requires servers to accept it for bounces. A message with the null sender must never itself generate a bounce, and automatic responders should not reply to it. That rule breaks the loop that would otherwise happen when a bounce to a nonexistent address produces a bounce of the bounce, and so on. On the wire it looks like this:

C: EHLO mta.example.com
S: 250-mx.receiver.example
C: MAIL FROM:<>
S: 250 2.1.0 Ok
C: RCPT TO:<[email protected]>
S: 250 2.1.5 Ok
C: DATA
...
Return-Path: <>
Auto-Submitted: auto-replied

The visible Return-Path header at the final destination also shows <>. The message body of a bounce typically follows the Delivery Status Notification format with a human-readable part, a machine-readable status part and sometimes the original headers or message.

Who uses the null sender

Sender of null-sender mailExampleShould it be answered?
MTA bounce / DSN"Undelivered Mail Returned to Sender"No
Delay warnings"Your message is still queued"No
Vacation or out-of-office replies (properly built)Auto-reply with Auto-Submitted: auto-repliedNo
Mailing list software bounces or probesSubscription confirmation responses and probesHandled by the list system
Read receipts (MDN)Message disposition notificationNo
Applications that send "do not reply" noticesSome systems use the null sender deliberatelyDo not answer automatically

SPF, DMARC and the null sender

SPF checks the domain in the envelope sender. With an empty sender there is no domain, so SPF defines a fallback: the check is performed on the HELO or EHLO name instead, as postmaster@ that name. This is why your sending hosts should present a HELO name that has its own valid SPF record, even if your domain SPF is perfect. For DMARC the From header domain matters, and bounces typically have a From such as MAILER-DAEMON@ the generating host, so DMARC evaluation concerns that host's domain. See SPF syntax and DMARC alignment.

  • Publish SPF for each mail server HELO name (a simple v=spf1 a -all style record is often enough for a host name that only sends from its own address).
  • Make sure the HELO name matches the PTR record of the sending IP in the usual way. See reverse DNS.
  • Sign bounces with DKIM from your own domain where the platform supports it, so receivers can verify them.
  • Do not rely on SPF alone for bounces: they are often delivered through chains where SPF is evaluated against the previous hop.

Backscatter: the main danger

Backscatter is a bounce sent to an innocent person whose address was forged as the sender of spam. It happens when a server accepts a message during the SMTP session and later, after finding that it cannot deliver it, generates a bounce to the claimed sender. The forged sender receives mail about something they never sent, and the bouncing server gets blocklisted for abuse. To avoid creating backscatter:

  1. Reject at SMTP time. Check recipients (RCPT TO) against your user list before accepting the message. A 550 response during the session is a reply to the connecting server, not a new message to a third party.
  2. Do not accept first and bounce later for invalid recipients, spam or virus detections. Refuse at the gateway instead.
  3. Be careful with catch-all and forwarding rules that deliver on to hosts that may refuse the message later.
  4. Use recipient verification at the edge and keep the verification data (valid addresses) synchronised with the real mail servers.
  5. If you must bounce, bounce only to authenticated senders or when SPF and DKIM suggest the sender is genuine.
  6. Limit the content of bounces so they do not include the full spam payload.

Accepting bounces safely

The reverse problem is receiving fake bounces. If your system sends mail with a plain return-path and receives thousands of bounces for messages you never sent, your domain was forged. Two common defences protect inbound bounces:

TechniqueHow it helps
VERP (variable envelope return path)Each message gets a unique return address like bounce+id@domain, so only bounces carrying a valid ID are processed. See VERP
BATV / signed return pathsReturn-path contains a signature that the receiver verifies when a bounce comes back
Message-ID or header matchingThe bounce body includes the original headers; match them to sent messages
Dedicated bounce domainKeeps bounce traffic separate and easy to authenticate. See custom return-path domains

Avoiding mail loops

Loops form when two automatic systems keep replying to each other. Typical causes are an auto-responder that answers a bounce, a forwarding rule between two mailboxes that point at each other, and a ticket system that replies to its own notifications. Protect your systems with these rules:

  • Never send automatic replies to the null sender or to messages with Auto-Submitted not equal to "no".
  • Add Auto-Submitted: auto-generated to your own automated notices, and use Precedence: bulk or X-Auto-Response-Suppress where relevant.
  • Count hops: a message with an excessive number of Received headers should be rejected by the server.
  • Limit auto-replies to one per sender per day.
  • Keep forwarding rules simple and test them for cycles. See forwarding.

Server policy for null-sender mail

PolicyVerdict
Reject all mail from the null senderWrong. You will lose valid bounces and may violate the standard
Accept from the null sender without checksRisky. Accept but verify that the recipient exists and the bounce makes sense
Limit null-sender mail to one recipient per messageSensible. Real bounces go to one address
Require valid HELO and reverse DNS for null-sender sendersSensible. Raises the cost of forged bounces
Apply the same spam filtering as other mailSensible. Bounces can carry spam too
Rate-limit null-sender mail per IPUseful protection against bounce floods

Debugging

  1. Find the log lines with from=<> and identify the sending host and recipient.
  2. Check whether the recipient ID matches a message you sent (VERP address, Message-ID in the body).
  3. Read the DSN status code and remote text. See reply codes.
  4. If you see floods to an address you never use, your domain was forged: tighten SPF, DKIM and DMARC and consider a dedicated bounce domain.
  5. If your own system bounces spam, move recipient checks to SMTP time.

The null sender is a small convention with large consequences. Accept it, validate what arrives on it, never generate it as a reply to itself and reject invalid recipients during the session, and your bounce handling stays reliable without becoming a source of backscatter.

Check your sending domain Make sure your records support clean bounce handling.

Open the checker

References and further reading

Frequently asked questions

What does MAIL FROM:<> mean?

An empty envelope sender, used for bounces and automatic notices that must not themselves be answered automatically.

Should I block the null sender?

No. That would block valid bounces. Accept it but validate recipients and apply normal filtering.

How does SPF work with a null sender?

SPF checks the HELO or EHLO name instead of the empty sender domain, so publish SPF for your server host names.

What is backscatter?

Bounces sent to innocent people whose addresses were forged, caused by servers that accept mail and bounce it later.

How do I avoid mail loops?

Never auto-reply to the null sender or to auto-generated mail, and mark your own notices as auto-generated.

Topics#null sender#bounces#backscatter#smtp#envelope
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales