Bug 77088 - cannot connect to localhost, hotsmtpd send fails
Summary: cannot connect to localhost, hotsmtpd send fails
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: sending (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-03-09 16:16 UTC by phoenixjim
Modified: 2009-11-09 20:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
saved file from ethereal capture of mozilla <-> hotsmtpd (18.37 KB, application/octet-stream)
2004-03-10 22:04 UTC, phoenixjim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phoenixjim 2004-03-09 16:16:38 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

I have hotwayd/hotsmtpd setup on my machine for accessing hotmail messages through a standard pop3 client (they are at version 0.8).

I have tested by first connecting via telnet to each port (110 and 25) at localhost (127.0.0.1) and when that succeeded I used mozilla mail to send and receive a short test message. Worked flawlessly.

Kmail receives fine using localhost and 110 with pop3, and sends fine using all external (to me) mail servers. Using localhost (or 127.0.0.1), however, fails with the following message:
Sending failed:
Connection to host 127.0.0.1 is broken
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used:
Phoenixjim@hotmail

In previous versions of kmail (3.1.3 specifically) it would send but would mess up the 'to' address by adding an extra '<' at the beginning, causing a failure message from hotmail, and bouncing the original.

Only hotsmtpd is reported as listening to this port (25) in netstat, and using a different port does not change the outcome.

I can repeatedly send using all these settings in mozilla mail, and messages go through as they should, but kmail can't access any port on localhost (or explicitly specified 127.0.0.1, or my router-assigned address) for smtp.

KDE 3.2.0 installed on Gentoo Linux.
Comment 1 Ingo Klöcker 2004-03-10 10:40:40 UTC
Please listen to the SMTP communication between KMail and hotsmtpd with a tool like ethereal.
Comment 2 phoenixjim 2004-03-10 17:32:11 UTC
I am inexperienced with such things as ethereal, however I have done as you ask. For security reasons, I have changed the password in kmail and mozilla to an invalid one - kmail never got far enough to complain while mozilla requested the correct password before I cancelled.

I started ethereal, started the capture on all devices, sent the email to myself, then ended capture.

Here is KMail's output in ethereal, as it would be printed to a text file:
Frame 1 (76 bytes on wire, 76 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.671782000
    Time delta from previous packet: 0.000000000 seconds
    Time since reference or first frame: 0.000000000 seconds
    Frame Number: 1
    Packet Length: 76 bytes
    Capture Length: 76 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 60
    Identification: 0x08b4 (2228)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x3406 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872949, Ack: 0, Len: 0
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872949
    Header length: 40 bytes
    Flags: 0x0002 (SYN)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...0 .... = Acknowledgment: Not set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..1. = Syn: Set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0xa708 (correct)
    Options: (20 bytes)
        Maximum segment size: 16396 bytes
        SACK permitted
        Time stamp: tsval 10630145, tsecr 0
        NOP
        Window scale: 0 (multiply by 1)

Frame 2 (76 bytes on wire, 76 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.671842000
    Time delta from previous packet: 0.000060000 seconds
    Time since reference or first frame: 0.000060000 seconds
    Frame Number: 2
    Packet Length: 76 bytes
    Capture Length: 76 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 60
    Identification: 0x0000 (0)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x3cba (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111432902, Ack: 4115872950, Len: 0
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111432902
    Acknowledgement number: 4115872950
    Header length: 40 bytes
    Flags: 0x0012 (SYN, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..1. = Syn: Set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x007e (correct)
    Options: (20 bytes)
        Maximum segment size: 16396 bytes
        SACK permitted
        Time stamp: tsval 10630145, tsecr 10630145
        NOP
        Window scale: 0 (multiply by 1)

Frame 3 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.671886000
    Time delta from previous packet: 0.000044000 seconds
    Time since reference or first frame: 0.000104000 seconds
    Frame Number: 3
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x08b5 (2229)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x340d (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872950, Ack: 4111432903, Len: 0
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872950
    Acknowledgement number: 4111432903
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x699b (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630145, tsecr 10630145

Frame 4 (145 bytes on wire, 145 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.719581000
    Time delta from previous packet: 0.047695000 seconds
    Time since reference or first frame: 0.047799000 seconds
    Frame Number: 4
    Packet Length: 145 bytes
    Capture Length: 145 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 129
    Identification: 0x48c6 (18630)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3ae (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111432903, Ack: 4115872950, Len: 77
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111432903
    Next sequence number: 4111432980
    Acknowledgement number: 4115872950
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0xfe75 (incorrect, should be 0xacc1)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630193, tsecr 10630145
Simple Mail Transfer Protocol
    Response: 220 FrankenPaq SMTP hotsmtpd v0.8. ESMTP-HTTPMail Gateway based on hotwayd.\r\n
        Response code: 220
        Response parameter: FrankenPaq SMTP hotsmtpd v0.8. ESMTP-HTTPMail Gateway based on hotwayd.

Frame 5 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.719643000
    Time delta from previous packet: 0.000062000 seconds
    Time since reference or first frame: 0.047861000 seconds
    Frame Number: 5
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x08b6 (2230)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x340c (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872950, Ack: 4111432980, Len: 0
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872950
    Acknowledgement number: 4111432980
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x68ee (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630193, tsecr 10630193

Frame 6 (84 bytes on wire, 84 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.757046000
    Time delta from previous packet: 0.037403000 seconds
    Time since reference or first frame: 0.085264000 seconds
    Frame Number: 6
    Packet Length: 84 bytes
    Capture Length: 84 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 68
    Identification: 0x08b7 (2231)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x33fb (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872950, Ack: 4111432980, Len: 16
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872950
    Next sequence number: 4115872966
    Acknowledgement number: 4111432980
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0xfe38 (incorrect, should be 0xfcef)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630230, tsecr 10630193
Simple Mail Transfer Protocol
    Command: EHLO localhost\r\n
        Command: EHLO
        Request parameter: localhost

Frame 7 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:51:59.907214000
    Time delta from previous packet: 0.150168000 seconds
    Time since reference or first frame: 0.235432000 seconds
    Frame Number: 7
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x48c7 (18631)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3fa (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111432980, Ack: 4115872966, Len: 0
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111432980
    Acknowledgement number: 4115872966
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x67fe (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630380, tsecr 10630230

Frame 8 (103 bytes on wire, 103 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.040837000
    Time delta from previous packet: 0.133623000 seconds
    Time since reference or first frame: 0.369055000 seconds
    Frame Number: 8
    Packet Length: 103 bytes
    Capture Length: 103 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 87
    Identification: 0x48c8 (18632)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3d6 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111432980, Ack: 4115872966, Len: 35
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111432980
    Next sequence number: 4111433015
    Acknowledgement number: 4115872966
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0xfe4b (incorrect, should be 0xf0ea)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630514, tsecr 10630230
Simple Mail Transfer Protocol
    Response: 250-localhost Pleased to meet you\r\n
        Response code: 250
        Response parameter: localhost Pleased to meet you

Frame 9 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.081134000
    Time delta from previous packet: 0.040297000 seconds
    Time since reference or first frame: 0.409352000 seconds
    Frame Number: 9
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x08b8 (2232)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x340a (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872966, Ack: 4111433015, Len: 0
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872966
    Acknowledgement number: 4111433015
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x6611 (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630554, tsecr 10630514

Frame 10 (126 bytes on wire, 126 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.081199000
    Time delta from previous packet: 0.000065000 seconds
    Time since reference or first frame: 0.409417000 seconds
    Frame Number: 10
    Packet Length: 126 bytes
    Capture Length: 126 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 110
    Identification: 0x48c9 (18633)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3be (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111433015, Ack: 4115872966, Len: 58
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111433015
    Next sequence number: 4111433073
    Acknowledgement number: 4115872966
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0xfe62 (incorrect, should be 0xd58b)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630554, tsecr 10630554
Simple Mail Transfer Protocol
    Response: 250-AUTH LOGIN PLAIN\r\n
        Response code: 250
        Response parameter: AUTH LOGIN PLAIN
    Response: 250-AUTH=LOGIN PLAIN\r\n
        Response code: 250
        Response parameter: AUTH=LOGIN PLAIN
    Response: 250 8BITMIME\r\n
        Response code: 250
        Response parameter: 8BITMIME

Frame 11 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.081232000
    Time delta from previous packet: 0.000033000 seconds
    Time since reference or first frame: 0.409450000 seconds
    Frame Number: 11
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x08b9 (2233)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x3409 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872966, Ack: 4111433073, Len: 0
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872966
    Acknowledgement number: 4111433073
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x65af (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630554, tsecr 10630554

Frame 12 (80 bytes on wire, 80 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.081846000
    Time delta from previous packet: 0.000614000 seconds
    Time since reference or first frame: 0.410064000 seconds
    Frame Number: 12
    Packet Length: 80 bytes
    Capture Length: 80 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 64
    Identification: 0x08ba (2234)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x33fc (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872966, Ack: 4111433073, Len: 12
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872966
    Next sequence number: 4115872978
    Acknowledgement number: 4111433073
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0xfe34 (incorrect, should be 0x0d13)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630555, tsecr 10630554
Simple Mail Transfer Protocol
    Command: AUTH PLAIN\r\n
        Command: AUTH
        Request parameter: PLAIN

Frame 13 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.081904000
    Time delta from previous packet: 0.000058000 seconds
    Time since reference or first frame: 0.410122000 seconds
    Frame Number: 13
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x48ca (18634)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3f7 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111433073, Ack: 4115872978, Len: 0
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111433073
    Acknowledgement number: 4115872978
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x65a1 (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630555, tsecr 10630555

Frame 14 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.433680000
    Time delta from previous packet: 0.351776000 seconds
    Time since reference or first frame: 0.761898000 seconds
    Frame Number: 14
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x48cb (18635)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3f6 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111433073, Ack: 4115872978, Len: 0
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111433073
    Acknowledgement number: 4115872978
    Header length: 32 bytes
    Flags: 0x0011 (FIN, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...1 = Fin: Set
    Window size: 32767
    Checksum: 0x6440 (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630907, tsecr 10630555

Frame 15 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.434133000
    Time delta from previous packet: 0.000453000 seconds
    Time since reference or first frame: 0.762351000 seconds
    Frame Number: 15
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x08bb (2235)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0x3407 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 33247 (33247), Dst Port: smtp (25), Seq: 4115872978, Ack: 4111433074, Len: 0
    Source port: 33247 (33247)
    Destination port: smtp (25)
    Sequence number: 4115872978
    Acknowledgement number: 4111433074
    Header length: 32 bytes
    Flags: 0x0011 (FIN, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...1 = Fin: Set
    Window size: 32767
    Checksum: 0x62df (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630907, tsecr 10630907

Frame 16 (68 bytes on wire, 68 bytes captured)
    Arrival Time: Mar 10, 2004 10:52:00.434171000
    Time delta from previous packet: 0.000038000 seconds
    Time since reference or first frame: 0.762389000 seconds
    Frame Number: 16
    Packet Length: 68 bytes
    Capture Length: 68 bytes
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 772
    Link-layer address length: 0
    Source: <MISSING>
    Protocol: IP (0x0800)
Internet Protocol, Src Addr: 127.0.0.1 (127.0.0.1), Dst Addr: 127.0.0.1 (127.0.0.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 52
    Identification: 0x48cc (18636)
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xf3f5 (correct)
    Source: 127.0.0.1 (127.0.0.1)
    Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: smtp (25), Dst Port: 33247 (33247), Seq: 4111433074, Ack: 4115872979, Len: 0
    Source port: smtp (25)
    Destination port: 33247 (33247)
    Sequence number: 4111433074
    Acknowledgement number: 4115872979
    Header length: 32 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32767
    Checksum: 0x62df (correct)
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 10630907, tsecr 10630907
Comment 3 Ingo Klöcker 2004-03-10 18:28:55 UTC
Apparently hotsmtpd didn't respond to KMail's "AUTH PLAIN" command. That's a bug in hotsmtpd.

Anyway, do you really need to authenticate to hotsmtpd? Try if disabling "Server requires authentication" in the settings of the SMTP server helps.

If this doesn't help then an ethereal log of the communication of Mozilla with hotsmtpd would be nice. Please attach the log to the bug report instead of pasting it.
Comment 4 phoenixjim 2004-03-10 22:04:39 UTC
Created attachment 5134 [details]
saved file from ethereal capture of mozilla <-> hotsmtpd

I used wrong password deliberately, but as you can see hotsmtpd received
requests properly. Authentication (plain) is required, and only seems to fail
with kmail 3.2.0. Authentication in 3.1.3 worked, but produced flawed "to"
header instead. Authentication by kmail 3.2.0 to non-localhost servers works as
expected.
Comment 5 kingjoe 2004-04-19 22:51:24 UTC
I am also encountering this bug using the latest hotsmtpd release (.8-1) as of 4/20/04 and running Mandrake 10 Community (kmail 1.6.1).  My instincts are telling me phoenixjim is probably right and the bug is in kmail.  A shame really as kde and it apps are peerless in my humble opinion.
Comment 6 Christopher Cimiluca 2004-04-25 23:15:33 UTC
I am using kmail 3.2.2 and the problem still exists.  MozillaThunderbird works fine (though I greatly prefer kMail).  I suspect that kMail is doin't something very slightly strange and hotsmtpd closes the connection as a result.
Comment 7 Eric T. Schaffner 2004-05-28 23:41:07 UTC
This definitely looks like a KMail bug.  Here's more info from the hotwayd forum:

--begin--
By: Practically Punctual - h82bl8
Kmail and Hotsmtpd - the problem = <  
2004-05-22 08:04
When testing hotsmtpd hotmail returns Delivery Status Notification (Failure). In the message it shows the attempted address. The attempted address seems to have too many enclosing angle brackets. The message says:

"This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

<<receiver@example.com>";

Though the original message that is printed below this does not have the extra bracket:

"From: A Sender <sender@hotmail.com>
To: <receiver@example.com>
Subject: ..."

Thoughts?
--end--
Comment 8 Christopher Cimiluca 2004-06-03 05:45:16 UTC
I am using kmail 1.6.2 (not 3.2.2 of course)  the following link to the hotwayd forms details the problem: http://sourceforge.net/forum/forum.php?thread_id=1031389&forum_id=80217  It looks like the problem is with all mail to localhost, not just hotwaysmtp.  So this bug could potentially affect more than the mere hundreds of people who use hotsmtp.
Comment 9 Rich Gilson 2004-07-10 13:39:14 UTC
I'm having this problem too.  I'm running Kmail 3.2.1 on Suse 9.1.  Kmail fails to send out email destined for Hotmail; however, Evolution works perfectly.  I don't really care for Evolution myself (too much like a M$ product I've worked with) and would much rather use Kmail, but I need this functionality.

I'm getting the same outcome that is detailed in the original bug report here.
Comment 10 Michael Leupold 2008-11-09 23:01:13 UTC
The release note of the latest hotsmtpd indicates the problems with kmail had been fixed. Unfortunately it's not possible to test this any longer as hotmail doesn't offer free accounts syncable with hotwayd/hotsmtpd any longer. Did this problem go away with the latest release of hotsmtpd somewhen back in 2005?
Comment 11 Christophe Marin 2009-08-23 22:32:59 UTC
No feedback since November, Changing the bug status.
Comment 12 Torgny Nyblom 2009-11-09 20:45:39 UTC
No real feedback since mid 2004, closing.