SpamAssassin user_prefs rewrite_header Subject +++SPAM(SCORE)+++

RaptorUK

Member
Jun 16, 2011
11
0
51
Does anyone here know how to get this to work ?

I followed the instructions to the letter and my Subject line is not being rewritten . .

Sorting spam with your email client

This is the preferred method of sorting and deleting spam messages. With SpamBox disabled, you can configure SpamAssassin to mark your email with an identifying subject (such as +++SPAM+++), which can then be used to filter each message into an appropriate location.

To do this, you must directly edit the SpamAssassin configuration file on the server, if your web host allows this. Its location is: /home/example/.spamassassin/user_prefs (where “example” stands for your cPanel username). Within this file, you must add a line formatted like this:

rewrite_header Subject +++SPAM(SCORE)+++
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

You can actually enable this option via:

"WHM >> Service Configuration >> Exim Configuration Editor"

Enable the "SpamAssassin™: Global Subject Rewrite" option under the "Filters" tab.

Thank you.