Blog

How to block unwanted emails in cPanel?
Mar
12

How to block unwanted emails in cPanel?

SEO & Marketing David Rowlands

Spam emails can sometimes bypass the filtering software to find their way into your inbox. If this keeps happening, you can block unwanted emails via your cPanel. In this post, we will guide you through the steps you can take to block unwanted emails using the SpamAssassin tool in your cPanel. This can dramatically reduce the number of unwanted emails you receive. SpamAssassin is an automated filter that makes use of several techniques to find and filter spam emails.

Things you will need

Before you can get started, you will need the following details:

  • The email address that was created via cPanel
  • Login and password credentials to the cPanel account

Step 1 – Apache SpamAssassin

Once you are inside the cPanel account, click on Apache SpamAssassin in the Email section.

Next, click on Configure Apache SpamAssassin

Step 2 – Block unwanted emails

Once you’re on the configuration page for Apache SpamAssassin, you will find a variety of options for blocking spam emails.

You can block particular email addresses. Say you want to block all emails from ( abc@site1.com ). Simply plug this email address in the blacklist form and all emails from that emails would be blocked. However, you will still receive emails from another id on the same domain, say ( xyz@site1.com ).

You can even use a pattern to stop all emails from a particular domain name. Say you want to block all email addresses that end with ( site2.com ). Simply plug this domain name in this format – ( *@site2.com ) and all emails from any address ending with this domain would be blocked for you.

Once you’ve blocked all the addresses you, click Save at the bottom of the page to save the changes.

Going forward, all the emails from the email addresses listed in the blacklist would be blocked.

If you are receiving spam email from several different email accounts and domain names, you can even reduce the value for the required_score field. The mail filter would become stricter this way. The stricter rules would mean that you may end up missing legitimate emails that could be identified as spam erroneously. The safest thing would be to keep the score at the default value of 5.

Conclusion

There you go. You’ve just learned a simple trick that you can use to block unwanted emails. As your Melbourne web design agency, we can show you how to use this option. If you are in the market for a stellar website at affordable rates, get in touch with Digital Developments.

David Rowlands Photo

About the Author - David Rowlands

Hello, I'm the owner of Digital Developments web design based in Melbourne. As a web designer I have extensive background experience designing and building websites for the real estate, building and the construction industries.

Digital Dev Icon