Egoitz Aurrekoetxea Aurre wrote:
> Hi everybody,
>
> I wanted to know what's the meaning of the following numbers and how could
> I customize for example this rule scores...
>
> # DCC
> ifplugin Mail::SpamAssassin::Plugin::DCC
> score DCC_CHECK 0 1.37 0 2.17
> endif # Mail::SpamAssassin::Plugin::DCC
>
> what does 0 1.37 0 and 2.17 mean?
>   
Those are the four different scores, which are used depending on what
score-set is in effect.
> wich one is the score added to score field in X-spam-status header?
>   
Depends on which score set you are using. Scoreset is chosen based on
the availablilty of bayes and/or network checks.

The first score is "set 0". This is used when NEITHER bayes nor network
tests are available
the next score is "set 1". This is used when network tests are enabled,
but bayes is disabled.
the next score is "set 2". This is used when network tests are disabled
and bayes is enabled.
the last score is "set 3". This is used when both are enabled.



> wich should I change for enforce taggin as spam only with this check for
> to get the spam score directly?
>   
None, don't edit 50_scores.cf.. Don't edit any files in
/usr/share/spamassassin. They get wiped every time you upgrade.

If you want to alter a score, add a new score line to your
/etc/mail/spamassassin/local.cf, or any .cf file of your choosing in
that directory. (some folks like to create a
/etc/mail/spamassassin/rescore.cf, or similar).

Since you're forcing a score, you don't need to declare 4 of them. You
can just declare one score and SA will automatically use that in all cases.

i.e:
score DCC_CHECK 1.0

Reply via email to