Skip navigation
Knowledge Base    Email    Hosted Email: Removing ***SPAM*** In the Subject Line - In cPanel's SpamAssassin

Removing ***SPAM*** In the Subject Line - In cPanel's SpamAssassin

Last Updated: Jan 31, 2020

Spam assassin is enabled on all servers by default. One feature of Spam Assassin is that it will mark spam-emails with ***SPAM*** in the subject line, in order to draw attention and make it easier to filter/sort.
If this is not ideal and you wish to remove this feature, it is possible to do so by taking the following steps:

  1. Log in to cPanel.
  2. Navigate to the File Manager, located in the FILES-section.
  3. The folder we need to access is hidden by default so if you have not enabled showing hidden files and folders we need to do so by clicking Settings, located on the top right-hand corner. Check the box to Show Hidden Files (dotfiles) and click Save.
  4. Once hidden files and folders are showing, you should see a folder called .spamassassin, located in your home folder. Double-click the .spamassassin folder and right-click the file user_prefs (/.spamassassin/user_prefs) and select Edit.
  5. On a new row, add the line rewrite_subject 0 and click Save (located on the top right-hand corner).

That's it! From now on, the incoming emails should no longer contain ***SPAM*** in the subject line!

Can't find what you're looking for? Contact our support team now
Open a Support Ticket
Submit a request

Anytime 24/7

Live Chat

Live agent:  8am - 6pm MST every day
Live virtual bot:  6pm - 8am MST every day
Mountain Time, Denver, USA