What Is a SpamAssassin Score? How It Works and What to Fix
A SpamAssassin score is the total number of points Apache SpamAssassin assigns to an email after running it through hundreds of tests. Each matching rule adds (or subtracts) points, and if the total reaches the server's threshold, 5.0 by default, the message is marked as spam.
SpamAssassin is one of the oldest and most widely deployed open-source spam filters. It runs on many hosting providers, self-hosted mail servers and business mail systems. Gmail and Outlook do not use it, so a clean score is a good sign rather than a guarantee.
How the scoring works
SpamAssassin checks a message against a large set of rules. Each rule has a weight:
- Positive points for things that look like spam.
- Negative points for things that look legitimate, such as passing DKIM.
The points are added up. The result is compared with the required_score setting:
| Score | Default outcome |
|---|---|
| Below 5.0 | Not spam |
| 5.0 or more | Marked as spam (header added, often moved to junk) |
Administrators can raise or lower the threshold, and many add their own rules. Some servers also use Bayesian filtering, which learns from messages users mark as spam or not spam, so the same email can score differently on different servers.
Seeing the score
Servers running SpamAssassin often add headers like:
X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
HTML_MESSAGE,SPF_PASS,URIBL_BLOCKED autolearn=ham
X-Spam-Score: 1.2
The tests= list names every rule that matched. Rule names are fairly descriptive. The email header analyzer helps read long header blocks.
Common rules that add points
Rule sets change over time, but the categories are stable:
| Category | Examples of what triggers points |
|---|---|
| Authentication | SPF fail or softfail, missing or invalid DKIM |
| Blocklists | Sending IP or links found on DNS blocklists |
| URLs | Links to domains on URI blocklists, mismatched link text, URL shorteners |
| HTML formatting | Image-heavy messages with little text, hidden text, unusual fonts or colours |
| Headers | Missing Message-ID, malformed dates, forged-looking headers |
| Content | Phrases very common in spam, excessive capitals or exclamation marks |
| Structure | HTML-only messages without a text part |
Points from content and formatting are usually small. Authentication and blocklist hits tend to matter more.
Negative points help
Some rules reduce the score. Valid DKIM signatures, passing SPF and DMARC, and being on certain allowlists subtract points. That means good authentication can offset minor formatting issues.
How to lower your score
- Authenticate properly. SPF, DKIM and DMARC passing for your domain. Check with the bulk email authentication checker.
- Check blocklists. Use the blacklist check for your sending domain and IP, and make sure links in your email do not point to listed domains.
- Include a plain-text part. Most email platforms do this automatically; make sure it is not empty.
- Balance images and text. An email that is one big image scores badly.
- Avoid URL shorteners and use your own domain for tracking links.
- Keep headers standard. Use a reputable sending platform rather than hand-built scripts.
The spam words checker flags phrases that often appear in spam, but treat it as a minor factor. The spam trigger words myth explains why words matter much less than people think.
How much SpamAssassin matters
It depends on your audience.
| Audience | Relevance |
|---|---|
| Consumers on Gmail, Outlook.com, Yahoo | Low; those providers use their own filters |
| Businesses on Google Workspace or Microsoft 365 | Low to moderate; own filters, sometimes extra gateways |
| Small businesses on web hosting email | Higher; many hosts run SpamAssassin |
| Universities and self-hosted organisations | Often relevant |
A high SpamAssassin score is still a useful warning. The rules check for genuine problems, like failed authentication and blocklisted links, that also hurt you at Gmail and Outlook. Fix those and you improve placement everywhere.
What SpamAssassin does not measure
SpamAssassin mostly looks at the message itself. It does not see your bounce rate, complaint history or how recipients engage with you, which are central to how Gmail and Microsoft judge mail. A perfect score sent to a list with many invalid addresses will still damage your reputation with the big providers.
Worked example (illustrative)
A newsletter arrives at a hosting company's mail server with this summary:
| Rule matched | Points |
|---|---|
| HTML-only message, no text part | +0.8 |
| Large image with little text | +1.5 |
| Link to a URL shortener | +1.3 |
| SPF softfail | +0.9 |
| DKIM valid | -0.1 |
| Total | 4.4 |
The message is under the default 5.0 threshold but close. The sender adds a plain-text part, replaces the shortener with direct links and fixes SPF to include its email platform. The same newsletter now scores well under 1.0. Point values here are examples; real rule weights vary by version and server configuration.
Quick glossary
required_score: the threshold setting, 5.0 by default.- Bayes: a learning filter that scores messages based on words seen in mail users marked as spam or not spam.
- URIBL: blocklists of domains found in spam links, checked by some SpamAssassin rules.
autolearn: whether the server used the message to train its Bayes filter.
Think of the score as a checklist of technical hygiene. If the rules flag authentication, links or formatting, those fixes help everywhere; if the score is already low, spend your effort on list quality and engagement instead.
Pair a clean score with a clean list
Score the message, then make sure the list is just as clean. Verifying before you send removes invalid addresses that would bounce. Upload a list on the verify page; you get 100 free email checks when you sign in with Google, no card.
Common questions
What is a SpamAssassin score?
It is the total of points assigned to an email by Apache SpamAssassin's rules. Each rule that matches adds or subtracts points. If the total reaches the server's threshold, 5.0 by default, the message is marked as spam.
What is a good SpamAssassin score?
Lower is better. A score near zero or negative is good. Scores approaching 5.0 put messages at risk on servers using the default threshold, and some administrators set lower thresholds.
Do Gmail and Outlook use SpamAssassin?
No. Gmail and Microsoft use their own filtering systems. SpamAssassin is common on self-hosted mail servers, web hosting providers and some business mail systems, so it still affects part of your audience.
How can I see my SpamAssassin score?
Some mail servers add X-Spam-Status or X-Spam-Score headers to delivered messages, which show the score and the rules that matched. Several mail testing tools also run SpamAssassin on a test message.
Check your list before you send
Real mailbox checks over SMTP, and nothing is sent to the address. Sign in with Google and your first 100 email checks are free, no card. Plans for bigger lists are on the pricing page.