Make Your Inbox Happy With cPanel Email Spam Filters
By Tim Brown
Have you recently been informed that you are the recipient of millions of dollars, if only you could get them from the Prince of Nigeria’s bank account to yours? Has your better half found your male enhancement supplement email? All jokes aside, everyone hates spam emails. At the very least, spam has a negative impact on productivity. And at the worst, it exposes your computer to potential harmful viruses.
Your Web host and service provider do what they can, but spam keeps seeping through. If you are tired of having what equates to wet paper bags as your only line of defense, you can create your own cPanel spam filter to keep the junk mail at bay. There are two ways to set up your cPanel spam filtering. You can use cPanel’s Apache SpamAssassin or you can manually create custom filters.
Apache SpamAssassin comes with your cPanel; however, some hosting services have it disabled when your account is initiated. To create the filter, make sure that SpamAssassin is enabled and open the global filters interface. From there, you can set a spam score threshold.
SpamAssassin automatically gives every inbound email a spam score based on characteristics associated with junk email. Any email with a spam score higher than your threshold will be deleted. This is easy to do, yet not Fort Knox-level security.
If you really want to feel secure, you can create your own series of custom cPanel anti-spam filters. In just a few quick steps, you’ll be as spam-free as a vegetarian menu. It is wise to set up multiple filters—at least one for keywords and one or two from email senders. From inside cPanel, access your account-level filtering and find the “Edit Filters for All Mail” tool. Click “Create a Filter” then “Edit.” Give this filter a name, such as “Keywords.” From there, you can establish the filter’s parameters. Choose “Subject” from the rules dropdown menu and “contains” from the sub-dropdown menu. In the text box, type in the keyword that you wish to filter for, set the action to discard the email, and save it. Then, using that same form, create additional filters for other keywords.
To stop emails from specific senders, go back to the “Create a Filter” page and start a new filter. Name this one “Blocked Email Addresses.” From the rules dropdown, select “From.” For a general sender filter, select “ends with” from the sub-dropdown menu and, in the text box, type in the domain name that you wish to block (e.g."junkmail.com”). That will stop all emails from anyone at junkmail.com from getting through. To block a specific sender, select “equals” in the sub-dropdown menu and type the entire email address in the text box (e.g. firstname.lastname@example.org).
For better or worse, these filters are going to keep those notifications about unclaimed funds from reaching your inbox. But, with the added productivity, maybe you’ll be able to get enough work done to earn your own millions.
Click here to learn more about Web hosts that use cPanel as their control panel so that you can combat email spam.
Disclaimer: We work hard to offer you valuable and reliable information about all of the products and services we review. In order to provide you with this free service, we use links on our site that provide us with commissions for referring you to the seller's site. We guarantee that this does not influence the material we present, but may influence the positioning on our site, and only supports our efforts to offer you the best and most relevant information possible.