[kmail2] [Bug 451369] Header of a message shows "Spamassassin" for "Spam Status", despite using another spam filter

CaCO3 bugzilla_noreply at kde.org
Thu Mar 10 19:29:54 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=451369

--- Comment #2 from CaCO3 <caco3 at ruinelli.ch> ---
I created my own (2nd stage) spam filter. It basically is a Bayesian Filter run
on server side. It prepends the following fields onto my mails:
X-Spam-Checker-Version: CaCO3s Personal Mail Filter (2022-03-08)
X-Spam-Flag: NO
X-Spam-Status: NO, score=25 required=600 
X-Spam-Report:
        * WORD_CLASSIFIER

I adapted those headers by try and error and found that kmail needs
X-Spam-Status and X-Spam-Report for correctly showing the score correctly in
the score bar.

I am aware that additionally there are the same fields used for spamassassin
(1th stage spam filter) further down in the header, but kmail seems to use the
fields first found in the mail.

Below an example mail content:
X-Spam-Checker-Version: CaCO3s Personal Mail Filter (2022-03-08)
X-Spam-Flag: NO
X-Spam-Status: NO, score=25 required=600 
X-Spam-Report:
        * WORD_CLASSIFIER
[..]
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20)
X-Spam-Level: 
X-Spam-Status: No, score=-9.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
        [..]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list