Operating System - HP-UX
1834377 Members
2150 Online
110066 Solutions
New Discussion

How to change the mail relay server in sendmail?

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

How to change the mail relay server in sendmail?


HPUX 11.11 sendmail 8.9.3

We need to change the mail relay server that's coded in sendmail to a different server name. What are the procedures to do this?

10 points to any good answer.
TIA, Gino

4 REPLIES 4
Geoff Wild
Honored Contributor
Solution

Re: How to change the mail relay server in sendmail?

Modify the DS macro

DSnewserver.yourdomain.com

Restart sendmail.

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.
Gino Castoldi_2
Honored Contributor

Re: How to change the mail relay server in sendmail?

Hi,

This will be located within the /etc/mail/sendmail.cf file, correct?

10 points to any good answer.
TIA, Gino
Victor BERRIDGE
Honored Contributor

Re: How to change the mail relay server in sendmail?

Yes


All the best
Victor
Gino Castoldi_2
Honored Contributor

Re: How to change the mail relay server in sendmail?

Thank you all of your help.