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.

cPAnel-Block-unwanted-email-accounts
Block unwanted Email Account

 

  1. You can block specific email address, for example, email@exampleA.com . This would block all messages sent by email@exampleA.com from being sent by another Email@exampleA.com..
  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 @exampleB.com, including email@exampleB.com and email@exampleB.com, 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 @exampleB.com, including email@exampleB.com and email@exampleB.com, 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: 48