Hi there,

we're experiencing VERY strange problems with our QMail installation.

I've set up QMail as stated in the "Life with QMail" document and everything
works fine. The POP3 server is started over inetd, because its a very low
traffic server:

pop3    stream  tcp     nowait  root    /var/qmail/bin/qmail-popup
qmail-popup my-server.com /bin/checkpasswordnt /var/qmail/bin/qmail-pop3d
Maildir

When clients connect they can retrieve all eMails. But if one of them is
larger and the connection lasts longer than 60 seconds, QMail seems to
suddenly reset the connection! This is a reproducable behaviour.

Outlook Express gives me following error message: "Your server has
unexpectedly terminated the connection. Possible causes for this include
server problems, network problems, or a long period of inactivity."

- it's the same with different internet providers
- it's the same thing when using Outlook Express and Netscape Messenger as
mail clients
- the problem is the same when using tcpserver
- the problem is not the type or the size of the mail, only connection time
- these mail clients retrieve big mails from other (public) mail servers
without any problems!

These are the last lines of a connection trace with tcpdump:

10:24:11.970250 server.pop3 > client.1045: . 230481:231017(536) ack 0 win
32696 (DF)
10:24:11.970271 server.pop3 > client.1045: P 231017:231553(536) ack 0 win
32696 (DF)
10:24:12.111078 client.1045 > server.pop3: . 0:0(0) ack 230481 win 2144 (DF)
10:24:12.111138 server.pop3 > client.1045: FP 231553:232073(520) ack 0 win
32696 (DF)
10:24:12.242815 client.1045 > server.pop3: . 0:0(0) ack 231553 win 2144 (DF)
10:24:12.327520 client.1045 > server.pop3: . 0:0(0) ack 232074 win 1624 (DF)
10:24:12.334402 client.1045 > server.pop3: F 0:0(0) ack 232074 win 1624 (DF)
10:24:12.334452 server.pop3 > client.1045: . 232074:232074(0) ack 1 win
32696 (DF)

As you can see the server is pushing a FIN request to the client, not
otherwise!


I have to bring this to work asap, otherwise the users kill me :-)

Thx A LOT for your help, I really hope someone of you has the solution.
Jens


Reply via email to