Spam filtering with SpamAssassin
SpamAssassin scores every incoming message. The score comes from rules about the headers, wording, links, and sender. A high score marks the message as spam. You choose what happens next.
Turn it on
- Go to Account → Hosting → your site → Email and open the Spam and filters tab.
- Switch on Spam filter.
- Switch on Move spam to a Spam folder, so spam goes to a folder instead of your inbox.
- Click Save spam settings.
Both are on by default for new accounts.
Mail marked as spam goes to the Spam or Junk folder, so you can check it.
How scoring works
Each rule adds or subtracts points. The default threshold is 5.0. Messages at or above it are spam.
| Score | Meaning |
|---|---|
| Under 2 | Almost certainly fine |
| 2 to 4.9 | Probably fine, a few suspicious traits |
| 5 to 9.9 | Likely spam |
| 10 and above | Very likely spam |
You can see the score in the headers.
X-Spam-Status: Yes, score=7.3 required=5.0 tests=HTML_MESSAGE,URIBL_BLACK,
SPF_FAIL autolearn=no
X-Spam-Flag: YES
Adjust the threshold
- In Email, on the Spam and filters tab, find Treat as spam at a score of.
- Move the slider between 1 · Strict and 10 · Relaxed.
- Select Save spam settings.
| Setting | Effect |
|---|---|
| Lower number (such as 3) | Stricter. Catches more spam, but more real mail goes to junk. |
| Higher number (such as 8) | Looser. Less spam caught, fewer false positives. |
Change by one or two points at a time.
Auto-delete
You can delete spam above a score automatically. Use it with care.
- In Spam and filters, find Delete obvious spam on arrival.
- Switch it on. Messages scoring 12 or more never reach a mailbox.
- Select Save spam settings.
Important: Auto-deleted messages are gone and cannot be recovered. Leave this off if you can't afford to lose a real message.
Allow and block lists
The Always allow and always block lists are in the same place. See Spam folder, allow lists, and block lists.
Your own copy: mail app junk filters
Apple Mail, Outlook, and Gmail have their own junk filters. They work on top of ours. If a good message disappears, check both.
When a real message is marked as spam
- Move it to your inbox.
- Add the sender to your allow list.
- If many messages from one sender land in spam, ask them to set up SPF, DKIM, and DMARC.
When spam still gets through
- Tighten the threshold by one point.
- Block the specific sender or domain.
- Check your address is not published widely.
- See Spot phishing and spoofed email for dangerous messages.
If something goes wrong
- The Spam and filters tab is missing. Open a request and we'll turn it on.
- No folder for spam. Create a Junk folder in webmail.
- Scores seem random. Scores depend on many rules, and spam changes quickly. Add senders that are scored wrongly to your allow or block list.
Still stuck? Ask us and we'll walk you through it.
