Important Notes:
This guide will show you how to fix a bug in Spam Assassin that marks all mail created in 2010 as spam.
Getting Started
1. Log into your server using SSH.
2. First we will locate the proper configuration file for Spam Assassin. Run the following command.
[root@hostname]#Locate local.cf
3. Observe the output.
/usr/local/etc/mail/spamassassin/local.cf
4. We will then edit the file to do this we will use VI. Run the command
[root@hostname]# vi /usr/local/etc/mail/spamassassin/local.cf
5. We are now editing the file our goal is to add the line below to the file.
score FH_DATE_PAST_20XX 0.0
6. We can do this by typing the letter o
7. Now you are in insert mode you can now type or paste the line above in the open slot.
8. Now type to close and save the file in VI
:wq
This command will close VI and save.
9. Now we will run a Spam Assassin update to fully resolve the issue. Here is the command.
[root@hostname]#sa-update
Now the issue should be fixed and Spam Assassin should work normally.
Last Updated
9th of February, 2010