How to setup Spam Asasassin to automatically delete emails

If you want to automatically delete all mail that you receive with a spam score of 5 or more just follow these steps;

  1. Access/Log On to your cPanel
  2. Click Email -> Spam Assassin
  3. Click Enable Spam Assasin
  4. Click Email -> Spam Assassin
  5. Click Configure (required to rewrite subjects)
  6. For the rewrite_header subject enter ***SPAM***
  7. Click Email -> Spam Filters
  8. In the dropdown box Block mails when choose theSubject and also Contains.
  9. In the new box, enter ***SPAM***
  10. In the Destination box type Discard. (this means to delete)

So now, any mail with a score of 5 or more will automatically get a subject rewrite of ***SPAM*** 

The filter will now delete any mail with the word ***SPAM*** in the subject line.

You can also choose to use a filter on your Outlook or other mail program and bypass steps 7-10 and do the filtering on your home computer, but  why waste the download time of downloading Spam.  Just delete it on the server level!

Reviewed : 11/13/2016

  • Email, SSL
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

How to setup an Email Account in Mozilla Thunderbird email client.

The following instructions will walk you through setting up an Email account through the Mozilla...

Will I lose email when I transfer my hosting to Total Server Solutions?

As some email could be delieverd to your old host while the domain is updating, you'll want to...

Is there a limit on how many emails I can send?

The server has a limit on the number of emails that it will allow to be sent in a given hour. The...

Mail Error: 451 Could not verify sender

Problem: You recieve the error mesage "451 Could not complete sender verify callout". Reason:...

Creating an email account in cPanel

1) Log into your cPanel account2) Click on "Email Accounts" under the Mail section:3) Type the...