Block spam reaching your inbox
Updated 27 Nov 2026
If your inbox fills with fake invoices, lottery wins and "your mailbox is full" messages, turn on the spam filter in cPanel. It gives every incoming email a spam score and moves the obvious junk out of your inbox. You can also block senders you never want to hear from.
This guide is about spam coming to you. If your own emails land in other people's spam, see Stop your emails going to spam: SPF, DKIM and DMARC.
Turn on the spam filter
- Open Services, choose your hosting and press Login to cPanel.
- Under Email, open Spam Filters.
- Turn on Process New Emails and Mark them as Spam.
- Turn on Move New Spam to a Separate Folder (Spam Box).
Spam now goes to a folder called spam in each mailbox instead of the inbox. Check it once a week for real messages that got caught, then empty it.
If your server shows a different spam tool, for example SpamExperts or a spam section under Imunify360, use that instead. The ideas below are the same.
How strict should it be? The spam score
Every email gets a score. The more spam-like it is, the higher the score. Emails at or above your Spam Threshold Score are marked as spam.
- On Spam Filters, under Process New Emails and Mark them as Spam, press Spam Threshold Score.
- Choose a number and press Update Scoring Options.
| Score | Effect |
|---|---|
| 5 (default) | Good balance for most people |
| 4 or 3 | Stricter: catches more spam, but some real mail may go to the spam folder |
| 8 or more | Looser: very little real mail caught, more spam gets through |
Start at 5. If a lot of spam still gets through after a week, lower it to 4.
Delete obvious spam automatically
For emails that are clearly junk, you can delete them without ever seeing them:
- Turn on Automatically Delete New Spam (Auto-Delete).
- Set its score high, for example 10 or more.
Only use a high number here. Deleted spam can't be recovered.
Never mark some senders as spam
Important senders, such as your bank or a key customer, may sometimes look like spam. Add them to the safe list:
- Under Additional Configuration, press Show Additional Configuration.
- Press Edit Spam Whitelist Settings (emails not marked as spam).
- Press Add A New "whitelist_from" Item and enter the address, for example
accounts@bank.co.tz, or*@bank.co.tzfor the whole company. - Press Update Whitelist.
Always block a sender
Use Edit Spam Blacklist Settings the same way to mark a sender as spam every time.
To throw their email away completely, use a filter instead:
- Under Email, open Email Filters, then press Manage Filters next to the mailbox. (To apply a filter to every mailbox, use Global Email Filters.)
- Press Create a New Filter and give it a name, such as Block fake supplier.
- Set the rule: From › contains › the sender's address or domain.
- Set the action: Discard Message.
- Press Create.
You can also filter by Subject words, for example a phrase that appears in every scam.
Good habits that cut spam
- Never reply to spam, and don't click Unsubscribe in messages from unknown senders. It confirms your address is active.
- Don't publish your address as plain text on your website. Use a contact form instead.
- Watch for fake "mailbox full" or "password expiry" emails. We never ask for your password by email.
- Turn off the catch-all. In cPanel, open Default Address and set it to Discard, so mail to made-up addresses at your domain is rejected.
Need email on your own domain? Every Netpoa hosting plan includes professional email like info@yourcompany.co.tz, and you pay with M-Pesa, Airtel Money, Mixx by Yas or HaloPesa. See hosting plans or open a ticket and our team in Tanzania will set it up with you.