?
Solved

Sendmail and Exchange

Posted on 2000-04-09
6
Medium Priority
?
417 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 12

Accepted Solution

by:
tel2 earned 1200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

840 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