When replying to or forwarding emails, KMail does not properly set the status for this mail. A small "reply" or "forward" icon is set as an overlay on the mail's icon directly after sending the forward/reply, but this icon gets cleared as soon as one changes the mail folder.
In the mail's source view, there is neither a "status", nor a "x-status" set. Below, this is the header of a sent mail which was a reply to another mail:
Subject: Re: Restfull webservice
Date: Mon, CCCCCCCCCCCCCCCCCCCCC
User-Agent: KMail/4.9.3 (Linux/3.6.6-1-ARCH; KDE/4.9.3; x86_64; ; )
Content-Type: text/plain; charset="utf-8"
Created attachment 75192 [details]
Example of an email and its reply, missing the small "reply" overlay icon
Created attachment 75193 [details]
Before-after screenshot of the overlay icon
Imap account ?
Yes, I forgot to mention this. MS Exchange via IMAP:
* OK The Microsoft Exchange IMAP4 service is ready.
It's a problem from imap.
> It's a problem from imap.
Ok, so it is on KMail's side and not Exchange?
> Known bug
Was this bug been filed previously? How can I help to fix it?
I have that problem also, and I would be glad to help
I think this is the same as https://bugs.kde.org/show_bug.cgi?id=322346 and https://bugs.kde.org/show_bug.cgi?id=291332
The IMAP resource has a new maintainer, reassigning to him.
Please reopen if I'm wrong.
*** This bug has been marked as a duplicate of bug 291332 ***
Sorry, only the reply case is fixed.
There is no standard IMAP flag for forwarded, so this must be stored in Akonadi (this is already done) but must not be overwritten by the next sync. If I find some time I want to fix that too.
Git commit 23662faa4f6684ea6a327b44b242ec9c28390e19 by Andre Woebbeking.
Committed on 30/11/2013 at 14:44.
Pushed by woebbe into branch 'KDE/4.12'.
Don't bother IMAP servers with not supported flags - part II
Added a Akonadi collection as parameter to ResourceTask::fromAkonadiToSupportedImapFlags()
to make sure that the method has always a collection to work with. Therefore the method
can also be static.
E.g. "forward" at least doesn't result in an error anymore.
M +1 -1 resources/imap/additemtask.cpp
M +2 -2 resources/imap/changeitemsflagstask.cpp
M +2 -2 resources/imap/changeitemtask.cpp
M +3 -2 resources/imap/resourcetask.cpp
M +1 -1 resources/imap/resourcetask.h