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

Support X-Ham-Report for detailed report info #58

Open InvisiBilldotnet opened 1 year ago

InvisiBilldotnet commented 1 year ago

In SpamAssassin/cPanel, non-spam emails have the detailed report placed into the X-Ham-Report header rather than X-Spam-Report. This causes the Spam Scores button to show "No details available" on non-spam emails, though it works properly for spam emails. The two headers are the same format, other than the name and the Ham version saying "...NOT identified...".

X-Spam-Status: No, score=-2.0
X-Ham-Report: Spam detection software, running on the system "mx.example.com",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 root\@localhost for details.

image

X-Spam-Status: Yes, score=3.5
X-Spam-Report: Spam detection software, running on the system "mx.example.com",
 has identified this incoming email as possible spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 root\@localhost for details.

image