> As far as I understand this, any mail server that want to send mail to the
> primary MX will do so, if that server is available. If not, it will use a
> lower priority one.... Correct?
Yes
> Ok, but how do I get the lower priority mail server to send mail to the
> primary one when he comes online? My guess is that something like smptget*
> (whatever) is not really a sollution...
A few ideas here...
1. Have a rexec script set up...when the primary one comes online, it
rexec's a script on the secondary server that runs /etc/rc.d/init.d/qmail
alrm (presuming you are using SysVinit style scripts...if not, check them
out and find out how to send alrm to svc). I use this for all of our
subsidiary servers. You may have to play with sudo a bit...
2. Learn about the ETRN capabilities of qmail
3. Mail is deferred on the secondary server, not just held. At extending
intervals, it is attempted to be sent again. (It is almost logarithmic...but
I don't guarantee this). You could just wait. That may mean mail won't be
delivered for up to 4 hours after the primary server comes online, but its
easy, and it could win you some points to keep your primary server online
permanently!
Enjoy
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
> -----Original Message-----
> From: Goran Blazic [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 02, 2000 7:32 PM
> To: '[EMAIL PROTECTED]'
> Subject: Ok, so I'm stupid... :)
>
>
> I have this problem I dont even know how to start solving...
>
> There is this mail server for a company that is online most of the time
> (18-20 hours a day), but it can happen, that the server goes offline for
> some period (dont ask, I tried, but they dont want to change it!).
> Ok, I thought, so I put that server as the primary MX, and put
> another as a
> lower priority MX...
>
>
> Thanks in advance, Goran
>
> egrave - Slovenskih fantov elektronski grob
>
>