These steps explain how to prevent spoofed emails as well as Bitcoin spam emails. A spoofed email is a spam email that when received appears to be from one's own email address or an email address from the same domain. Adjusting the SpamAssassin spam threshold score and configuring the calculated spam score settings will assist with filtering and preventing spoofed emails.
Access to cPanel will be required to complete this process. Also, DNS nameservers for the domain will need to be set to Web Hosting Hub values in order for cPanel DNS changes to work
DNS changes can take 4 to 24 hours to propagate.
Related Articles
Web Hosting Hub Nameservers
Update SPF Record
Add DMARC Record in cPanel
Change SpamAssassin Spam Threshold Score
Prevent Spoofed Email
- Log into cPanel
- Confirm that a SPF record exists and is set up properly
- Click on Email Deliverability under the Email section
- Click Manage next to the domain to view the records in place
TIP: These records can also be set manually and edited in the Zone Editor under the Domains Section of cPanel.
NOTE: When using Spam Experts, it should be:
NOTE: When not using Spam Experts, it should be:v=spf1 +mx +a +a:smtp.servconfig.com -all
REPLACE: Be sure to replace example.hostname.com with the hostname of the server; 12.34.56.78 should be the mail sending IP of the server and 23.45.67.89 the main IP of the server.v=spf1 +mx +a +a:example.hostname.com +ip4:12.34.56.78 +ip4:23.45.67.89 -all
- Click on Email Deliverability under the Email section
- Confirm that a DMARC record exists and is set up properly
- Ensure SpamAssassin is enabled by clicking on Spam Filters in cPanel under the Email area
- Choose either Move New Spam to a Separate Folder or Automatically Delete New Spam in the SpamAssassin settings, but do not choose both
- Set Spam Assassin's threshold setting to 3.5
- Add the following custom rules to Spam Assassin by clicking Show Additional Configurations at the bottom of the page then Configure Calculated Spam Score Settings
SPF_PASS -0.1
SPF_NEUTRAL 0.0
SPF_FAIL 1.8
SPF_SOFTFAIL 1NOTE: This means that for messages that fail an SPF check, SpamAssassin will add +1.8 to the message score, which should filter out most spoofed emails.