Operating System - HP-UX
1834978 Members
2323 Online
110073 Solutions
New Discussion

Re: sendmail from unix to external address to exchange servers

 
vaibhav_1
Occasional Advisor

sendmail from unix to external address to exchange servers

I want to send a mail from a unix server
to a external address . I my company all
NT servers communicate with the external address through excahnge servers .
How can I forward my mail to exchange server
address .
vaibhav
5 REPLIES 5
Ron Cornwell
Trusted Contributor

Re: sendmail from unix to external address to exchange servers

Add the server name of the exchange server after the DS macro in the file /etc/mail/sendmail.cf and restart sendmail. (sbin/init.d/sendmail stop and /sbin/init.d/sendmail start).
Uday_S_Ankolekar
Honored Contributor

Re: sendmail from unix to external address to exchange servers

Hello,

On the Unix box configure sendmail.cf to direct all the mails to Exchange server.
The flag is DS in /etc/mail/sendmail.cf file
Put exchange servers full qualified doman name address infront of DS
then restart the sendmail service by
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Check /var/adm/syslog/mail.log for the log file

GoodLuck
-USA..
Good Luck..
Sridhar Bhaskarla
Honored Contributor

Re: sendmail from unix to external address to exchange servers

Make your exchange server as your "Smart relay host"

Edit /etc/mail/sendmail.cf and add the Exchange server's name to DS macro.

Search for ^DS in /etc/mail/sendmail.cf file.

Then restart sendmail. /sbin/init.d/sendmail stop|start.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
vaibhav_1
Occasional Advisor

Re: sendmail from unix to external address to exchange servers

Thanks guys ! It workes ..
vaibhav
Rushank
Super Advisor

Re: sendmail from unix to external address to exchange servers

Vaibhav,
Would you mind now assigning points for the guys who tried to helped you to resolve your problem..??