1827757 Members
3030 Online
109969 Solutions
New Discussion

Re: Sendmail smarthost

 
SOLVED
Go to solution
Pierre Samson
Occasional Advisor

Sendmail smarthost

Can I have two smarthost def and if the first one is down it will send thru the second one. If yes how do you set a timeout
2 REPLIES 2
Balaji N
Honored Contributor

Re: Sendmail smarthost

hi
not very sure. but you can use a work around.

create a dummy ip and configure it as the smart host. and then create a monitor script which will activiate this dummy ip as a virtual ip address on the active server. if this server goes down, the ip will get activated on the second server. actually this is how HA clusters work. actually, you can think of hosting the relay service on a HA cluster, if it is critical.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
U.SivaKumar_2
Honored Contributor
Solution

Re: Sendmail smarthost

Hi,

Dual smarthost will not work, use this option in /etc/sendmail.cf

O FallbackMXhost=smart2.mydomain.com

Restart sendmail

regards,
U.SivaKumar

Innovations are made when conventions are broken