Scores SpamAssassin

Scores SpamAssassin - réseaux et sécurité - Linux et OS Alternatifs

Marsh Posté le 24-07-2007 à 12:09:45    

Je cherche des explications sur le fichier 50_scores.cf mais j'ai rien trouve. Je voudrais savoir a quoi correspondent les 4 scores pour chaque test.
J'utilise SpamAssassin 3.1 sur Debian Etch.
 
Extrait du fichier :
 


score AMATEUR_PORN 1.499 1.473 1.757 1.511
score BAD_CREDIT 1.501 0.129 1.539 0


Reply

Marsh Posté le 24-07-2007 à 12:09:45   

Reply

Marsh Posté le 24-07-2007 à 12:15:41    

http://spamassassin.apache.org/tests_3_2_x.html
(local, net, with bayes, with bayes+net)


Message édité par l0ky le 24-07-2007 à 12:18:25
Reply

Marsh Posté le 24-07-2007 à 12:23:23    

Je viens de voir, mais ca veut dire quoi exactement?


Message édité par initiators le 24-07-2007 à 12:23:33
Reply

Marsh Posté le 24-07-2007 à 12:31:31    

RTFM tout ca... non ? :/

 

http://spamassassin.apache.org/ful [...] ng_options

Citation :

score SYMBOLIC_TEST_NAME n.nn [ n.nn n.nn n.nn ]
    Assign scores (the number of points for a hit) to a given test. Scores can be positive or negative real numbers or integers. SYMBOLIC_TEST_NAME is the symbolic name used by SpamAssassin for that test; for example, 'FROM_ENDS_IN_NUMS'.

 

   If only one valid score is listed, then that score is always used for a test.

 

   If four valid scores are listed, then the score that is used depends on how SpamAssassin is being used. The first score is used when both Bayes and network tests are disabled (score set 0). The second score is used when Bayes is disabled, but network tests are enabled (score set 1). The third score is used when Bayes is enabled and network tests are disabled (score set 2). The fourth score is used when Bayes is enabled and network tests are enabled (score set 3).

 

   Setting a rule's score to 0 will disable that rule from running.

 

   If any of the score values are surrounded by parenthesis '()', then all of the scores in the line are considered to be relative to the already set score. ie: '(3)' means increase the score for this rule by 3 points in all score sets. '(3) (0) (3) (0)' means increase the score for this rule by 3 in score sets 0 and 2 only.

 

   If no score is given for a test by the end of the configuration, a default score is assigned: a score of 1.0 is used for all tests, except those who names begin with 'T_' (this is used to indicate a rule in testing) which receive 0.01.

 

   Note that test names which begin with '__' are indirect rules used to compose meta-match rules and can also act as prerequisites to other rules. They are not scored or listed in the 'tests hit' reports, but assigning a score of 0 to an indirect rule will disable it from running.

 


Message édité par l0ky le 24-07-2007 à 12:36:22
Reply

Marsh Posté le 24-07-2007 à 12:52:47    

Ben j'etais en train de chercher sur leur site, un peu bordelique.
Et j'ai pas retrouve cette partie dans les docs fournies par le package Debian. :/

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed