Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 639
  • Last Modified:

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
0
wingboad
Asked:
wingboad
  • 2
1 Solution
 
vsamtaniCommented:
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now