On Fri, 30 Jul 2010 14:54:40 -0400 Adam Moskowitz <ad...@menlo.com> wrote:
> In the spirit of sharing what I've learned . . . > > My question boiled down to this: > > Can I arrange to load/run only the tests I need? If so, how? > > The answer is actually quite simple: > > 1) Create a private rules directory, say, $HOME/sa-rules > > 2) Copy the following files from /usr/share/spamassassin to > $HOME/sa-rules: > > 10_default_prefs.cf > 50_scores.cf > languages > user_prefs.template > > plus the rule(s) you want to run. > > 3) Invoke spamassassin as follows: > > spamassassin --configpath=$HOME/sa-rules ... It wouldn't be much harder to use spamd spamd -d -p 1234 --user $USER --configpath=$HOME/sa-rules and then use spamc -p 1234