The sys admin's daily grind: SA-Update
SA-Update helps beleaguered admins face the onslaught of consumer trash.
Spammers must be creative with the structure and content of their junk mail if they want to guarantee the dislike of any PC user anywhere in the world. Because I like to fight spammers on even terms, my SpamAssassin's filter rules need regular updates. Fortunately, I can turn to many channels for ammunition.
The tool that retrieves the updates and copies them to the right spot goes by the name of SA-Update .
A GPG key prevents various manipulation techniques such as DNS spoofing. To rejuvenate the default channel, updates.spamassassin.org, I first need the matching public key:
wget http://spamassassin.apache.org/updates/GPG.KEY gpg --import GPG.KEY sa-update --import GPG.KEY
Next, I create two files in the SpamAssassin folder. One of them, channels.text, lists the update channels. The second, keys.text, holds the GPG key IDs that I need for secure access. A call to
sa-update -D --channelfile/etc/spamassassin/channels.text--gpgkeyfile /etc/spamassassin/keys.text
starts the update. The -D parameter tells SA-Update to display debug information. Without this parameter – SA-Update is as taciturn as Charles Bronson's character Harmonica  – there is no such thing as your average verbose mode.
The return value gives an easy method of checking for a successful update. A return value of 0 means that SA-Update has added new filter rules. A value of 1 means that the ruleset was already up to date. A value of 4 or more indicates an error, and that means I need to check the debug output more closely.
To improve the spam detection rate, I like to add channels such as OpenProtect  or Daryl O'Shea . A useful overview of the rules of the SpamAssassin Rules Emporium (SARE) are available online , and the default ruleset is explained in detail . The filter rule short forms appear in the mail logs; thus, you can tell at a glance what SpamAssassin doesn't like about a message and which ruleset the tool used (Figure 1).
The most important question is, "Is it worthwhile?" Definitely! My spam filter's detection rates benefit considerably by extending the rulesets. Still, I like to keep an eye on the logfiles: The danger of false positives grows with each new filter rule you add.
- SA-Update: http://wiki.apache.org/spamassassin/RuleUpdates
- "Once Upon a Time in the West" ("C'era una Volta il West"), 1968, http://www.imdb.com/title/tt0064116/
- OpenProtect: http://saupdates.openprotect.com
- Daryl O'Shea: http://daryl.dostech.ca/sa-update/sare/sare-sa-update-howto.txt
- SARE: http://www.rulesemporium.com/rules.htm
- Default ruleset: http://spamassassin.apache.org/tests_3_2_x.html
Version 16 of the popular Linux desktop reveals new tools, edge-snapping, and performance improvements.
Symantec says Linux-Darlioz burrows in through PHP.
Dell renews its quest for the ultimate developer machine.
Innovative back door looks like normal SSH traffic.
One of CeBITs most successful forums opens the new year with a new name. The popular Open Source Forum continues in 2014 under the name Special Conference: Open Source. This year, the forum will be bigger and offer a wider range of possibilities for sponsors.
New release offers better graphics drivers and expands filesystem support.
New mail protocol will shut out the NSA and prevent snooping on metadata.
A new web application helps users visualize distributed denial-of-service attacks.
Ubuntu 13.10 takes a step toward convergence, with lots of mobility, but Mir only partly here.
Galileo board is targeted to embedded developers and educational institutions.