Bug 48544

Summary: kmail does not send recipient (rcpt) command
Product: [Applications] kmail Reporter: mhirsch
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ronny-kdebugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description mhirsch 2002-10-01 15:22:29 UTC
Version:            (using KDE KDE 3.0.3)
Installed from:    Unlisted Binary Package

This is probably the same as bug 16738, but since that bug is closed and still not fixed I am filing this bug report.

KMail suddenly stopped working.  The symptom was that the MSexchange server complains that it is not sending the "Rcpt" command--i.e. it isn't specifying the recipient of the mail.

Unfortunately, I lost my log, but I looked at the protocol exchange with tcpdump and kmail went directly from "FROM" to "DATA" without a "RCPT" command.

I just solved the problem by cleaning out my Outbox, which was filled with empty messages (about 20).  Clearly something had gotten corrupted in it that was causing kmail to skip sending the rcpt.

Now that I think of it, the Outbox had messages in it, but whenever I clicked on one it would go blank.  Maybe somehow kmail would try to send it and, since the destination is blank, it would skip the RCPT command.

So I found a workaround, but there is still a bug somewhere.  First, why did my Outbox fill with messages, and second, why did kmail start skippin the RCPT command?  

It may be important that I was using smtp protocol to send to an MSexchange server.
Comment 1 Ronny Buchmann 2003-06-05 14:23:24 UTC
I have the same problem with KDE-3.1.2

in kmail my outbox showed 6 messages, in the maildir only 2 were actually existing
after deleting the 4 empty messages everything worked fine again

the server used was also ms exchange
Comment 2 Ronny Buchmann 2003-06-06 13:14:59 UTC
the empty message in outbox gets created when kmail gets killed (or crashes)
while writing a new message

steps to reproduce:
 * open kmail
 * new messages
 * killall -9 kmail
 * start kmail again, a message should be in outbox
 * try to send a message, this is likely going to fail with the missing rcpt command

Comment 3 Stephan Kulow 2003-09-21 14:45:18 UTC

*** This bug has been marked as a duplicate of 43931 ***