Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

need help in forwarding mail

Anil
Advisor

need help in forwarding mail

Hi ,

Could anyone help me in configuring a server to send all alerts to a particualar email address thru any exchange server. Needs to know configuration required in sendmail part.

Waiting for ur responses.

Thanks,
Anil
4 REPLIES
Arunvijai_4
Honored Contributor

Re: need help in forwarding mail

Hi Anil, Have a look at these threads,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=106406
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=732905

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ivan Ferreira
Honored Contributor

Re: need help in forwarding mail

Basically, you need to edit your /etc/mail/sendmail.cf file and change the line where you configure the smart host:

DS

To:

DShostname.domain

Where hostname.domain is the hostname of your exchange server. Ensure that that server is listed in your /etc/hosts file.

Then restart sendmail with:

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Anil
Advisor

Re: need help in forwarding mail

Tried the DS option to specify the exchange server in sendmail.cf. Still giving the following error in mailq--"(host map: lookup (hp.com): deferred)". Please suggest ..

Arunvijai_4
Honored Contributor

Re: need help in forwarding mail

Hi Anil.,

Creating a .forward file in your home directory will help you. Have you looked at the threads which i have given ?

-Arun
P.S Remember to assign points.
"A ship in the harbor is safe, but that is not what ships are built for"