MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: kunal.m on June 15, 2016, 03:04:11 PM

Title: How to configure SpamAssassin in cPanel
Post by: kunal.m on June 15, 2016, 03:04:11 PM
Hi All,

SpamAssassin tool is provided by default with all our shared and reseller hosting plans.

1. How to enable SpamAssassin
2. Filters
3. Spam Box
4. Apache SpamAssassin Configuration


1. How to enable SpamAssassin

To enable SpamAssassin, follow the below steps:
Quote

  • Log in to your cPanel and under the Mail section.
  • Click on Apache SpamAssassin™ menu
2. Filters
Spam Auto-Delete option automatically removes the emails which meet or exceed the spam score set. In order to set it, navigate to Apache SpamAssassin menu and find Filters
Quote

  • You can set the required score in a drop-down menu (from 1 to 10).
  • To enable the filter, simply click on Auto-Delete Spam button. To disable the filter, click on Disable Auto-Delete Spam
3. Spam Box

Enable Spam Box button makes Exim create a spam folder – a separate folder in your mailbox, which will collect incoming emails marked as spam.

Quote

  • Clink on Enable Spam Box
It is possible to delete the messages collected by Spam Box within one click on Clear Spam Box button.
Quote

  • Click on Clear Spam Box button

4. Apache SpamAssassin Configuration

You may also configure the different settings for Apache SpamAssassin™. Click on Configure Apache SpamAssassin™.

You will be redirected to a menu where several options are available. Find required_score
0 - means that every incoming mail will be marked as spam.
5 - default score, works well for typical users.

NOTE: the lower your score is, the more restrictive filter will be.
Once done. Click on Save button.

Blacklist/Whitelist

Some mails may be incorrectly detected as non-spam by Apache SpamAssassin. If these email messages often come from the specific email senders, you can blacklist them. SpamAssassin will then tag those ones as spam.

To blacklist certain sender, just enter it into the one of blacklist_from field.

If SpamAssassin often blocks certain email senders and marks its mails as spam (incorrectly), it is possible to add the sender to whitelist.

To whitelist specific sender, just enter it into one of whitelist_from fields