Version: (using KDE KDE 3.4.1) Installed from: Unlisted Binary Package OS: Linux Under an imap (not dimap) account, with kmail 1.8.1 using kde 3.4.1 (installed thanks to alioth and helion.xcyb.org), when I shift-delete messages, it says on the bottom left 'Deleting messages failed' whereas this was successful. Cheers, JD.
> Under an imap (not dimap) account, with kmail 1.8.1 using kde 3.4.1 > (installed thanks to alioth and helion.xcyb.org), when I shift-delete > messages, it says on the bottom left 'Deleting messages failed' whereas > this was successful. Not here, I get "Deleting successful". Can you compile kdepim with --enable-debug=yes and see if you get any debug information on the console when you delete the message?
Doing so with DEB_BUILD_OPTIONS=debug which is setting --enable-debug=full (tell me if you did not want full, but only yes - otherwise stay tuned!).
oups - build failure - contacting kdepim-users - more later when the build will be ok.
Still 'Deleting messages failed'. Output on the console when I delete the mail talks only about next mail, see below. I am now recompiling also kdelibs4-dev with --enable-debug=full just in case the error would be in kio - shall I not? No pb to add watchdogs e.g. kdDebug, but then please tell me where. kmail: ImapJob::slotGetMessageResult - retrieved part kmail: (198169, last 0) Cron job output from lxplus:pubxx @ Sun Jun 12 08:27:13 2005 AFS Tokens Manager for batch jobs, readyToShow true kmail: parseMsg(KMMessage* aMsg == aMsg ) kmail: + Text/Plain kmail: Inserting one item into MimePartTree kmail: Content-Type: Text/Plain kmail: partNode::findType() is looking at Text/Plain kmail: [static KMail::SpamScores KMail::SpamHeaderAnalyzer::getSpamScores(const KMMessage*)] kmail: Multiple / No addressees matched email address; Count is 0 kmail: ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) kmail: KMReaderWin - finished parsing and displaying of message. kmail: setImapStatus path=/INBOX/;UID=119132 to: \SEEN
> 08:38 ------- Still 'Deleting messages failed'. Output on the console when > I delete the mail talks only about next mail, see below. I am now > recompiling also kdelibs4-dev with --enable-debug=full just in case the > error would be in kio - shall I not? No pb to add watchdogs e.g. kdDebug, > but then please tell me where. No need to recompile kdelibs. I'm looking for something like "slotMoveCompleted" in the debug output. Do you see this?
Sorry - I redid a test opening kmail, deleting last message that was a spam. Indeed I see: kmail: [void KMHeaders::slotMoveCompleted(KMCommand*)] 3 Full output is at http://home.cern.ch/~jdurand/kmail.output My imap server is Exchange Server 2003, just in case this is relevant!
I see this also - both in dimap and inline - against a Courier IMAP server. Kmail 1.8.1 in KDE 3.4.1 from kubuntu.org (5.04). Also debian packaging, hmm...
I now see after applying KDE 3.4.1 updates to Fedora Core 4 also.
If it's any help tracking this down, I just saw the same message when deleting from a _local_ (maildir) mailbox. I selected everything in the folder, hit shift-delete, and the statusbar message said "Deleting messages failed". But the folder is now empty, so it looks like it worked to me. So, may not be IMAP-related. I can't tell you for sure, but I'm getting the vague impression so far that it's only happening when I deleting a lot of big messages. What I was deleting just now was 192 copies of a 56kb virus some stupid infected Windows machine keeps sending me!
I also have the same bug. Using kmail-1.8.2 Additional observation: * It happens on local mbox and maildirs, both. * It happens for mails of any size. * I dont know if this is by design or bug, but after deletion the _actual_mbox_file on the disk still has the deleted mail (kmail doesnt show it in the mails of course). I guess kmail sets a flag somewhere that the mail is deleted. But even after quitting/restarting kmail the actual mbox file remains unchanged (i.e. the deleted mail is still there).
Oops ... checked forums and now i know that the last point in my earlier observation (only marking deleted messages as being deleted) is a feature. The "deleting message failed" bug is still there, though.
I see the same behavior with [Shift-Del]. KMail properly tags the message for deletion (as viewed by a second IMAP client like Evolution) and properly expunges the message when leaving the folder. The "deleting message failed" error seems to be inappropriate because everything is working right.
Using KDE 3.5.0 I do not see anymore this problem!