Bug 375687

Summary: Kmail Not Deleting Email From Server
Product: [Applications] kmail2 Reporter: Ian <ian>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: fabstz-it, h6zb8-kdebugs20120801, llyw.linux
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ian 2017-01-28 22:05:21 UTC
I discovered the issue after an update around Christmas time or shortly thereafter - I believe Kmail and other software was updated at that time.

Kmail and anokondi would not work - some errors about not being able to connect to the socket file. In the OpenSuse forum, I was advised to delete the socket file and try again.

That worked. At least it got Kmail running (not very well mind you and a major issue has been posted in another thread).

However, what I discovered was that Kmail was not deleting emails from the server. When I got kmail working, it was re-downloading thousands of email messages dating back to July of 2016.

In the settings I have:

Leave fetched messages on the server
Days to leave messages on the server: 7 Days

The latest version of kmail also is not deleting messages after 7 days so it appears to be a multi-version issue.

I am using POP, SSL/TLS, Port 995 and Plain login.
Comment 1 Fab Stz 2017-10-13 14:34:56 UTC
Same problem here with a delay of 30days (POP account)
Debian 9 (stretch) : kmail 5.2.3 & akonadi 5.2.2

Maybe this is a duplicate of bug 381631
Comment 2 Llyw 2021-12-04 20:48:38 UTC
*** Bug 381631 has been marked as a duplicate of this bug. ***
Comment 3 Llyw 2021-12-04 20:49:17 UTC
Even with KMail 5.14.2 this issue still occurs for all my POP3 accounts. I have enabled both "Leave fetched messages on the server" and "Days to leave messages on the server", which is set to 30 days. I would certainly appreciate if this issue is being looked into as I am also experiencing random re-downloading of messages that should have already been deleted...
Comment 4 Llyw 2021-12-04 22:02:30 UTC
(In reply to Llyw from comment #3)
> Even with KMail 5.14.2 this issue still occurs for all my POP3 accounts. I
> have enabled both "Leave fetched messages on the server" and "Days to leave
> messages on the server", which is set to 30 days. I would certainly
> appreciate if this issue is being looked into as I am also experiencing
> random re-downloading of messages that should have already been deleted...

... and for what it's worth, I am using openSUSE Leap 15.3 (and their RPMs).
Comment 5 Llyw 2021-12-28 08:53:20 UTC
I am setting this to CONFIRMED as I can very clearly confirm the issue and a duplicate was also already reported.