Sendmail----relay to another SMTP server

  if i want sendmail can send non-local mails to another
SMTP server,how could i setup,changing "Mailer" & define
the responding ruleset? please introduce this to me,thanks
wingboadAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
vsamtaniConnect With a Mentor Commented:
In /etc/sendmail.cf, look for a line

# "Smart" relay host (may be null)
DS

If you enter the name of the other SMTP server immediately after DS, sendmail will send all non-local emails to that server for relaying.

eg

DSrelay-mailer.yourdomain.com



Vijay
0
 
wingboadAuthor Commented:
oh,great news,i will try it later,first i'd like to accept
your answer,if i have any question in testing,i will ask yo
u here, :)   thank you
0
 
wingboadAuthor Commented:
BTW, could i setup more than one "smart host" to relay mails?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.