[Bug 278082] KMail2 can not synchro message's flags with IMAP on MSExchange server 2003

Paul Crook paul_crook at lineone.net
Thu Jan 12 19:54:58 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=278082





--- Comment #10 from Paul Crook <paul_crook lineone net>  2012-01-12 19:54:57 ---
(From update of attachment 67750)
Okay here's a quick and dirty patch to fix this. The patch is against the
source code for Ubuntu 11.10 package kdepimlibs version 4:4.7.3-0ubuntu0.1.

I say "quick and dirty" because all it does is remove all occurrences of the
'$SENT' flat when it appears in the clients APPEND command. This is obviously
not ideal as it means the flag is removed for all IMAP servers, even those
where its use would have been okay. If someone has time to dig into the Akonadi
logic a better solution would be to check the flags allowed by the IMAP
server's folder which it is appending messages to and allow only those flags.
It possibly should also translate '$SENT' to '$MDNSent' where appropriate.

I modified the method AppendJob::doStart() in the file
kdepimlibs-4.7.3/kimap/appendjob.cpp.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list