Bug 183227

Summary: don't mark message as read in POP3 download
Product: [Unmaintained] kmail Reporter: Ritesh Raj Sarraf <kde-bugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: 1.11.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ritesh Raj Sarraf 2009-02-04 21:07:32 UTC
Version:           1.11.0 (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-custom

Use Case
You download mails from a server using dimap. The server has auto-archiving enabled. This ends up with your dimap cache also having archived emails than having pristine copies of the email.

Workaround
Configure a POP3 account with the same server. Configure it to leave message on the server after download. This way you can have a pristine copy of the email while also access the email using dimap.

Problem
When POP3 fetches mails, it marks them as read. If then you see the message listing in dimap, you lost track of new unread messages.

Wishlist
Add an option for POP3 to "Leave messages as it is on the server".

Example User
Me. I use dimap with MS Exchange to be able to browse through my email messages. My Exchange server has an auto archive policy which archives old messages on the server after N days. This becomes a problem when I need to search an old email and I don't have the pristine copy in my dimap cache. As mentioned above, POP3 is a workaround for a scenario like this. But it mangles the state of messages on the server.
Comment 1 Ritesh Raj Sarraf 2009-02-04 21:15:26 UTC
*** Bug 183228 has been marked as a duplicate of this bug. ***
Comment 2 Jaime Torres 2009-02-05 16:55:12 UTC
I'm not a POP3 expert, but looking at wilipedia,
http://es.wikipedia.org/wiki/POP3

Your wish it is not possible to accomplish with the commands listed.
Comment 3 Thomas McGuire 2009-02-05 21:53:18 UTC
> Your wish it is not possible to accomplish with the commands listed.

Correct. The POP3 protocol has no concept of unread or read.
If a mail is marked as read, that is done by the server, KMail can not influence this.