Solved

Sendmail----relay to another SMTP server

Posted on 2001-08-08
3
625 Views
Last Modified: 2010-03-18
  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
Comment
Question by:wingboad
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
vsamtani earned 10 total points
ID: 6363643
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
 

Author Comment

by:wingboad
ID: 6366578
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
 

Author Comment

by:wingboad
ID: 6370773
BTW, could i setup more than one "smart host" to relay mails?
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now