Closed PitWenkin closed 2 months ago
Thanks for reporting! It looks like the X-Spam-Status and the X-Spam-Report header are both being parsed. The X-Spam-Status header however has no detailed information so additional zero scores are added to the list. I will check the priority of the headers and report back when the issue is fixed...
Maybe it is time to implement a custom priority that can be adjusted in the add-on settings as mentioned in #7.
You might be right. Until a week ago I only hat the X-Spam-Status, which was propperly parsed, but hat 0 for each score in the popup. The duplicates (with the right scores on half of them) only showed up after I enabled the X-Spam-Report too.
I could propably fix it this by removing the tests form the X-Spam-Status …
This bug is still there. I'd rather not turn off the X-Spam-Status header, because it contains information that isn't elsewhere.
Describe the bug Some (most/all) individual scores are listes twice in the detailed list. Sometimes even with different scores In the example:
RCVD_IN_PBL
is listed with3.3
as well as0
DATE_IN_PAST_03_06
is listed with1.6
as well as0
BAYES_00
is listed with-1.9
as well as0
T_SCC_BODY_TEXT_LINE
is listed with and without descriptionExpected behavior Each score should only be listed once, with the right score
Screenshots
![2](https://user-images.githubusercontent.com/45786226/168244022-7274cae7-d223-446b-ba9b-b22381e91033.png)
Thunderbird (please complete the following information):
Spam Score add-on (please complete the following information):
Additional context
Source:
Headers as they are displayed by Thunderbird:![Thunderbird headers display](https://user-images.githubusercontent.com/45786226/168244383-317f7b5d-1d1a-4d11-9a0b-1ffc2c4d9798.png)
Might be regex having problems with something in the description, e.g.
+
inBITCOIN_ONAN
?