MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: How to configure SpamAssassin in cPanel.  (Read 12849 times)

0 Members and 1 Guest are viewing this topic.

Offline Rahul Sambre

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
How to configure SpamAssassin in cPanel.
« on: July 26, 2016, 05:20:32 AM »

How to enable SpamAssassin

1) Log in to your cPanel and navigate to Mail section.
2) Click on Apache SpamAssassin menu.
3) Click on Enable Apache SpamAssassin button.


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.

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

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.

Apache SpamAssassin Configuration

1) Spam score

Each incoming mail is being screened by SpamAssassin and given a score, based on the spam characteristics. By default, email messages with the score 5 are considered to be spam. However, it is possible to adjust the filter according to your needs.

In order to do it navigate to Apache SpamAssassin Configuration widget and click on Configure Apache SpamAssassin.

You will be redirected to a menu where several options are available, setting your own spam score is among them. Find required_score field and insert the new value.

2) 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 fields.

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.

That's it.  :)

MilesWeb Hosting Forum

How to configure SpamAssassin in cPanel.
« on: July 26, 2016, 05:20:32 AM »