When your mail ends up in spam

Spam filters do not send a notice. The message is sent, but it lands in spam or vanishes. These are the six causes we find most often, with the sign you can see and the fix.

Last checked:

On this pageWhat this page covers
  1. Start by measuring
  2. 1. Two SPF records on one domain
  3. 2. No DKIM, or a key that is too short
  4. 3. No MX, or the wrong one
  5. 4. Forwarding that hurts your reputation
  6. 5. "via yourdomain" in Gmail

Start by measuring

Do not guess. Send a real message from your normal mailbox to a Gmail and an Outlook address, and open the full header. It says whether SPF, DKIM and DMARC passed or failed. That is how we check too: in our audit of about 90 domains, every mailbox got a real test message through MX, because a DNS record can look right and still not work. To read the DNS records themselves, use the free SPF, DKIM and DMARC check.

1. Two SPF records on one domain

Sign: SPF shows “permerror” in the header. It typically happens when a new service, such as a newsletter tool or a CRM, gets its own SPF record next to the old one.

Fix: a domain may only have one SPF record. Put every sender into that one. We found and fixed exactly this at a product launch, where the mail would otherwise have gone to spam.

2. No DKIM, or a key that is too short

Sign: dkim=none or dkim=fail in the header, or an old 1024-bit key.

Fix: turn on DKIM at whoever sends your mail and publish the key in DNS. Our standard is 2048 bits. When we moved from 1024 to 2048 bits no message failed, because the order was: a new key under a new name (selector), wait until public DNS servers see it, compare the key byte for byte, switch the signing, test in Gmail, and keep the old record for at least seven days.

3. No MX, or the wrong one

Sign: no complaints, but no enquiries either. Mail to your domain bounces or disappears.

Fix: check that the domain has an MX record pointing to the right provider. In our audit one domain had no MX at all, and enquiries to it had never arrived. Old domains and domains used for a single campaign are the usual suspects.

4. Forwarding that hurts your reputation

Sign: mail from your server is delayed or refused at Gmail, although the setup looks fine.

Fix: be careful with automatic forwarding to big providers. We once forwarded DMARC reports into Gmail. Google deferred about 9,900 of them and accepted 88, and the sending IP’s reputation suffered. The reports now stay in a local mailbox. If mail must be forwarded, use SRS, ARC and DKIM. The same work uncovered an alias fault that had silently lost 31 messages.

5. “via yourdomain” in Gmail

Sign: Gmail shows “via” and your domain on a message in spam, and it looks as if someone is sending in your name.

Fix: find out where the message came from before drawing conclusions. In our case it was SRS forwarding, not a hack. We confirmed the server was not an open relay and traced every login to known devices.

6. You are a bulk sender without knowing it

Sign: newsletters and automated mail land in spam, while ordinary mail gets through.

Fix: Gmail sets extra rules once a sender sends about 5,000 messages a day or more to Gmail: SPF and DKIM, DMARC (p=none is enough), an aligned From domain, and one-click unsubscribe on marketing mail. Microsoft has set similar rules for domains sending over 5,000 messages a day to Outlook.com since 5 May 2025. More under sender rules.

Before you restart anything: if the mail server has been down, look at the queue first. One fix on our side would have released about 140 waiting messages all at once.

Questions about spam

How quickly does a fix work?

DNS changes usually take effect within hours. A poor reputation at a provider takes longer to repair, because it is built on history.

Does it help to ask customers to mark the mail “not spam”?

A little, for that one recipient. It does not fix the cause, and everyone else still gets your mail in spam.

Can you see why our mail in particular goes to spam?

Yes, if you send us the header of a message that landed in spam. It shows what failed.

Fixed price, no commitment

Get your mail out of spam

Send us your domain and where your mail lands in spam. You get an answer on what is failing, and a fixed price to fix it.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?