Dan-80 wrote:
> 
> 2) What do 'tflags' do?:
> 
>       describe MIME_CHARSET_FARAWAY   MIME character set indicates foreign  
> language
>       tflags MIME_CHARSET_FARAWAY     userconf
> 

tflags SYMBOLIC_TEST_NAME [ {net|nice|learn|userconf|noautolearn} ]

Used to set flags on a test. These flags are used in the score-determination
back end system for details of the test's behaviour. Please see
bayes_auto_learn and use_auto_whitelist for more information about tflag
interaction with those systems. The following flags can be set: 
net

The test is a network test, and will not be run in the mass checking system
or if -L is used, therefore its score should not be modified. 

nice

The test is intended to compensate for common false positives, and should be
assigned a negative score. 

userconf

The test requires user configuration before it can be used (like language-
specific tests). 

learn

The test requires training before it can be used. 

noautolearn

The test will explicitly be ignored when calculating the score for learning
systems.


Dan-80 wrote:
> 
> 3) What are 'test' lines?:
> 

test SYMBOLIC_TEST_NAME (ok|fail) Some string to test against

Define a regression testing string. You can have more than one regression
test string per symbolic test name. Simply specify a string that you wish
the test to match. 
These tests are only run as part of the test suite - they should not affect
the general running of SpamAssassin.

--Sandy
--
View this message in context: 
http://www.nabble.com/20_bodytests-t1553240.html#a4312791
Sent from the SpamAssassin - Users forum at Nabble.com.

Reply via email to