Quick Way to Block Incoming Spam on your cPanel VPS

Incoming Mail Spam can easily overwhelm you by flooding your mailbox and filtering manually is a tedious work. 
It is also dangerous considering that some emails may include security threats. 

If you are rocking a linux VPS or a dedicated server with cPanel / WHM installed on it there is a quick way to block most of the email spam in 2 clicks. 
It will be 100% accurate for the spammers spoofing email addresses.

The tip consists in blocking all incoming mails which doesn't have the SPF (Sender Policy Framework) configured on their mailing server, which is a simple verification step 

You can find the steps below: 

1) Login to WHM : https://yourserverIP:2087

2) Click in the WHM side bar on Exim Configuration Manager

Block Incoming Spam
3) Once, on the Exim Configuration panel, you would need in the basic editor view to search for the Reject SPF failure and activate it as shown in the screenshot below : 

Block Incoming Spam
That's it! All the spoofed emails will not land your inbox and only legitimate email addresses will go through which would solve most of your inbound spam issues. 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to Refresh your cPanel License

If you have purchased your linux VPS along with a cPanel license. Your license won't be active...

How To Clean your cPanel Logs Files in One Go

This tutorial is meant to provide a shortcut to clean your log files in a cPanel Dedicated Server...

How To Update cPanel From SSH or GUI

In order to update the cPanel software on a Linux VPS, there is 2 ways to do it. Upgrading the...

How To Backup / Restore / Export your CSF Firewall Configuration

Whenever you want to deploy a new Linux VPS / Dedicated server, you generally have to set and...

How to Install the CSF / LFD Firewall on your VPS / Dedicated Server

Throughout this guide, you'll learn how to install your own Firewall on your linux VPS /...