<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Thank you,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">you are absolutely correct, it was the
      score_factor, which is set to $sa_tag2_level_deflt / 15.0 (as
      copied from README.rspamd).<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I expected the final list would include
      re-calculated scores - the 'raw' Rspamd scores are already listed
      in 'Local Rspamd rspamd score' line...</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">   Best regards,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">   Danilo</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 13. 10. 20 11:21, Damian wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e7e0de82-c64d-4a9a-0a98-2706554dd36c@arcsin.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p><tt>It seems that you are using Rspamd as an additional spam
          scanner. If so, I see some possibilities.</tt></p>
      <p><tt>1) Your @spam_scanners score_factor for Rspamd is something
          peculiar.<br>
          2) The score reported back by Rspamd is not the sum of
          reported symbol scores.<br>
          3) The amavis-internal RspamdClient should incorporate the
          score_factor into the values of reported tests.</tt></p>
      <p><tt>With log_level 5 you could see the raw json rspamd
          response. It would be helpful to check 2).<br>
        </tt></p>
      <blockquote type="cite"
        cite="mid:8cb2f070-cf58-54c6-d5bb-780c14dd38da@agenda.si">
        <p><tt>Here I have a real-world example - this is the </tt><tt>X-Spam-Satus</tt><tt>
            header of a received spam message (I added newlines for
            clarity):<br>
          </tt></p>
        <p><tt>X-Spam-Status: No, score=-0.499 tagged_above=-999
            required=4 tests=[<br>
            DKIMWL_WL_MED=-0.001, <br>
            DKIM_SIGNED=0.1, <br>
            DKIM_VALID=-0.1, <br>
            DKIM_VALID_AU=-0.1, <br>
            HTML_MESSAGE=0.001, <br>
            MAILING_LIST_MULTI=-1, <br>
            RCVD_IN_MSPIKE_H4=-0.01, <br>
            RCVD_IN_MSPIKE_WL=-0.01, <br>
            SPF_HELO_NONE=0.001, <br>
            SPF_PASS=-0.001, <br>
            T_KAM_HTML_FONT_INVALID=0.01, <br>
            RCVD_TLS_ALL=0, <br>
            RWL_MAILSPIKE_VERYGOOD=0, <br>
            HAS_LIST_UNSUB=-0.01, <br>
            R_DKIM_ALLOW=0, <br>
            URIBL_GREY=1.5, <br>
            MANY_INVISIBLE_PARTS=0.3, <br>
            DMARC_POLICY_ALLOW=0, <br>
            BAD_REP_POLICIES=0.1, <br>
            REPLYTO_DOM_NEQ_FROM_DOM=0, <br>
            PREVIOUSLY_DELIVERED=0, <br>
            PRECEDENCE_BULK=0, <br>
            DKIM_TRACE=0, <br>
            MIME_TRACE=0, <br>
            MIME_BASE64_TEXT=0.1, <br>
            HAS_REPLYTO=0, <br>
            RCVD_COUNT_ONE=0, <br>
            ASN=0, <br>
            MIME_GOOD=-0.1, <br>
            TO_DN_EQ_ADDR_ALL=0, <br>
            R_SPF_ALLOW=0, <br>
            FREEMAIL_REPLYTO=0, <br>
            FORGED_SENDER=0.3, <br>
            TO_MATCH_ENVRCPT_ALL=0, <br>
            ONCE_RECEIVED=0.1, <br>
            ARC_NA=0, <br>
            RCPT_COUNT_ONE=0, <br>
            FROM_NEQ_ENVFROM=0, <br>
            FROM_HAS_DN=0<br>
            ] </tt><tt><code>autolearn=ham autolearn_force=no</code></tt></p>
        <p><tt>So - total score is -0.499, but if I manually sum up all
            the tests, it comes out to 1.18.</tt></p>
        <p><tt>Is this something that normally occurs in Amavis or is
            this a distro (CentOS 7) specific problem?<br>
          </tt></p>
        <div class="moz-signature"> </div>
      </blockquote>
    </blockquote>
    <div class="moz-signature">
      <div></div>
    </div>
  </body>
</html>