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

SPAM handling in Kmail

Tags: None
(comma "," separated)
piedro
Registered Member
Posts
374
Karma
1
OS

SPAM handling in Kmail

Wed Nov 30, 2011 3:29 pm
Is there any working spam handling solution for kmail2 and KDE 4.7.3 at the monent? And if yes how to set it up?

thx for any help,
piedro
sinclair
Registered Member
Posts
226
Karma
0
OS

Re: SPAM handling in Kmail

Fri Dec 02, 2011 6:12 am
I use Spambayes, I used to combine CRM114 and Spambayes but apparently CRM114 is borked in 64bit version.

So this goes for Spambayes only, I can not vouch for Bogofilter etc.

Install spambayes from whatever repo your dist uses. I am on Kubuntu 11.10 amd64 myself.

Install the filter(s) in KMail2 using the wizard. Spambayes can set both spam and "possibly spam" so you can define rules for that.

From my experience (I am still testing this) the rule normally set by the wizard on what to do after a mail has been processed by spambayes outside KMail2 then needs to be changed.

It used to work as preset, something like "X-Spamheader"... and so on =spam. However in KMail2 I have changed that to "Anywhere in headers" and then "X-Spambayes-Classification: spam" and "spam unsure" respectively.

I have had this setting for some days now and it seems to work. Spambayes is a learning filter so you may get lots of "possible spam" initially, I strongly recommend you use the option to create a separate folder for "Spam unsure" and let mail classified as "spam unsure" get delivered there. Then use the spam and ham buttons to teach the filter.

Good Luck!


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]