Solved

Sendmail----relay to another SMTP server

Posted on 2001-08-08
3
626 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

863 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

24 Experts available now in Live!

Get 1:1 Help Now