[et_pb_section fb_built=”1″ _builder_version=”3.0.47″ custom_padding=”0px|0px|54px|0px”][et_pb_row custom_padding=”0px|0px|27px|0px” _builder_version=”3.0.47″ background_size=”initial” background_position=”top_left” background_repeat=”repeat”][et_pb_column type=”4_4″ _builder_version=”3.0.47″ parallax=”off” parallax_method=”on”][et_pb_video src=”https://cloudmatrix.co.za/wp-content/uploads/How-to-set-up-a-spam-filter.mp4″ _builder_version=”3.1.1″][/et_pb_video][et_pb_text _builder_version=”3.1.1″]
Let’s be honest, spam email isn’t exactly fun
[/et_pb_text][et_pb_image src=”https://cloudmatrix.co.za/wp-content/uploads/email-marketing-2362038_1280.png” _builder_version=”3.0.92″]
What is Apache SpamAssassin™
Apache SpamAssassin is an open-source tool developed to filter and classify emails while blocking spam. It uses a combination of subject line and body text analysis, Bayesian filtering, and DNS blacklists, to drastically limit and can even prevent spam from reaching your inbox.
Read on to learn how to create a spam filter using Apache SpamAssassin.
How to create a spam filter
Log in to the cPanel account for your domain. See our “How to log in to cPanel” guide if you are unsure how to do this.
Scroll down to the “Email” section of your cPanel dashboard.
Click on the “Apache SpamAssassin” button.
Since this is your first time setting up your spam filter, click on the “Enable Apache SpamAssassin” button.
You will see a success message.
Click the “Go Back” button.
Click the “Enable Spam Box” button.
You will see another success message.
You are now ready to set up email filters and specify the intensity with which you would like SpamAssassin to filter your mails.
Navigate back to your cPanel dashboard using the icon
Scroll back to the “Email” section and click on the “Global Email Filters” button.
Click on the “Create a New Filter” button.
Set a name for your rule. We used “Spam box” in this example.
In the “Rules” section, select “Spam Bar” from the first dropdown, and “Contains” from the second dropdown.
In the next field enter a spam score using a series of (+) symbols, with 5 being an adequate score for an individual user.
Next, under the “Actions” section, set the dropdown to “Deliver to Folder”, and set the name of the folder to “spam”.
Finally, click the “Create” button.
This activates your spam filter, you will see a success message letting you know that
Remember: Be sure to check your “spam” folder regularly to make sure that real mails are NOT being marked as spam incorrectly. It is also a good idea to empty your spam folder regularly to save disk space on your mail server.