Solved

Sendmail and Exchange

Posted on 2000-04-09
6
406 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
Comment Utility
Adjusted points from 30 to 40
0
 

Author Comment

by:ruiz00
Comment Utility
Adjusted points from 40 to 200
0
 

Author Comment

by:ruiz00
Comment Utility
Adjusted points from 200 to 300
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 11

Accepted Solution

by:
tel2 earned 300 total points
Comment Utility
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
Comment Utility
Hey man, didn't work, but you can have the points anyway.

Thanks
0
 
LVL 11

Expert Comment

by:tel2
Comment Utility
Sounds like a good deal - thanks!

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

763 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

12 Experts available now in Live!

Get 1:1 Help Now