Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Sendmail "Smart Host" Configuration

Status
Not open for further replies.

hazzahsv

Computer
Dec 3, 2002
3
AU
Hi.

I have a default Solaris 9 server with default sendmail settings. I have a requirement to add a mail forwarder server (smart host) to sendmail on my server. Just wondering what the best way to do this is? I found a section in the sendmail.cf file referring to smart host but not sure how to edit it (it says use a sendmail.mc file?).

Thanks in Advance.
 
Replies continue below

Recommended for you

All you need to do is edit the sendmail.cf file and locate the the section that begins with DS and edit as follows:

DShost.domain.com

with the 'host.domain.com' being the fully qualified host name of the mail server that you will be "relaying" mail messages to.

You will need to restart or refresh (depending upon your Unix flavor) the sendmail process to pickup the changes made in the sendmail.cf file. For example:

refresh -s sendmail

will refresh the sendmail process on AIX.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top