friedPotat0 / Spam-Scores

Thunderbird add-on to display spam scores according to mail headers. Supports spam/ham score headers of Rspamd and SpamAssassin. The add-on adds a column with the overall spam score to the mail list view and shows details of any matched spam/ham rule.
https://addons.thunderbird.net/de/thunderbird/addon/spam-scores/
Other
42 stars 6 forks source link

When installing, Spam Scores appends to the last existing filter header instead of creating a new filter header #49

Open hexadecagram opened 2 years ago

hexadecagram commented 2 years ago

Describe the bug All should be clear in the first screen shot attached. Before installing Spam Scores, my list of message headers for filters included "List-Id" and "Reply-To". After installing, the last filter header is changed to "Reply-Tox-spam-score" instead of adding an additional filter header of "x-spam-score".

Also note that other extensions alter the filter list without allowing the user to edit them (see the second screen shot, starting with "Subject (RegEx)"). I'm not sure how this is done, but you may want to consider following suit.

Reproduction steps Install Spam Scores.

Expected behavior When installing Spam Scores, any new filters that are added to the list of custom message header filters should be appended to the list, not to the last list element.

Screenshots

Screen Shot 2022-06-07 at 4 34 37 PM Screen Shot 2022-06-07 at 4 42 45 PM

Thunderbird (please complete the following information):

Spam Score add-on (please complete the following information):