Operating System - HP-UX
1833477 Members
2657 Online
110052 Solutions
New Discussion

Re: Sendmail through MS Exchange 5.5

 
Scott Callicott
Occasional Advisor

Sendmail through MS Exchange 5.5

Hi,

Trying to setup sendmail on HP-UX 11.0 system. I need the mail to be routed through my MS Exchange 5.5 server to the outside world. Any help would be great. Currently I have my mail.mydomain.com in my HOSTS file and I changed the Dj$w & DS lines of my sendmail.cf file but I do not seem to be able to get mail into any exchange boxes or outside mail accounts.
4 REPLIES 4
Paul Thomson_2
Super Advisor

Re: Sendmail through MS Exchange 5.5

Hi. I recently had the same issue and posted this on the itrc. The following link may help you as it helped me resolve my problem.

I wanted to get my mail to be sent externally to lotus notes release 5. The following link may help you in setting this up from Unix

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x983ceea29889d611abdb0090277a778c,00.html
Argh ye land lovers !
benoit Bruckert
Honored Contributor

Re: Sendmail through MS Exchange 5.5

Hi,
In /etc/mail/sendmail.cf,
Look for DS,
And add the line :
DS
This means that all emails will be sent to your exchange server.
Don't forget after the change to stop start sendmail :
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

To test it :
sendmail -v (verbode mode..)
hth
benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
Geoff Wild
Honored Contributor

Re: Sendmail through MS Exchange 5.5

DS should be set to the hostname of your exchange server (if your DNS is functioning, then you don't need this to be FQDN). Try pinging the host - if that works then you are okay. If your internal DNS is seperate from external - then you might want to set the DM macro as well to the Domain Name you want to masquerade as. Also, your Exchange server has to allow your host to relay mail to it.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
David Peacock
Frequent Advisor

Re: Sendmail through MS Exchange 5.5

You should also check the Exchange Server.
It has to be set up as a SMTP Relay machine.
You can set it up to relay everybody, or, better yet, set it up to relay only your
IP address.
veni, vidi, vmstat