How to put the *****SPAM***** back in the subject line by default on the cpanel server for the emails filtered by spamassassin.

To put the *****SPAM***** back in the subject line by default, edit this file:

/etc/mail/spamassassin/local.cf

And put in this line:

rewrite_subject 1

Then restart spamd by restarting Exim:

service exim restart

This enables users to use their own preferences. The user preferrences can be disabled by putting the line

rewrite_subject 0

in the file

/root/.spamassassin/user_pref