[tpop3d-discuss] tpop3d 1.5.1pre2 (with TLS support)

Angel Marin anmar at gmx.net
Tue, 12 Nov 2002 18:38:44 +0100


I have a client giving failures for the same message retrieval. The same
error with TLS enabled and non TLS (instead of ioabs_tcp_.. ioabs_tls_..
reports the reset). Anyway I only have debug info of the non TLS one.

Ok here you are (last CVS version):

[...]
Nov 12 18:27:26 falcone tpop3d[14587]: maildir_send_message: sending message
111 (new/1037119177) size 1841 bytes
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x40013000, 57)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x4001303a, 82)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x4001308d, 61)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400130cb, 64)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x4001310c, 98)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x4001316f, 43)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x4001319b, 66)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400131de, 29)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400131fc, 55)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x40013234, 67)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x40013278, 17)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x4001328a, 44)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400132b7, 31)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400132d8, 22)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400132ef, 0)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x400132f0, 47)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052b00, 2)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x40013320, 53)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write: client
[5]user@foo(x.x.x.x): write: Connection reset by peer; closing connection
Nov 12 18:27:26 falcone tpop3d[14587]: connection_sendmessage: send failure
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write(0x80584d0,
0x8052af0, 5)
Nov 12 18:27:26 falcone tpop3d[14587]: ioabs_tcp_immediate_write: client
[5]user@foo(x.x.x.x): write: Bad file descriptor; closing connection
Nov 12 18:27:26 falcone tpop3d[14587]: connections_post_select: client
[5]user@foo(x.x.x.x): finished session for `user@foo' with flatfile
Nov 12 18:27:26 falcone tpop3d[14587]: connections_post_select: client
[5]user@foo(x.x.x.x): disconnected; 67/5195 bytes read/written
[...]

> -----Mensaje original-----
> On Tue, Nov 12, 2002 at 05:26:25PM +0100, Angel Marin wrote:
> >
> > The following is with a copy prior to that fix, but is with a non TLS
> > config:
> >
>     [...]
> > Nov 12 14:00:21 falcone tpop3d[7407]: ioabs_tcp_immediate_write: client
> > [5]user@foo(x.x.x.x): write: Connection reset by peer; closing
> connection
>     [...]
> >
> > The only mail client with this patern is MS outlook 2000 :? And
> it does not
> > matter the size of the mail.
>
> How bizarre. Can you try with the fix? Could you also add
>
>     log_print(LOG_ERR, "ioabs_tcp_immediate_write(%p, %p, %d)",
> c, buf, (int)count);
>
> at the top of ioabs_tcp_immediate_write -- this will
> produce a great deal of log output -- and tell me what it
> says immediately before the `connection reset by peer'
> error?
>
> I don't think I have a machine with Outlook 2000 on it. I
> guess I'll have to find one....
>