Here's a nifty feature I added recently to SVN trunk that's quite useful
if you're a rule developer.  Basically, it allows you to set a line
or two of configuration, on the command line:

  spamassassin --cf="config"

    --cf='config line'
        Add additional lines of configuration directly from the com-
        mand-line, parsed after the configuration files are read.   Multi-
        ple --cf arguments can be used, and each will be considered a sepa-
        rate line of configuration.


Here's the key benefit for rule developers; you can test rules against
a message without even editing a single file. For example:

$ spamassassin -t --cf="body NEWRULE /text/" -Lt < spam | grep NEW
 1.0 NEWRULE                BODY: NEWRULE
$

it's very nifty.

--j.

Reply via email to