Charles Gregory wrote:
On Tue, 4 May 2010, Nataraj wrote:
Enclosed is a tcpdump of a telnet connection where nothing was typed,
i.e. I telnetted to the smtp server and 5 seconds later the server
closed the connection.
THIS IS NORMAL. As I said previously, type the MAIL FROM, RCPT TO, and
DATA commands, send a couple of ilnes, THEN wait and time the timeout.
How about those logs showing a complete mail 'life cycle'?
- C
I have attached tcpdump-with-commands.txt where I pasted with the mouse
helo mymail.com
mail from:<m...@mymail.com>
I then waited and it still timed out in 5 seconds.
I think the timeout should be whatever the smtpd_timout parameter is set
to (300s in my case), unless the stress code is enabled and operating,
in which case it should be set to the stress config timeout parameter).
5 seconds is not a normal timeout for my configuration. I am enclosing
a tcpdump of a telnet session to the mail server which serves this
mailing list (I hope it's not considered abusive to use it as a
reference:-)), which times out after 21 seconds (probably because it is
configured that way). 5 seconds is just too short, and it should change
based on my configuration, which it is not doing.
As I've mentioned, I can't type fast enough to my server to prevent
timeouts, but if I reenable pipelining, I can paste smtp commands and
submit messages, only if I paste them all at once (and pipelining is
enabled).
Also, please don't loose sight of the fact that all of my timeouts are
screwed up, i.e. inbound smtp, outbound smtp as well as transport and
policy. Maybe this is not a postfix problem, or postfix is having some
strange interaction with something going on in the OS (or a vmware
clocking problem or something).
Nataraj
12:29:26.066127 IP 173-16-199-243.client.mchsi.com.60783 >
russian-caravan.cloud9.net.smtp: S 1292340171:1292340171(0) win 5840 <mss
1460,sackOK,timestamp 23639891 0,nop,wscale 6>
12:29:26.151117 IP russian-caravan.cloud9.net.smtp >
173-16-199-243.client.mchsi.com.60783: S 3576036070:3576036070(0) ack
1292340172 win 65535 <mss 1460,nop,wscale 3,sackOK,timestamp 3701091838
23639891>
12:29:26.151070 IP 173-16-199-243.client.mchsi.com.60783 >
russian-caravan.cloud9.net.smtp: . ack 1 win 92 <nop,nop,timestamp 23639976
3701091838>
12:29:26.309925 IP russian-caravan.cloud9.net.smtp >
173-16-199-243.client.mchsi.com.60783: P 1:47(46) ack 1 win 8326
<nop,nop,timestamp 3701091993 23639976>
12:29:26.309868 IP 173-16-199-243.client.mchsi.com.60783 >
russian-caravan.cloud9.net.smtp: . ack 47 win 92 <nop,nop,timestamp 23640135
3701091993>
12:29:47.022834 IP russian-caravan.cloud9.net.smtp >
173-16-199-243.client.mchsi.com.60783: P 47:109(62) ack 1 win 8326
<nop,nop,timestamp 3701111994 23640135>
12:29:47.022662 IP 173-16-199-243.client.mchsi.com.60783 >
russian-caravan.cloud9.net.smtp: . ack 109 win 92 <nop,nop,timestamp 23660848
3701111994>
12:29:47.022857 IP russian-caravan.cloud9.net.smtp >
173-16-199-243.client.mchsi.com.60783: F 109:109(0) ack 1 win 8326
<nop,nop,timestamp 3701111994 23640135>
12:29:47.023074 IP 173-16-199-243.client.mchsi.com.60783 >
russian-caravan.cloud9.net.smtp: F 1:1(0) ack 110 win 92 <nop,nop,timestamp
23660848 3701111994>
12:29:47.109467 IP russian-caravan.cloud9.net.smtp >
173-16-199-243.client.mchsi.com.60783: . ack 2 win 8325 <nop,nop,timestamp
3701112077 23660848>
12:41:43.075178 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: S
4275458803:4275458803(0) win 5840 <mss 1460,sackOK,timestamp 24376900
0,nop,wscale 6>
12:41:43.132516 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: S
3873633767:3873633767(0) ack 4275458804 win 5792 <mss 1460,sackOK,timestamp
1038154765 24376900,nop,wscale 6>
12:41:43.132459 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: . ack
1 win 92 <nop,nop,timestamp 24376958 1038154765>
12:41:43.234825 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: P
1:38(37) ack 1 win 91 <nop,nop,timestamp 1038159531 24376958>
12:41:43.234838 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: . ack
38 win 92 <nop,nop,timestamp 24377060 1038159531>
12:41:43.793026 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: P
1:15(14) ack 38 win 92 <nop,nop,timestamp 24377618 1038159531>
12:41:43.850611 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: . ack
15 win 91 <nop,nop,timestamp 1038196709 24377618>
12:41:43.850503 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: P
15:44(29) ack 38 win 92 <nop,nop,timestamp 24377676 1038196709>
12:41:43.850636 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: P
38:57(19) ack 15 win 91 <nop,nop,timestamp 1038196711 24377618>
12:41:43.850547 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: . ack
57 win 92 <nop,nop,timestamp 24377676 1038196711>
12:41:43.908466 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: P
57:71(14) ack 44 win 91 <nop,nop,timestamp 1038200798 24377676>
12:41:43.908326 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: . ack
71 win 92 <nop,nop,timestamp 24377733 1038200798>
12:41:48.796465 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: P
71:120(49) ack 44 win 91 <nop,nop,timestamp 1038500835 24377733>
12:41:48.796479 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: . ack
120 win 92 <nop,nop,timestamp 24382622 1038500835>
12:41:48.796544 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: F
120:120(0) ack 44 win 91 <nop,nop,timestamp 1038500836 24377733>
12:41:48.796886 IP 173-16-66-55.client.myisp.com.39370 > mymail.com.smtp: F
44:44(0) ack 121 win 92 <nop,nop,timestamp 24382622 1038500836>
12:41:48.854679 IP mymail.com.smtp > 173-16-66-55.client.myisp.com.39370: . ack
45 win 91 <nop,nop,timestamp 1038505440 24382622>