Admin Life Errors, Fixes, and Encounters

13Jan/101

amavisd SpamAssassin FH_DATE_PAST_20XX

amavis with SpamAssassin causes spam scores to go up because of an old rule that didn't expect emails to be sent in the future and labeled it as spam. Guess what? the future is NOW :)

Problem
FH_DATE_PAST_20XX=3.188 caused X-Spam-Score to go up.

Current software in use
amavisd-new-2.5 with SpamAssassin on FreeBSD

first I did a standard update to get the latest rules
# sa-update -D

But I wasn't sure if that was going to take as the new update was in /var/db/spamassassin/ which is a new directory that the update created.

After a little research I found the following command.
# sa-update --updatedir /usr/local/share/spamassassin

The command did update /usr/local/share/spamassassin which did hold my old rules
I was still not sure the new rules would be included as a directory updates_spamassassin_org/ was created
I vi'd the file updates_spamassassin_org.cf and sure enough it shows to include updates_spamassassin_org/

Restart amavisd
# cd /usr/local/etc/rc.d/
# ./amavisd restart

Just like that, problem fixed.

Filed under: Errors, Unix Leave a comment
Comments (1) Trackbacks (0)
  1. On FreeBSD it’s never /usr/bin/bash unless your admin is doing smhetoing wrong (like trying to get a script to run that’s hardcoded to /usr/bin/bash). It’s /usr/local/bin/bash, if it’s there at all, which it isn’t by default.


Leave a comment

No trackbacks yet.