Sendmail and Exchange

I am trying to configure sendmail to forward to exchange. I have Exchange inside the firewall and sendmail outside the firewall. The exchange server is already in the DNS. Please let me know how I should configure sendmail the best way possible while being security conscience. Thanks
Who is Participating?
tel2Connect With a Mentor Commented:
Try this ruiz,

I'm not sure how to get "Exchange to sendmail" working, but this might work for "sendmail to Exchange" working:

Edit the /etc/ file (eg: with vi), and if you find a line which contains just the word:
Change it to:
  DR123.456.789.012   (or whatever you firewall IP address is, or FAILING THAT, try your Exchange server's IP address)

If not, look for:
and change it to:

If not, I give up.  But if one of the above was found and replaced:

Then from the UNIX prompt, activate your change with:
  refresh -s sendmail
and hopefully you will be able to Email Exchange and the Internet if you're set up.  Your messages to Exchange will probably have to use external (ie: Internet) style addressing (eg:

Can test verbose send like:
echo "Test Body" | mail -v -s "Test Subject"

I'm not sure about security...sorry.

If that doesn't work, tell us what type of UNIX you're running, and if possible, what version of /etc/ you've got.  I probably won't be able to help though.
ruiz00Author Commented:
Adjusted points from 30 to 40
ruiz00Author Commented:
Adjusted points from 40 to 200
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

ruiz00Author Commented:
Adjusted points from 200 to 300
ruiz00Author Commented:
Hey man, didn't work, but you can have the points anyway.

Sounds like a good deal - thanks!

Have you got it working?
If so, what did you have to do?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.