I'm getting the message: "500 5.3.3 Unrecognized command" from Exchange server and seeing in the Exchange Server logs that it's tarpitting my smtp sender despite the fact that:
I added a Receive Connector for my ip that allows connection, uses "Externally Secure"
I ran the commands (with the actual server name):
CODE:
Set-ReceiveConnector "MyTrusted connector (Servername)" -MaxAcknowledgementDelay 0
Set-ReceiveConnector "MyTrusted connector (Servername)" -TarpitInterval 0
Despite all that, it STILL fails! Any idea what's wrong?
It's not following RFCs for protocol negotiation at a guess. Perhaps it's attempting to use ESMTP commands without using EHLO or something.
One of the better ways to figure out what it is trying to do is to turn on protocol-level logging for the connector that's generating the 500 error. Then retry the connection, and if it throws the error, dig into the log-files (or post 'em here) to see what its trying to do. Because whatever it is doing, Exchange doesn't like it and that means your server is behaving enough out of the normal behavior of mail-servers to be very special.
You can turn on protocol-level logging:
By default it'll drop the files into
C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive
(or whichever drive you installed Exchange on). It will give you the full SMTP conversation it's trying, and your fault should be pretty obvious in there (or will to us).