Operating System - HP-UX
1827435 Members
4987 Online
109965 Solutions
New Discussion

Re: Sendmail to Exchange server

 
Jeff Paciolla
New Member

Sendmail to Exchange server

I have seen lots of answers on how to get sendmail to send to an Exchange server. I have added the host name to the sendmail.cf file and to my host file. I have stopped and stated sendmail numerous times.

When I test by typing
sendmail -v abc@hostname.com
test
.
I receive the following:
abc@hostname.com... Connecting to hostname via relay...
abc@hostname.com... Deferred: Connection refused by hostname

Any help in figuring out this error would be greatly appreiciated

Thanks
Jeff
5 REPLIES 5
Jeff Paciolla
New Member

Re: Sendmail to Exchange server

I have just learned that my exchange server is not runnimg SMTP. Does this need to be running for sendmail to be able to connect with the exchange server.

Thanks
Jeff
Dave Kelly_1
Respected Contributor

Re: Sendmail to Exchange server

Yes. You need to have the Internet Mail connector running on your Exchange server before sendmail can work with it.
David Rodman
Frequent Advisor

Re: Sendmail to Exchange server

When you get the internet mail connector going you will need to check the smtp adsresses are what you want.
The defaults are not always in the form you stated in the first message.
Jeff Paciolla
New Member

Re: Sendmail to Exchange server

Thanks for everybodys help. After pointing to an exchange server running SMTP everything worked fine.

Thanks again
Jeff
Bob Bell_1
Frequent Advisor

Re: Sendmail to Exchange server

I am not sure if by SMTP you are referring to the Exchange IMS Connector. Just remember that SMTP and the IMS on Exchange are two different animals accepting monitoroing the same TCP Port. You can cause yourself grief running Exchangewith IMS AND SMTP.. Just an FYI.
The man who never makes a mistake always takes orders from one who does.