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

Add support for X-VR-SPAMSCORE headers (OVH) #32

Open dlh2 opened 2 years ago

dlh2 commented 2 years ago

Is your feature request related to a problem? Please describe. The Servers of my hosting provider (https://ovh.es/) only add spam-headers of the format:

X-VR-SPAMSTATE: SPAM X-VR-SPAMSCORE: 800 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvtddrudejiedgheehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucgorfhhihhshhhinhhgqdfuohhrthfjughrucdlfedttddmnegohfhorhgsihguuggvnhfjughrucdlhedttddmnecujfgurhephffufffvtgfgsehhjedttddttdejnecuhfhrohhmpeeulhhoohguucfrrhgvshhsuhhrvgcujfgvrghlthhhuceonhhorhgvphhlhiesphhhohhnhhhordhnvghtqeenucggtffrrghtthgvrhhnpeehfffhheeltedttdfgleejveejteffjeehjeduueejjeeileehleeuudffgefhleenucffohhmrghinhepnhhuihguhidrtghomhenucfkpheptddrtddrtddrtddpgeehrddugeekrddutddrvddtvdenucfhohhrsghiugguvghnjfgurhephffufffvtgfgsehhjedttddttdejnecurfhhihhshhhinhhgufhorhhtjfgurhepfffghffuvfgtsehhjedttddttdejnecuufhprghmkfhppfgvthifohhrkhepgeehrddugeekrddutddrvddtvdenuceurggutfgvphhuthffohhmrghinhepphhhohhnhhhordhnvghtnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepihhnfedvrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomheppdhrtghpthhtoheprggumhhinhesthgvmhgtohdrvghs

The add-on does not seem to recognize these. No Scores are shown.

Describe the solution you'd like Add support for parsing these header fields in addition to X-VR-SPAMSCORE[...]

friedPotat0 commented 2 years ago

Thank you for submitting this issue.

The add-on only supports headers of Rspamd, SpamAssassin and MailScanner at the moment. It should be no problem to support the X-VR-SPAMSCORE header and parse its score. The X-VR-SPAMCAUSE header seems to be in an encoded form. I've checked some examples of decoded versions of this header online, but the decoded form does not seem to contain any useable information.

dlh2 commented 2 years ago

Well, the spam cause has its utility, but i'd rather just use the spamscore, as the OVH servers doesn't let you do much for spam, thanks for giving a fast response!