troubleshooting postifx -> exchange connection issues

Posted by Systemspoet on Server Fault See other posts from Server Fault or by Systemspoet
Published on 2012-10-18T17:16:55Z Indexed on 2012/12/05 17:06 UTC
Read the original article Hit count: 186

Filed under:
|

I have three linux-based mail routers that run postfix and relay mail to our on-premise exchange server as well as to outlook.com, splitting the mail based on ldap atttributes. What I've observed sporadically since upgrading this spring from Exchange 2007 to 2010 is that all three of the mail relays will, for about 20 minutes, fail to connect to exchange.

Postfix logs it as "lost connection with exchange.contosso.edu" ; this problem almost always occurs to all three mail relays at the same time, and lasts for slightly under 20 minutes. If I can catch it while it's occuring, and I manually do "telnet exchange.contosso.edu 25" from one mail relay and force a message through (helo, mail from, rcpt to, data, etc), then it clears that relay up.

The exchange "server" is actually two machines with the HT role on them, load balanced via windows NLB.

I've worked pretty hard to figure out what's happening from the postfix side and I can't see any evidence of any misbehavior. My question is, how do I attack the problem from the exchange side? Is there a connection log, or a debug setting, or something I can do to log all of the inbound connections and tell me what's causing exchange to drop them?

© Server Fault or respective owner

Related posts about postfix

Related posts about exchange-2010