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.
What spam detection tool are you using?
I used "Bogofilter" as Anti-Spam tool.
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.
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)
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.