Solved

Sendmail and Exchange

Posted on 2000-04-09
6
408 Views
Last Modified: 2010-04-21
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
0
Comment
Question by:ruiz00
  • 4
  • 2
6 Comments
 

Author Comment

by:ruiz00
ID: 2698954
Adjusted points from 30 to 40
0
 

Author Comment

by:ruiz00
ID: 2698980
Adjusted points from 40 to 200
0
 

Author Comment

by:ruiz00
ID: 2699042
Adjusted points from 200 to 300
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 12

Accepted Solution

by:
tel2 earned 300 total points
ID: 2699778
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/sendmail.cf file (eg: with vi), and if you find a line which contains just the word:
  DRRelayHostName
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:
  DSmailer:relayhostname
and change it to:
  DSSMTP:123.456.789.012

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: me@mywork.com).

Can test verbose send like:
echo "Test Body" | mail -v -s "Test Subject" me@my_work.com

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/sendmail.cf you've got.  I probably won't be able to help though.
0
 

Author Comment

by:ruiz00
ID: 2705431
Hey man, didn't work, but you can have the points anyway.

Thanks
0
 
LVL 12

Expert Comment

by:tel2
ID: 2706450
Sounds like a good deal - thanks!

Have you got it working?
If so, what did you have to do?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now