Solved

Sendmail and Exchange

Posted on 2000-04-09
6
407 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

895 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

16 Experts available now in Live!

Get 1:1 Help Now