A flood behind the scenes
Unsolicited bulk email, or spam, has made up a large share of all messages sent for two decades, by many estimates around half of global email traffic. Most of it never reaches a person. Large providers reject much of it while the sending server is still connected, and quietly divert more into junk folders. What remains in the inbox is the result of a sorting process that runs in milliseconds for every message. Filters are not trying to read email the way people do. They estimate the probability that a message is unwanted, using many small clues, and then decide whether to deliver it, mark it or block it.
Reputation comes first
The cheapest test is who is sending. Every message arrives from a server with a numeric internet address, and providers keep long records of how mail from each address and domain has behaved. A server that suddenly sends millions of messages, or whose mail recipients often report, earns a poor reputation. Shared blocklists flag addresses known to send spam or belong to hijacked home computers. Authentication checks confirm whether a message claiming to come from a bank really left that bank’s authorised servers. A brand-new domain with no history is treated cautiously, which is one reason small businesses setting up mail for the first time sometimes find themselves in junk.
Reading the words
Content analysis took off in 2002, when programmer Paul Graham showed that simple word statistics could catch most spam. A Bayesian filter learns how often each word appears in spam and in wanted mail, then combines the evidence. Suppose ‘invoice’ appears in 20 per cent of spam but only 2 per cent of genuine mail, and the two are equally common overall. A message containing it is then about 91 per cent likely to be spam on that clue alone, and the filter multiplies in evidence from every other word. Modern systems use machine-learning models that also weigh links, attachments, images, formatting and language, catching tricks such as hiding text inside pictures.
Millions of users as teachers
The biggest providers have an advantage no single filter can match: feedback from vast numbers of people. When users click ‘report spam’ or move a message out of junk, those choices feed back into the models, often within minutes. If thousands of recipients report a new campaign, the same message can be blocked for everyone else before most of them open it. Engagement counts too. Mail that people regularly open, reply to and keep looks wanted, while mail that is deleted unread looks less so. This is why filtering can feel personal: newsletters one person reads avidly may be treated as clutter for someone else.
Why good mail goes astray
Every filter balances two errors. Letting spam through is annoying; hiding a job offer or a bank notice is worse, so providers usually set thresholds that let some junk slip by. Even so, legitimate mail is misjudged. Common causes include sending from a new or shared server with a poor reputation, missing authentication records, sudden bursts of identical messages, link-shortening services, spam-like phrases or large images with little text. Forwarded mail can break authentication checks along the way. For senders, the fix is technical hygiene and steady habits. For recipients, checking the junk folder occasionally and marking wanted mail ‘not spam’ teaches the filter quickly.
An arms race without end
Spammers adapt constantly. They rotate through hijacked computers and freshly registered domains, misspell trigger words, borrow the reputation of trusted cloud services and, increasingly, use language tools to write varied and fluent text that defeats simple word statistics. Filters respond by leaning more on behaviour and reputation than on wording alone, and by spotting campaigns from patterns across millions of messages. Phishing messages, which aim to steal rather than sell, are the hardest cases because they are sent in small, targeted batches. No filter catches everything. It reduces an overwhelming stream to a manageable one, and a little human caution remains the last layer.
Sources & further reading
Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.



