Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple DS entries in sendmail.cf

Matt Hearn
Regular Advisor

Multiple DS entries in sendmail.cf

Simple question; can the sendmail.cf file have multiple DS entries? I am of the opinion that it can't (otherwise sendmail would be sending out extra unnecessary emails to multiple servers), but I can't rule it out; as far as I know, sendmail might be able to automatically select the proper relay host based on some algorithm of which I'm unaware. (The probability of sendmail being smarter than I am is high.)

Anybody got a quick answer? Thanks!!
2 REPLIES
James A. Donovan
Honored Contributor

Re: Multiple DS entries in sendmail.cf

In the event of multiple DS entries, sendmail will use the relay last listed relay in the file.
Remember, wherever you go, there you are...
Kasper Haitsma
Trusted Contributor

Re: Multiple DS entries in sendmail.cf

If you want multiple smart relays, focus on DNS for the solution. You specify a single DS and this smart relay resolves to several hosts with same MX value

HTH

KH
HP OpenMail sendmail support engineer
It depends