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.
    2020-01-31_1052.png
  5. On a new row, add the line rewrite_subject 0 and click Save (located on the top right-hand corner).
    2020-01-31_1053.png

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?
Open a Support Ticket
Submit a request

Anytime 24/7

Give us a call

Phones Unavailable

Monday-Friday   9AM to 4PM
Mountain Time, Denver, USA

Live Chat

Monday-Friday   6AM to 6PM
Saturday-Sunday   9AM to 5PM
Mountain Time, Denver, USA