This forum has been archived. All content is frozen. Please use KDE Discuss instead.

rspamd with spamindicator on top of mail

Tags: None
(comma "," separated)
ssiemonsma
Registered Member
Posts
1
Karma
0
I'm using rspamd for spam filtering. Now I would like a bar on top of my mail to indicate the spamminess like is done when spamassassin is used.
In the mailheader the next line is added to indicate the spamminess:
Code: Select all
X-Spamd-Result: default: False [5.50 / 15.00]

I added the following to /etc/xdg/kmail.antispamrc:
Code: Select all
[Spamtool #12]
Ident=Rspamd
HeadersOnly=yes
DetectionOnly=1
UseRegExp=1
ScoreName=Rspamd
ScoreHeader=X-Spamd-Result
ScoreType=Adjusted
ScoreValueRegexp=\[([\\d\\.-]+)[^\\d\\.]
ScoreThresholdRegexp= / ([\\d\\.-]+)[^\\d\\.]

This enables a small notification for the spamminess on top of my mail. The bar is only complete grey.
I expect the last two Regexp lines are wrong. I'm however not able to correct this myself.

What I'm doing wrong?
What's the correct way to do this?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar