Skip to content

Why a message gets flagged as spam or phishing

Updated

A mail provider decides in a fraction of a second whether a message goes to the inbox, the junk folder or nowhere. No one outside the provider knows its exact rules, and they change often. What is known is the kind of evidence filters weigh, and most of it is visible in the message itself.

What filters commonly react to

  • Sender checks that fail: SPF says the sending server is not allowed to send for the domain, DKIM is missing or broken, or DMARC does not pass because neither lines up with the From address
  • Links that hide where they go: a shortened link, a link whose text names one site while it goes to another, or a domain registered only days ago
  • Attachments of a risky kind: programs, scripts, documents with macros, disk images, web pages and archives that mail filters cannot look inside
  • Odd formatting: a message that is one large picture, or HTML with no plain text version
  • A sender with a poor record: an address or domain that has sent spam before, or that many recipients mark as junk

What to fix first

  • Publish an SPF record that lists every service that sends for your domain, and sign mail with DKIM
  • Publish a DMARC policy, start with p=none to read the reports, then tighten it once legitimate mail passes
  • Use your own domain in links, and avoid link shorteners in business mail
  • Share documents as a link to a page you control or as a PDF, not as macros, disk images or password-protected archives
  • Send both a plain text and an HTML version

Good to know. A message check can show what a message contains that filters commonly react to. It cannot predict what any one provider will do, because reputation and recipient behavior count too and a single message does not show them.

Check a whole message