I have configured my Linux sendmail server to forward mail to an exchange server for only certain users.
I did this through the virtusertable via webmin. I also edited my host file on my linux box with the exchange server info and added another MX record in my DNS to point to my exchange server. So I have two MX records in my DNS one for sweye.com and one for exchange.mail.sweye.com. My sendmail server sits in the sweye.com domain and the exchange server sits in the exchange.mail.sweye.com domain.
When I send a test message to firstname.lastname@example.org I get no bounce back message with errors nor do I get the message on the exchange server. I look in the mail Q on my sendmail server and the message is stuck in there with a Deferred: Connection refused by exchange.mail.sweye.com.
Can any one help with this issue. I'm not sure if it is an exchange issue or a sendmail issue.
I can send a messages with no issues from my test exchange account to a test account on my sendmail box