Myside's Spew - Blog of Spontaneous Combustible Spew

1 minute HOWTO: Update SpamAssassin Rules / Filters

26 November, 2009 03:06 CST6CDT

The script "sa-update" is used by SpamAssassin to download configuration files such as rules and scores.  Here are the small steps that you must take in order to keep your spam filter rules up to par and able to knock the incoming spam mail to the floor.

  1. Change your path to your SpamAssassin rules and global configuration directory. "cd /usr/local/share/spamassassin" or "cd /usr/share/spamassassin" - of which either one would exist depending on your platform installation method
  2. Execute sa-update with the -D parameter so that you may see what updates are being downloaded and to output debug information.  You may type "whereis sa-update" if sa-update is not in your path.  So, after changing directories in this list #1, enter as root "sa-update -D"
  3. You will see a current version and the new version listed at the bottom of the output.  If their is a new definition, the new will be shown in difference to the current.
  4. Restart spamd.  This may be done with the following, one of which will work depending on your operating system and installation method: "/etc/init.d/spamassassin restart", "/etc/init.d/spamd restart", "/usr/local/etc/rc.d/sa-spamd restart"
I suggest following the directions listed here: http://saupdates.openprotect.com/ (OpenProtect's Spam-Assassin sa-update channel) to download the recommended rules in the SARE - SpamAssassin Rules Emporium.

A year ago I was writing...

carrier oils for many various uses including aromatherapy, essential oils, skin care, and cooking
fur's of evil are eating other tasty and expensive people food: gearing up for an unusually cold winter
when the lights go out...

Software  Article & Comments

Add a Comment

Verification (Required)
authimage
Your comment will appear once it is approved and
your e-mail address will NOT be shared

Main Entry:   spew   Pronunciation:   \ˈspyü\
Function: verb
Etymology: Middle English, from Old English spīwan; akin to Old High German spIwan to spit, Latin spuere, Greek ptyein   First Known Use: before 12th century

intransitive verb
  1. VOMIT
  2. to come forth in a flood or gush
  3. to ooze out as if under pressure : EXUDE
transitive verb
  1. VOMIT
  2. to send or cast forth with vigor or violence or in great quantity <a volcano spewing out ash> —often used with out —spew·er noun
Land where drunk cows swim and home to my daily hand