Summary: | "ghost messages" stay in outbox | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | ebakke |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | ali, alpeterson, coupe.1, damir.perisa, daniel, dirk, esigra, fmdf, himself, kde, luke-jr+kdebugs, mhirsch, mi+kde, misc2006, mtanev, petr-kde, werner, yaman |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | All | ||
Latest Commit: | Version Fixed In: |
Description
ebakke
2002-06-14 19:24:21 UTC
Are you sure you're not mixing this up with a mistyped *receiver* address? I also see this. I think the problem is not the message that I'm currently trying to send, its empty messages stuck in the outbox (sender: unknown, to: unknown). Not clear how these messages get into the inbox, but clearing them allows other messages to be sent successfully again. degs@giantblob.com KDE 3.0.3 KMail 1.4.3 Installed from RedHat Receiving the same message. By reentering the password in the settings area, I can send mail repeatedly until closing and starting KMail, which requires the reentry of the password again. If password storage is disabled, the problem does not occur. KDE 3.1.0 Kmail 1.5 installed from Mandrake 9.1rc2 I have the same bug - sending emails fails because KMail doesn't find the sender address with the empty message in my outbox, wich blocks all other. Could it be that this message is generated as a reply to "delivery confirmation request"? It seems like this bug is there for some time now. Would it not be better if KMail went through the whole list and tried to send every single one independently? Subject: Re: sending emails fails because KMail doesn't find the sender address On Saturday 12 April 2003 11:10, Egor Kobylkin wrote: > ------- Additional Comments From egork@iname.com 2003-04-12 11:10 ------- > KDE 3.1.0 Kmail 1.5 installed from Mandrake 9.1rc2 > I have the same bug - sending emails fails because KMail doesn't find the > sender address with the empty message in my outbox, wich blocks all other. > Could it be that this message is generated as a reply to "delivery > confirmation request"? > > It seems like this bug is there for some time now. Would it not be better > if KMail went through the whole list and tried to send every single one > independently? - From what I have found this happens when KMail crashes. The messages are no longer in the outbox, but the mailbox index say that they are. When you try to send a new email, KMail will also try to send the emails that are already in the outbox. (Or more correctly, that it thinks are already in the outbox) Because the emails don't exist anymore, it can not get information about them, and shows the error message we see. Another clue is that when you select the emails in the outbox, the subject changes to "No subject" immediately. The solution is to delete the emails that have already been sent (Those that change subjects...) and then resend the email that failed. Of course, the real solution would be to regenerate the mailbox indices for some of the mailboxes when the program starts, but that is a bit outside what I have the time and resources to do ;) > From what I have found this happens when KMail crashes. The messages are no
> longer in the outbox, but the mailbox index say that they are. When you try to
> send a new email, KMail will also try to send the emails that are alreadyin the
> outbox. (Or more correctly, that it thinks are already in the outbox)
From what I have observed, you are totally right. It looks like index and outbox
are out of sync indeed. It happens after you have send some mails, and then
KMail crashes on closing it (although I can not say what triggers those crashes,
unfortunately)
Maybe it would be good if the indexes where rebuilt if they clearly do not match
with the corresponding mailbox?
As suggested above, maybe kmail should try to mail all (other) messages, even if
it can not send the previous ones because the sender is incorrect. It would be OK
if it still gives a popup that it 'can not send all messages, because some do not
specify a sender address', so the problem won't remain unnoticed by the user.
Subject: Re: sending emails fails because KMail doesn't find the sender address On Sunday 11 May 2003 15:00, W K Havinga wrote: > Maybe it would be good if the indexes where rebuilt if they clearly > do not match with the corresponding mailbox? Yes. We will fix this problem. > As suggested above, maybe kmail should try to mail all (other) > messages, even if it can not send the previous ones because the > sender is incorrect. This has been implemented for KDE 3.2. *** Bug 63475 has been marked as a duplicate of this bug. *** *** Bug 45746 has been marked as a duplicate of this bug. *** *** Bug 48544 has been marked as a duplicate of this bug. *** *** Bug 64172 has been marked as a duplicate of this bug. *** *** Bug 55838 has been marked as a duplicate of this bug. *** *** Bug 60858 has been marked as a duplicate of this bug. *** *** Bug 58965 has been marked as a duplicate of this bug. *** *** Bug 54834 has been marked as a duplicate of this bug. *** *** Bug 57149 has been marked as a duplicate of this bug. *** *** Bug 58369 has been marked as a duplicate of this bug. *** *** Bug 50218 has been marked as a duplicate of this bug. *** *** Bug 51525 has been marked as a duplicate of this bug. *** *** Bug 52129 has been marked as a duplicate of this bug. *** Subject: Re: "ghost messages" stay in outbox why do i keep getting this email in my inbox? owner@bugs.kde.org wrote: | ------- You are receiving this mail because: ------- You are on the | CC list for the bug, or are watching someone who is. | | http://bugs.kde.org/show_bug.cgi?id=43931 coolo@kde.org changed: | | What |Removed |Added | - ---------------------------------------------------------------------------- | CC| |daniel@herkes.org | | | | ------- Additional Comments From coolo@kde.org 2003-09-27 10:55 | ------- *** Bug 51525 has been marked as a duplicate of this bug. *** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/ddgWCum7FN3SOOURAghfAKCK+kFeff3/0rqvgG74HRyzuwgNogCgq/Gh T/HMpK/KncUBSarstr8EcrI= =Tlsk -----END PGP SIGNATURE----- Subject: Re: "ghost messages" stay in outbox
> Subject: Re: "ghost messages" stay in outbox
>
> why do i keep getting this email in my inbox?
>
Because someone is cleaning the KDE bug reports, when
a duplicate bug report is found it is merged with my original
report. Then the email address of the reporter is added
to the notification list.
So, every time the bug is updated an email like this is
sent out. And if you got the email you are on the notification
list as well, probably because you have filed a similar bug
report in the past.
I have been getting these emails for weeks now.
---
Erik H. Bakke
*** Bug 52102 has been marked as a duplicate of this bug. *** *** Bug 51448 has been marked as a duplicate of this bug. *** *** Bug 65243 has been marked as a duplicate of this bug. *** *** Bug 69409 has been marked as a duplicate of this bug. *** *** Bug 73773 has been marked as a duplicate of this bug. *** Kmail 1.6 KDE 3.2.0.RC1 SuSE 8.2 I still get some ghost message in Kmail outbox and it wont send any "non-ghost-messages". Yesterday I had 5 ghost mail of 8 mail.. CVS commit by tilladam: Nuke the index of the outbox on startup if the outbox folder is a maildir folder, to make ghost messages impossible, which result when KMail crashes after a message has entered and left a folder within five seconds, which pretty much only happens for the outbox, and the index is therefor less than 5 seconds out of date, which is the nfs tolerance. This is a nasty hack of a workaround, but it should fix the symptom. CCMAIL: 43931-done@bugs.kde.org M +8 -0 kmkernel.cpp 1.287 --- kdepim/kmail/kmkernel.cpp #1.286:1.287 @@ -837,4 +837,12 @@ void KMKernel::initFolders(KConfig* cfg) if ( the_outboxFolder->userWhoField().isEmpty() ) the_outboxFolder->setUserWhoField( QString::null ); + /* Nuke the oubox's index file, to make sure that no ghost messages are in + * it from a previous crash. Ghost messages happen in the outbox because it + * the only folder where messages enter and leave within 5 seconds, which is + * the leniency period for index invalidation. Since the number of mails in + * this folder is expected to be very small, we can live with regenerating + * the index on each start to be on the save side. */ + if ( the_outboxFolder->folderType() == KMFolderTypeMaildir ) + unlink( QFile::encodeName( the_outboxFolder->indexLocation() ) ); the_outboxFolder->open(); I've spotted this bug in KDE PIM 3.3.1. |