Operating System - HP-UX
1830178 Members
2167 Online
109999 Solutions
New Discussion

sendmail + multiple smart host entry

 
ankurp
Frequent Advisor

sendmail + multiple smart host entry

Hi frineds,

need help to add more DS enteries ( smart host entry ) in sendmail.cf for redundancy.
In linux we can add more DS enteries as
DSserver1, server2
so that we have 2 smart hosts.
but that doestnt work on hp unix.

pls. help.

rgds
Ankur
7 REPLIES 7
Henk Geurts
Esteemed Contributor

Re: sendmail + multiple smart host entry

hi
check this link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=266228
looks like you have to use DNS....

regards.
ankurp
Frequent Advisor

Re: sendmail + multiple smart host entry

no i dont to use that DNS option.
want this DS entry thing workin.

rgds
Ankur
renarios
Trusted Contributor

Re: sendmail + multiple smart host entry

Hi Ankur,

I can remember something like using "FallbackSmartHost" in the sendmail configuration.

Hope I helped,

Renarios
Nothing is more successfull as failure
Steven E. Protter
Exalted Contributor

Re: sendmail + multiple smart host entry

Sendmail's hp implementation is standard on HP-UX.

There should be no problem doing what you do on Linux on HP-UX.

The doc on the last post is available at http://www.sendmail.org

Starting and stopping sendmail is different on hp-ux

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: sendmail + multiple smart host entry

In sendmail.cf:

# fallback MX host. If specified, this host acts as a very low priority MX
# on every host. THis is intended to be used by sites with poor network
# connectivity.
O FallbackMXhost=backupmailservername


But that will only work if the one in DS is down...

DNS is better equiped to handle this via multiple MX records...basically - you create a "dummy" host - call it smtphost - and point it to:

smtphost.yourdomain.com. 3600 IN MX 20 realmailserver1.yourdomain.com.
smtphost.yourdomain.com. 3600 IN MX 10 realmailserver2.yourdomain.com.

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
ankurp
Frequent Advisor

Re: sendmail + multiple smart host entry

very thanks
renarios , steven E Protter , Geoff Wild
for ur help.
Mine is sendmail 8.9.3 , hope ur solution works on this.

thanks once again.


rgds
Ankur
ankurp
Frequent Advisor

Re: sendmail + multiple smart host entry

thanks