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.
Related
- SPF: who may send mail for a domainHow an SPF record lists the servers allowed to send email for a domain, and the mistakes that break it.
- DKIM: signing emailHow DKIM lets a domain sign its email so receivers can check it was not changed, and where the public key lives.
- DMARC: policy and reportsHow DMARC ties SPF and DKIM to the visible From address, tells receivers what to do with failures, and sends you reports.
- Email headers: what they are and how to find themThe hidden lines at the top of every email that show who sent it, the servers it passed through and whether it passed its checks.
- Spotting a dangerous link before you clickThe common ways a link in an email, text or call is made to deceive, and a safe way to check one without opening it.
- Attachments and file types worth a second lookWhich kinds of email attachments are commonly used to deliver harm, how a name can disguise a program, and what to do before opening one.
- Reading a bounce messageHow to read the code and the words in a non-delivery report, the difference between a temporary and a permanent failure, and what to try next.