Bug 289062 - kmail2, 4.7.90: cannot delete e-mails in inbox (all back after server sync)
Summary: kmail2, 4.7.90: cannot delete e-mails in inbox (all back after server sync)
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 4.8
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 18:54 UTC by Andreas K. Huettel
Modified: 2013-02-04 12:21 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 Andreas K. Huettel 2011-12-15 18:54:46 UTC
Recently (since the upgrade from 4.8 beta1 to beta2?), deleting an e-mail in my (dimap) inbox only removes this e-mail temporarily. 

After the next sync with the server, all deleted mails are back. 

Re-starting Akonadi did not help, neither did logging out completely and logging back in.

Not sure what other information might be useful, please ping me on irc (dilfridge on #kontact or #kde-devel) if you have specific questions.
Comment 1 Laurent Montel 2011-12-16 07:08:45 UTC
do you use a trash on your dimap account ?
Comment 2 Andreas K. Huettel 2011-12-16 12:40:28 UTC
No, trash was always local. 

I "solved" the problem... for some reason, kmail had forgotten which folder to use as trash. Re-setting the local trash as trash folder of my dimap account makes the deleting work again.

(I found this because none of the "not-really-deleted" messages ended up in the trash folder!)

Not sure if or where there is a bug, resolve as you see fit.
Comment 3 Richard Bos 2012-04-26 19:53:31 UTC
Confirmed.  I encounter the same problem with kmail 4.8.1 (openSUSE-12.2 milestone-2 (march-2012)).

- When I change the trash to a local trash folder, emails are removed.  
- When I set the trash to my other IMAP server (cyrus imap), the emails are also removed.

However, the emails are not removed when a the dovecot (2.1.x) IMAP server is used.

- In case of cyrus, I see IMAP messages passing by when I delete the email (this server is located on another box than the client)

- I don't see any IMAP messages when I delete email from my INBOX on dovecot (perhaps the latter is the case because the dovecot IMAP server is on the same system as my IMAP client)?
Comment 4 Richard Bos 2012-04-26 20:16:26 UTC
With kmail 1.13.7 (or KDE-4.6.5) removing emails from the (same) dovecot server is working.
Comment 5 Andreas K. Huettel 2013-02-04 12:21:23 UTC
Has been working fine for quite some time now (I'm on 4.9.98 now). Most likely fixed.