Solved

Sendmail and Exchange

Posted on 2000-04-09
6
410 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

696 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