Bug 253499 - Kmail's Anti-Spam Wizard moves complete imap inbox into trash
Summary: Kmail's Anti-Spam Wizard moves complete imap inbox into trash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 13:12 UTC by Mathias Dietrich
Modified: 2015-04-12 10:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Dietrich 2010-10-07 13:12:46 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

When you set up a new account after configuring the spam wizard all inbox mails were moved to trash.

This can result email loss, if the trash is cleared automatically.

Reproducible: Always

Steps to Reproduce:
1. Use Mail Wizard, set up an email account and download mails.
2. Setup Anti-Spam Filter using Anti-Spam Wizard.
3. Create a second imap mail account using Mail wizard and download messages

Actual Results:  
The whole inbox is empty (of the second account), all files are moved to trash.
Subfolders at the Mail Account are as they should.

Expected Results:  
Only Spam should be filtered or nothing should be filtered as long as the filter is untrained.

Using KMail 1.13.5 and Kontact 4.4.6.
Comment 1 Radu 2010-12-19 12:23:03 UTC
What spam detection tool are you using?
Comment 2 Mathias Dietrich 2011-01-07 12:55:32 UTC
I used "Bogofilter" as Anti-Spam tool.
Comment 3 Matija Šuklje 2011-08-08 06:14:39 UTC
Something similar happened to me too on 4.7.0 just now. Suddenly all e-mail I get via IMAP get marked as spam by Bogofilter.

I even marked tens of thousands (sic!) e-mails as ham, to teach it, but it still doesn't behave nicely.

At the same time the spam state fancy headers are gone as well.
Comment 4 Matija Šuklje 2011-08-08 07:32:18 UTC
I deleted Bogofilter's database with 'rm ~/.bogofilter/wordlist.db' and am training it again using the "Spam" "Not Spam" buttons in KMail.

It seems to work now. So at least in my case I think it was Bogofilter's and not KMail's fault.

(The fancy spam headers are still missing, but that's not what this bug is about)
Comment 5 Laurent Montel 2015-04-12 10:10:02 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.