How to Block Unwanted Emails?

Last modified: March 29, 2020
You are here:
Estimated reading time: 1 min

How to Block Unwanted Emails

Learn how to Block Unwanted Emails and what you’ll need Before you begin this guide you’ll need the following:

  • Access to cPanel account
  • Email address created via cPanel
Step 1 — Navigating to Apache SpamAssassin

Once you have successfully logged in your cPanel account, click on Apache SpamAssassin in Email section.

cPAnel-block unwanted emails-Navigating-to-Apache-SpamAssassin
Select Apache SpamAssassin


Click on Configure Apache SpamAssassin.

cPAnel-block unwanted emails-Configure-Apache-SpamAssassin
Click on Configure Apache SpamAssassin


Step 2 — Blocking unwanted email accounts

Once you are in Apache SpamAssassin configuration page you will notice multiple ways how to block spam emails.

Block unwanted Email Account


  1. You can block specific email address, for example, . This would block all messages sent by from being sent by another
  2. You can also use a pattern to block all emails coming from a specific domain name. In this instance, all email addresses ending in, including and, would be blocked.

When you have blocked all unwanted addresses click Save at the bottom of the page to save your changes.

cPAnel-save block unwanted emails
Save the changes


In this instance, all email addresses ending in, including and, would be blocked.

cPAnel-block unwanted email successful message
Block unwanted email successful message


From now on all emails that are coming from email addresses that are in the blacklist will be blocked.

If you are spammed from separate email accounts and distinct domain names, the required score field value may also be reduced.This way mail filtering would be more strict. Here the tutorial . However, that you risk missing valid messages with more stringent regulations that could be wrongly recognized as spam, so the safest bet would be to maintain the score value at by default..

Was this article helpful?
Dislike 0
Views: 49
Customer Services Contact

Need Help? Send a Ticket to our 24X7 Technical Support Team

Subscribe Newsletter

Subscribe to Casbay Newsletter for online tips, events and latest promotion !

Copyright © 2010 – 2021 Casbay Sdn. Bhd. (1042688-D). All Rights Reserved.

All Trademarks Are The Property of Their Respective Owner.