Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 1999 09:06:43 +0100
From:      Matthias Apitz <guru@Sisis.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   sendmail and MSOE clients
Message-ID:  <19990203090643.12564@sisis.de>

next in thread | raw e-mail | index | archive | help


Our central SMPT / POP3 server in our company is running
FreeBSD 2.2.7-RELEASE and sendmail(8). We installed on some
Win95 boxes a new MSOE version (don't blame me for that :-)).
Now the clients can't deliver mail using "SMTP" (in real they're not
using SMTP but ESMTP). I checked it with tcpdump(8) and all is
fine with the connection until the client says "EHLO....":

17:49:36.535244 10.0.1.15.1118 > 193.31.10.38.25: P 1:19(18) ack 87 win 8674 (DF)
			 4500 003a ed3a 4000 1e06 992f 0a00 010f
			 c11f 0a26 045e 0019 00e5 455c f489 274f
			 5018 21e2 604e 0000 4548 4c4f 206e 732e
			 7369 7369 732e 6465 0d0a

The sendmail(8) sends back the greeting and the parameters

250-hermes.sisis.de Hello ......, pleased to meet you
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 1000000
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP

but sends them in *two* IP packages, here is the 1st one:

17:49:36.537738 193.31.10.38.25 > 10.0.1.15.1118: P 87:187(100) ack 19 win 17520 (DF)
			 4500 008c 1d4c 4000 4006 46cc c11f 0a26
			 0a00 010f 0019 045e f489 274f 00e5 456e
			 5018 4470 e664 0000 3235 302d 6865 726d
			 6573 2e73 6973 6973 2e64 6520 4865 6c6c
			 6f20 646b 7261 7573 732e 5369 7369 732e
			 6465 205b 3130 2e30 2e31 2e31 355d 2c20
			 706c 6561 7365 6420 746f 206d 6565 7420
			 796f 750d 0a32 3530 2d45 5850 4e0d 0a32
			 3530 2d56 4552 420d 0a32 3530

The client does not await the final "250 ..." messages but
proceeds  with its "MAIL From:..." protocol:

17:49:36.620115 10.0.1.15.1118 > 193.31.10.38.25: P 19:58(39) ack 187 win 8574 (DF)
			 4500 004f ee3a 4000 1e06 981a 0a00 010f
			 c11f 0a26 045e 0019 00e5 456e f489 27b3
			 5018 217e 9995 0000 4d41 494c 2046 524f
			 4d3a 203c 646f 726f 7468 6561 2e6b 7261
			 7573 7340 7369 7369 732e 6465 3e0d 0a

here is the bottom half of the server greeting/parameters in a 2nd pkg:

17:49:36.620705 193.31.10.38.25 > 10.0.1.15.1118: P 187:265(78) ack 58 win 17481 (DF)
			 4500 0076 1d4d 4000 4006 46e1 c11f 0a26
			 0a00 010f 0019 045e f489 27b3 00e5 4595
			 5018 4449 2792 0000 2d38 4249 544d 494d
			 450d 0a32 3530 2d53 495a 4520 3130 3030
			 3030 300d 0a32 3530 2d44 534e 0d0a 3235
			 302d 4f4e 4558 0d0a 3235 302d 4554 524e
			 0d0a 3235 302d 5855 5352 0d0a 3235 3020
			 4845 4c50 0d0a

the client gets confused and stuck and FINISH's the IP exchange:

17:49:36.659147 10.0.1.15.1118 > 193.31.10.38.25: F 58:58(0) ack 265 win 8496 (DF)
			 4500 0028 ef3a 4000 1e06 9741 0a00 010f
			 c11f 0a26 045e 0019 00e5 4595 f489 2801
			 5011 2130 50d3 0000 1d00 0003 0140

I think the client is simply buggy (as usual with these nice and
flashy tools of M$) but is there a way to:

- bring sendmail's answer to the EHLO into *one* IP pkg?
- set the MSOE to use SMTP and not ESMTP (I know that's the wrong
  forum to ask :-) but may be some one had the same prob already);

	matthias
-- 
firm: matthias.apitz@sisis.de [voc:+49 89 61308 351, fax: +49 89 61308 188]
priv: guru@thias.muc.de
 WWW: http://www.sisis.de/~guru/

Give me UNIX or give me a typewriter.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990203090643.12564>