[Bug 163372] New: X-server reset during sending mail left no trace of email in sent/outbox folder but it was still sent

monstermunch at fmail.co.uk monstermunch at fmail.co.uk
Fri Jun 6 16:08:06 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=163372         
           Summary: X-server reset during sending mail left no trace of
                    email in sent/outbox folder but it was still sent
           Product: kmail
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: monstermunch fmail co uk


Version:            (using Devel)
Installed from:    Compiled sources

This bug is probably hard to reproduce but I thought it was still worth submitting.

Here's what just happened:

* I wrote a very long email in kmail.
* I hit send.
* I launched ksysguard during the send operation.
* My X-server reset.
* After the reset, I checkout my outbox and my sent mail folder for my email and found nothing.
* I spoke to the email recipient and he said he did receive the email (yet I have no record of this).
* I think (I'm not sure) that the little reply arrow on the message I replied to was not set either.

Obviously, this is bad because I think I lost my email but didn't. I don't know what the word is, but it sounds like you need some journal system to fix this where you keep a list of operations that are about to happen and only take them off the list when you've verified that the operation is complete. On a crash, you just check the log and continue where you left of from (similar to high reliability databases).

One quick fix would be to use the presence of an email in the outbox as a marker for "we still have to send this message and put it in the sent box" and then only delete the outbox item when all is complete. On a crash in the middle of doing all this, you would just do all the operations again. It means in a rare situation the email would be sent multiple times but that wouldn't bother me compared to having to type my whole email out again to find that it was already sent.



More information about the Kdepim-bugs mailing list