Solved

Sendmail----relay to another SMTP server

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SFP configuration on a Linux server 8 188
iptables ubuntu BLOCK all 2 84
What are recommended OS for exim mail server? 10 109
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 140
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 give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 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