How to Prevent Spam with Email Filters
Introduction
Spam emails can clutter your inbox, pose security risks, and reduce productivity. By setting up email filters, you can automatically detect and block unwanted messages before they reach your inbox. This guide will walk you through configuring spam filters in both cPanel and Plesk to help prevent spam effectively.
Setting Up Spam Filters in cPanel
Step 1: Access the Spam Filters Tool
Log in to cPanel.
Navigate to the Email section and click on Spam Filters.
Step 2: Enable Spam Filtering
Locate the SpamAssassin section.
Click the toggle to enable Spam Filters.
Once enabled, cPanel will begin filtering spam automatically.
Step 3: Adjust Spam Threshold Settings
Click on Spam Threshold Score.
Lower scores make the filter stricter (default is 5; setting it to 3 is more aggressive).
Save changes to apply the new threshold.
Step 4: Auto-Delete Spam (Optional)
Toggle Auto-Delete Spam to enable automatic deletion of spam emails.
Be cautious with this setting to avoid false positives.
Step 5: Create Custom Email Filters
Navigate to Email Filters in cPanel.
Click Create a New Filter and set up rules based on sender, subject, or keywords.
Define the action (e.g., move to Junk folder or delete).
Click Save to activate the filter.
Setting Up Spam Filters in Plesk
Step 1: Access Spam Filter Settings
Log in to Plesk.
Go to Mail and select your email account.
Click Spam Filter.
Step 2: Enable Spam Filtering
Check the box to enable spam filtering for the selected email account.
Click Apply to save changes.
Step 3: Adjust Sensitivity Levels
Set the spam sensitivity level (lower values mean stricter filtering).
Recommended values: 5 for balanced filtering, 3 for stricter filtering.
Step 4: Configure Actions for Spam Messages
Choose to either move spam to the Spam folder or delete it automatically.
Click Apply to finalize your changes.
Step 5: Whitelist and Blacklist Senders
Add trusted senders to the Whitelist to ensure their emails always arrive.
Add known spammers to the Blacklist to block their messages.
Click Apply to save these lists.
Additional Tips to Prevent Spam
Use strong passwords to prevent email account hacks.
Never click on suspicious links in spam emails.
Use CAPTCHAs on contact forms to reduce spam submissions.
Report spam emails to improve filtering accuracy.
Conclusion
Setting up spam filters in cPanel or Plesk is an effective way to reduce unwanted emails and keep your inbox clean. By enabling spam detection, adjusting sensitivity settings, and configuring custom filters, you can significantly decrease the number of spam messages you receive. If you continue to experience spam issues, consider contacting your hosting provider for additional assistance.
Last updated
Was this helpful?