Bug 293800 - copy sent mail in sent folder failed: user@aim.com: Append failed, server replied: A000077 NO APPEND failed
Summary: copy sent mail in sent folder failed: user@aim.com: Append failed, server rep...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 327849 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-10 20:04 UTC by themroc
Modified: 2017-01-07 22:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description themroc 2012-02-10 20:04:15 UTC
Version:           4.7 (using KDE 4.7.4) 
OS:                Linux

Kmail should copy the sent mail in my IMAP-sent folder. But after sending a mail with my aim.com account, the copy procedure failed. 
But the mail was sent and arrived in the target mailaccount!

I receive this notification: user@aim.com: Append failed, server replied: A000077 NO APPEND failed

Checking the IMAP-sent folder, the mail is listed, but after activate by clicking on it, I receive this notification: user@aim.com: Remote id is empty or invalid

Checking the browser based mail application from aim.com, I see, this mail was not copied in the sent folder.


Reproducible: Always

Steps to Reproduce:
create an aim.com account, add this account to kmail. configure the account in kmail: put sent messages in the imap sent folder! 

After this, sent a mail with this account.

Actual Results:  
sent messages were not copy in the imap sent folder

Expected Results:  
sent messages were copy in the imap sent folder

OS: Linux (x86_64) release 3.0.0-15-generic
Compiler: gcc
Comment 1 Lala 2012-06-19 06:15:00 UTC
Same bug here for kmail 4.8.4 with Freenet. Sent e-mail is not stored in imap "sent folder" but definitely sent. Error message is: "Freenet Mail: Append failed, server replied: A000437 NO Error in IMAP command received by server."
Comment 2 Lala 2012-07-08 09:49:21 UTC
Ok the problem seems to be related to storing the wrong flags. Starting akonadi with 
>export KIMAP_LOGFILE=/tmp/imap.log                                                                                                                                                                                                                 
>akonadictl restart

and inspecting the imap log file yields:

C: A000113 SELECT "INBOX.sent"
S: * FLAGS ( \Draft \Answered \Flagged \Deleted \Seen \Recent )
S: * OK Limited [ PERMANENTFLAGS ( \Draft \Answered \Flagged \Deleted \Seen )  ]
S: * 296 EXISTS
S: * 0 RECENT
S: * OK Ok [ UIDVALIDITY 1070205188  ]
S: * OK ACL [ MYRIGHTS acdilrsw  ]

sending an email gives the following output in the log file:

C: A000130 APPEND "INBOX.sent" (\Seen $SENT) {349}
S: A000130 NO Error in IMAP command received by server.
C: A000131 LIST "" *

As far as I understand the $SENT flag is not supported by the server and should not be appended.
Comment 3 Lala 2012-07-30 21:56:55 UTC
using the patch for bug  278082 fixes the problem
Comment 4 Tobias Schula 2013-11-20 04:36:28 UTC
*** Bug 327849 has been marked as a duplicate of this bug. ***
Comment 5 Denis Kurz 2016-09-24 18:21:09 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 6 Denis Kurz 2017-01-07 22:27:17 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.