Add Rspamd support to KMail antispam
ClosedPublic

Authored by Gigadoc2 on Sep 9 2017, 10:16 PM.

Details

Summary

This patch adds rspamd to the list of known antispam-tools, and thus enables KMail to display spam probability as assessed by Rspamd.

The support is limited to the evaluation of existing headers, as (to my knowledge) Rspamd can only be run server-side, and has no tools for analyzing offline mailboxes.

Diff Detail

Repository
R81 KDE PIM Addons
Lint
Lint Skipped
Unit
Unit Tests Skipped
Gigadoc2 created this revision.Sep 9 2017, 10:16 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptSep 9 2017, 10:16 PM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript
dvratil requested changes to this revision.Sep 10 2017, 4:41 AM
dvratil added a subscriber: dvratil.

Please add some metadata key/values:

Version=1
VisibleName=Rspamd
URL=https://rspamd.com
Priority=70
This revision now requires changes to proceed.Sep 10 2017, 4:41 AM
Gigadoc2 updated this revision to Diff 19365.Sep 10 2017, 2:42 PM
Gigadoc2 edited edge metadata.

Is 70 a reasonable priority for this?
I'm not sure what the effect of priority is when combined with "HeadersOnly=yes".

dvratil accepted this revision.Sep 11 2017, 12:37 PM

dspam also has 70 and it looks fairly similar to rspamd (at least in this file). We can always adjust it later.

This revision is now accepted and ready to land.Sep 11 2017, 12:37 PM
aacid closed this revision.Sep 11 2017, 8:01 PM