Revision b34c628...

Go back to digest for 27th October 2013

Bug Fixes in KDE-PIM

Jan Kundrát committed changes in [trojita] /Composer:

Do not set the $SubmitPending flag during the initial submission attempt

The $SubmitPending IMAP keywords on its own is meant to indicate that "this
message needs to be sent out" [1]; MUAs are supposed to use both $Submitted and
$SubmitPending when the message is actively submitted, and just $Submitted when
the message was sent.

This is a serious bug -- a reasonable client could very well look at the Sent
mailbox and tell users "Hey, it looks like there's a ton of messages to be sent
in there which were never actually sent. Do you want me to send them now?". We
should have never set this flag without proper support for $Submitted in place,
but this misfeature has been around since mid-2012 :(.

Sorry to all who are affected by this, I haven't realized this implication.

[1] http://tools.ietf.org/html/rfc5550#section-5.10

REVIEW: 113396

File Changes

Modified 2 files
  • /Composer
  •   src/Submission.cpp
  •   tests/test_Composer_Submission.cpp
2 files changed in total