Spam

Spam is unsolicited bulk email. Both halves of that phrase are load-bearing: unsolicited means the recipient did not ask for it, and bulk means it was sent to many recipients essentially unchanged.

The definition deliberately says nothing about content. A single unwanted message is not spam, and a million messages to people who genuinely subscribed are not spam either. This is why senders and recipients so often disagree — and why the recipient’s view is the one that determines whether your mail gets delivered.

What forms does spam take?

Phishing and malware distribution are usually delivered in bulk too, but they are categorised separately because the intent is fraud rather than advertising. All of them fall under abuse.

How is spam filtered?

Modern filtering happens in layers, and the cheapest checks come first:

  1. Connection reputation. Is the connecting IP address listed on a DNSBL? This decides before a single byte of the message is transferred, which is why it does most of the volume reduction.
  2. Envelope and identity checks. Does the hostname resolve, does SPF pass, is there a valid DKIM signature, does DMARC align?
  3. Content scoring. SpamAssassin and rspamd combine hundreds of rules — body patterns, URL reputation, header anomalies, Bayesian classification — into a single score, and act on thresholds.
  4. User feedback. A “report spam” click feeds back to the sender through an ARF report and to the provider’s own classifier.

Because content scoring is the last and most expensive layer, tuning it is rarely where the biggest wins are. Blocking at the connection is.

How do you avoid being treated as a spammer?

If you send legitimate bulk mail, the receiving side cannot read your intentions. It measures behaviour:

What happens when spam comes from your server?

Usually it means an account has been compromised rather than that a customer turned malicious. The escalation is predictable: complaints to your abuse desk, spam trap hits, an IP listing, a range listing, and finally rejection of all your mail.

Detection is easier than it sounds — a mailbox sending far outside its normal pattern, or a mail queue that grows suddenly with messages to recipients nobody in your organisation knows, are both visible long before a blocklist notices. See manage Postfix mail server queues like a pro for how to inspect and clear such a queue.