Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help Setting Up Sendmail as a Relay to Local Exchange server

Status
Not open for further replies.

mrlucio79

MIS
Jul 8, 2003
94
0
0
US
Hello everybody, I am looking from some help and I mean some major help to setting up a Sendmail as a relay to my local Exchange server. This is my plan as of now:

Internet ---> Firewall ---> Sendmail ---> Exchange 5.5

The problem with me is that I am fairly new to Linux. I know basics of getting around and using VI and other things. I was just wondering if there are any sites out there that have instructions that are step by step for this kind of deployment. All your help is appreciated. I am using RH9 and Latest Sendmail 8.12.11.
 
Howdy,

Take a backup and check out your "sendmail.mc" file, there should be a line "SMART_HOST:" towards the top, enter your exchange servers FQDN - i.e. "mail.myexchangeserver.com"

Save and load a command shell:


[root@local]# m4 /etc/mail/sendmail.mc /etc.mail/sendmail.cf

It will recompile the sendmail file, now restart "sendmail" in your services payne.

See how you go :)
 
Also, make sure you check your logs:

"red hat (start button) > System tools > system logs.

Check "mail log" and see what is happening to your mail, if its leaving the box and not making it into the users mailboxes, make sure you check your exchange server's IMC logs.
 

You can also take a look at the faq I wrote faq14-3065 - it worked for me - may not work for you, but it will hopefully point you in the right direction if you're still getting no-where.

Let me know how you get on..

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
Hmm, do you really want to use the Smart Host feature here???

Anyways, the FAQ is pretty close to what I did for my setup. The key is to masquerade the domain and then setup the MAILERTABLE correctly.

Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top