• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2410
  • Last Modified:

Exchange connection refused

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 administrator@sweye.com 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

Thanks
0
terryw-sec
Asked:
terryw-sec
  • 2
  • 2
1 Solution
 
esmith69Commented:
Have you looked at the SMTP logs on the Exchange server yet?
0
 
terryw-secAuthor Commented:
I have not. Would I do this in the event viewer on the exchange server? Sorry new to exchange.
0
 
esmith69Commented:
No, the SMTP logs are text files.  What version of Exchange is this?
0
 
terryw-secAuthor Commented:
Exchange 2007
0
 
tigermattCommented:

On an Exchange 2007 Server, you need to create a Receive Connector to allow inbound connections to transmit email to the server. By default, this is not present and inbound connections are rejected.

Have you created such a connector yet? http://technet.microsoft.com/en-us/library/aa996395.aspx

Also, remember that by using the same @domain.com domain on the Linux and Exchange Servers, careful planning needs to take place to ensure Exchange recipients can communicate with users on the Linux mail system: http://www.msexchange.org/articles_tutorials/exchange-server-2007/planning-architecture/exchange-2007-smtp-namespace-sharing-different-relay-domain-types.html.

-Matt
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now