// how to fix
Backscatter: bounces for emails you did not send (what to do)
Getting floods of bounces or 'undeliverable' messages for emails you never sent? That is backscatter. Learn how to confirm it and reduce it.
What it means
You receive many "Undelivered Mail Returned to Sender", "Delivery Status Notification (Failure)" or "Undeliverable" messages, for emails you never wrote. This is called backscatter.
Here is how it happens: a spammer sends spam to thousands of addresses and puts your address as the sender. Some receiving servers first accept the spam, then find that the recipient does not exist, and send a bounce to the sender written in the message, which is you. You get the bounces, not the spam.
Backscatter is annoying but usually does not mean your account was hacked. You need to check that first, though.
Why it happens
- The sender address in SMTP is easy to fake. Without SPF, DKIM and DMARC enforcement, any server can claim to send for your domain. Spoofing in general is covered in fake emails sent with your domain.
- Badly configured receiving servers accept every message and bounce later, instead of refusing invalid recipients during the SMTP conversation.
- A catch-all address on your domain receives bounces sent to random addresses (
xk3h@yourdomain.com) that spammers invented.
How to check
Is it backscatter or a hacked account?
Open one bounce and look at the original message attached or quoted at the bottom. Read its Received headers:
- If the first
Receivedline shows an IP and server that are not yours (unknown country, home connection), and there is no valid DKIM signature for your domain, it is backscatter. - If the message really went out through your mail provider or server (your provider's hostnames, your login in the headers, copies in your Sent folder), your account or website may be compromised. Follow hacked email account sending spam instead.
Also check your provider's sent logs or message trace.
Check your authentication
Look up your domain on the domain scanner: do you have an SPF record ending in -all or ~all, and a DMARC record? Send a test from your real mailbox to the unique address on the Delivmail home page to confirm your real mail passes SPF, DKIM and DMARC. Also check your own server IP on public blacklists: if your own server bounces spam, it can be listed as a backscatter source.
How to fix it
You cannot stop spammers from writing your address, but you can reduce how many servers accept the fake mail, and filter the bounces.
- Publish strict authentication. A correct SPF record, DKIM on all your real mail, and a DMARC policy that you move to
quarantinethenreject(see moving DMARC to quarantine or reject safely). Servers that check these refuse the fake mail during the connection, so no bounce is sent to you. - Remove the catch-all if you do not need it, so bounces to invented addresses are refused.
- Filter the bounces. Make a rule that moves bounce messages whose original message was not sent by you to a folder. In Microsoft 365, the advanced spam filter setting for NDR backscatter can mark them as spam:
Set-HostedContentFilterPolicy -Identity Default -MarkAsSpamNdrBackscatter On
- On your own server, consider BATV (Bounce Address Tag Validation): your server adds a signed tag to the envelope sender of real mail, and refuses bounces that do not carry a valid tag.
- Do not create backscatter yourself. Configure your server to reject unknown recipients during SMTP instead of accepting and bouncing. In Postfix, keep
local_recipient_mapsorvirtual_mailbox_mapscomplete and userelay_recipient_mapsfor relayed domains, and make your spam filter reject, not bounce.
Floods usually stop after a few days when the spam campaign ends.
Check that it is fixed
After any DNS change, wait for propagation and check your records again on the domain scanner. Send a new Delivmail test to confirm your own mail still passes DMARC. Then watch the number of bounces over the next days; it should drop. If bounces show messages really sent from your systems, treat it as a security incident.
Check that it is fixed
DNS changes can take from a few minutes to a few hours. Then send a new test email or scan your domain again.
Related guides
- No SPF record on your domainYour domain does not say which servers may send email for it. Add one TXT record and receivers can tell your real emails from fakes.
- SPF error: too many DNS lookups (permerror)SPF allows at most 10 DNS lookups. Above that, the whole record breaks and receivers treat it as invalid. Here is how to slim it down.
- Several SPF records on one domainA domain must have only one SPF record. With two or more, SPF breaks for every email. Merge them into a single line.
- SPF fails: the sending server is not authorizedYour domain has an SPF record, but the server that sent your email is not in it. Find which service sent the email and add it.
- No DMARC record on your domainDMARC tells receivers what to do with emails that fail SPF and DKIM, and sends you reports. Gmail and Yahoo require it for bulk senders. Start with a safe monitoring record.