More info from another .xsession-errors message:

kmail: WARNING: FolderStorage::getMsg, message has no sernum, index: 0

Well that's odd.  It stored a message that it refuses to retrieve...
there are most certainly some bugs inside kmail here.

I speculate this one may be related to the way sometimes when kmail crashes, 
the message most recently written into
a given folder will be unreadable (displays as all white in the message window, 
but the $SUBJECT etc are readable in
the list pane) and undeletable (producing a "crossed out" graphic in the list 
pane that never vanishes ... usually it's just
barely visible before it's completely erased) and unmovable.

Hey, great -- no sooner do I have *that* theory than I observe that the first 
message in the outbox is unreadable in
exactly that way.  And of course I can't manually move it to a different 
folder. 

... So I was able to recover the outbox folder manually:  (a) with kmail open, 
move all messages to the "drafts" folder,
except obviously the unrecoverable one; (b) create an "empty" folder; (c) quit 
kmail; (d) manually move that message
to someplace I can recover it from by hand, so the outbox/cur directory is 
empty; (e) overwite the .outbox.index* files
with the .empty.index* ones, removing the .outbox.index.sorted file; (f) reopen 
kmail; (g) move the messages back from
"drafts" to "outbox"; (h) Now try "send queued messages" ... it works!!

I'll have to re-create that one problematic message myself.  It's just a
patch submission after all; easy.

CONCLUSION:  this *IS* the same problem I've seen when reading messages in the 
(temporal) vicinity of a kmail
crash.  (All crashes I've seen have been caused by me pressing the "reply all" 
button.  I speculate that mail was
being added to that folder at the same time, since after the crash there are 
always a few not-seen-before messages.)
It's just that when this folder corruption happens on the outbox, the symptoms 
are even more damaging... and when
I've had to work around this with non-"outbox" folders, I could recover by just 
removing the message from the folder,
no need for all the (a)..(h) shenanigans.

-- 
kmail suddenly stopped sending mail
https://bugs.launchpad.net/bugs/243825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to