
Re: messages not arriving when users reply, strange smtp log, E2k3
Jason,
I spend sevreal hour try to fix the same problem you are having. The problem is "BDAT" is getting dropped because the server you are trying to send to does not accept BDAT.
Go to internet Mail connector - advanced tab and click on send HELO instead of HELO. This will fix your problem.
Good luck.
Thx
"Real answer from real experiance"
Quote=" Note: Because the receiver-SMTP does not acknowledge the BDAT command before the message data is sent, it is important to send the BDAT only to systems that have declared their capability to accept BDAT commands. Illegally sending a BDAT command and associated message data to a non-CHUNKING capable system will result in the receiver-SMTP parsing the associated message data as if it were a potentially very long, ESMTP command line containing binary data"
Quote:
Originally posted by Jason
I've got a client having some really strange problems with mail not
getting out.
It's a new installation of sbs2k3, dns is configured properly.
When they try to send outside their domain, the mail arrives as
expected. If the recipient replies back and the original sender
replies in turn, the message will not arrive.
I have also noticed that randomly, when the recipient domain has a 2nd
MX listed, it will choose that one instead of the primary.
Here are some samples from the logs during one of these back and forth
sessions:
This is when the problem domain sends out a message to another domain-
TGI:
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:38
-0500] "- -?220 mail.domain2.com Microsoft ESMTP MAIL Service,
Version: 5.0.2195.6713 ready at Thu, 16 Sep 2004 16:49:00 -0400 SMTP"
0 115
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:38 -0500]
"EHLO -?mail2.domain1.com SMTP" 0 4
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:38
-0500] "- -?250-mail.domain2.com Hello [xx.12.181.44] SMTP" 0 40
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"MAIL -?FROM:<chris@domain1.com> SMTP" 0 4
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:39
-0500] "- -?250 2.1.0 chris@domain1.com....Sender OK SMTP" 0 49
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"RCPT -?TO:<jason@domain2.com> SMTP" 0 4
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:39
-0500] "- -?250 2.1.5 jason@domain2.com SMTP" 0 30
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"XEXCH50 -?2336 2 SMTP" 0 7
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:39
-0500] "- -?504 Need to authenticate first SMTP" 0 30
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"BDAT -?4442 LAST SMTP" 0 4
This is what the recipient domain gets in their logs for the above
message:
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:46:20 -0500] "EHLO
-?+mail2.domain1.com SMTP" 250 317
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:46:20 -0500] "MAIL
-?+FROM:<chris@domain1.com> SMTP" 250 51
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:46:21 -0500] "RCPT
-?+TO:<jason@domain2.com> SMTP" 250 32
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:46:21 -0500] "xexch50
-?+1872+2 SMTP" 504 32
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:46:21 -0500] "BDAT
-?+<357A8981B09F8041954BDA3381A08CAA013F4D@thomas-w03sbs.domain1.local>
SMTP" 250 110
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:46:21 -0500] "QUIT
-?mail2.domain1.com SMTP" 240 64
Next, when the recipient replies, this is what we get:
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:44 -0500]
"- -?220+mail2.domain1.com+Microsoft+ESMTP+MAIL+Servic e,+Version:+6.0.3790.0+ready+at++Thu,+16+Sep+2004+ 16:48:22+-0400+
SMTP" 0 123
xx.12.181.44 - OutboundConnectionCommand [16/Sep/2004:16:47:44 -0500]
"EHLO -?mail.domain2.com SMTP" 0 4
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:44 -0500]
"- -?250-mail2.domain1.com+Hello+[xxx.79.108.58] SMTP" 0 52
xx.12.181.44 - OutboundConnectionCommand [16/Sep/2004:16:47:45 -0500]
"MAIL -?FROM:<jason@domain2.com> SMTP" 0 4
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:45 -0500]
"- -?250+2.1.0+jason@domain2.com....Sender+OK SMTP" 0 42
xx.12.181.44 - OutboundConnectionCommand [16/Sep/2004:16:47:45 -0500]
"RCPT -?TO:<chris@domain1.com> SMTP" 0 4
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:45 -0500]
"- -?250+2.1.5+chris@domain1.com+ SMTP" 0 37
xx.12.181.44 - OutboundConnectionCommand [16/Sep/2004:16:47:45 -0500]
"XEXCH50 -?2096+2 SMTP" 0 7
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:45 -0500]
"- -?504+Need+to+authenticate+first SMTP" 0 30
xx.12.181.44 - OutboundConnectionCommand [16/Sep/2004:16:47:45 -0500]
"BDAT -?3927+LAST SMTP" 0 4
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:45 -0500]
"- -?250+2.6.0++<B51CCB5E8BC3A84D9FA66F52F9F42E238C2C3 9@exchange.domain2.local>+Queued+mail+for+delivery
SMTP" 0 104
xx.12.181.44 - OutboundConnectionCommand [16/Sep/2004:16:47:45 -0500]
"QUIT - SMTP" 0 4
xx.12.181.44 - OutboundConnectionResponse [16/Sep/2004:16:47:45 -0500]
"- -?221+2.0.0+mail2.domain1.com+Service+closing+trans mission+channel
SMTP" 0 73
And when the problem domain receives it back, here is the log entry:
xxx.79.108.58 - mail.domain2.com [16/Sep/2004:16:53:31 -0500] "EHLO -?
mail.domain2.com SMTP" 250 319
xxx.79.108.58 - mail.domain2.com [16/Sep/2004:16:53:32 -0500] "MAIL -?
FROM:<cboatwright@domain2.com> SMTP" 250 47
xxx.79.108.58 - mail.domain2.com [16/Sep/2004:16:53:32 -0500] "RCPT -?
TO:<chris@domain1.com> SMTP" 250 39
xxx.79.108.58 - mail.domain2.com [16/Sep/2004:16:53:32 -0500] "xexch50
-? 2036 2 SMTP" 504 32
xxx.79.108.58 - mail.domain2.com [16/Sep/2004:16:53:32 -0500] "BDAT -?
<B51CCB5E8BC3A84D9FA66F52F9F42E235564DA@exchange.d omain2.local> SMTP"
250 106
xxx.79.108.58 - mail.domain2.com [16/Sep/2004:16:53:32 -0500] "QUIT
-?mail.domain2.com SMTP" 240 75
And here the problem domain attempts to reply back to the last
message:
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:38
-0500] "- -?220 mail.domain2.com Microsoft ESMTP MAIL Service,
Version: 5.0.2195.6713 ready at Thu, 16 Sep 2004 16:49:00 -0400 SMTP"
0 115
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:38 -0500]
"EHLO -?mail2.domain1.com SMTP" 0 4
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:38
-0500] "- -?250-mail.domain2.com Hello [xx.12.181.44] SMTP" 0 40
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"MAIL -?FROM:<chris@domain1.com> SMTP" 0 4
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:39
-0500] "- -?250 2.1.0 chris@domain1.com....Sender OK SMTP" 0 49
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"RCPT -?TO:<jason@domain2.com> SMTP" 0 4
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:39
-0500] "- -?250 2.1.5 jason@domain2.com SMTP" 0 30
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"XEXCH50 -?2336 2 SMTP" 0 7
xxx.79.108.58 - OutboundConnectionResponse [16/Sep/2004:16:49:39
-0500] "- -?504 Need to authenticate first SMTP" 0 30
xxx.79.108.58 - OutboundConnectionCommand [16/Sep/2004:16:49:39 -0500]
"BDAT -?4442 LAST SMTP" 0 4
And on the recipient side:
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:49:00 -0500] "EHLO
-?+mail2.domain1.com SMTP" 250 317
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:49:00 -0500] "MAIL
-?+FROM:<chris@domain1.com> SMTP" 250 51
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:49:00 -0500] "RCPT
-?+TO:<jason@domain2.com> SMTP" 250 32
xx.12.181.44 - mail2.domain1.com [16/Sep/2004:16:49:00 -0500] "xexch50
-?+2336+2 SMTP" 504 32
I have access to several more exchange servers that showed the same
results. Occasinally they would also get a response similar to the
last log entry I pasted when the problem domain sent the initial
email, but that was rare in comparison.
Can anyone decipher what's going on here? Any help or direction would
be appreciated. Thanks!
|