A couple of possibilities.  Both options assume that the DNS server
for the school's domain is external to the box itself.

1.  If the box will be down less than four hours, just shut it off.
Servers sending you mail will just not be able to contact the school's
mail server, and will retry later.  If it'll be down longer than four
hours, most sendmails will send a warning back to the sender of the
message, undoubtedly confusing some of them, but it'll still work.

2.  If you have access to the DNS server for the school and the TTL
for the MX record is short enough for the change to propagate in time,
set up a secondary MX record for the school pointing to Box 2.  Then
on Box 2 I think you just need to add the school's domain to
control/rcpthosts, but not to control/locals and it will queue the
mail until the primary MX comes back on line.  (Disclaimer: I've never
set up a secondary MX box using qmail, but I believe this is how you'd
do it.)

Hope this helps.

Eric

On Mon, Jul 17, 2000 at 06:21:23PM -0500, Jonathan Kline wrote:
> Heres the deal: I have an email server which has an internet IP and a valid
> domain name.  I also have a second box on the same network with a domain
> name and a real IP.  The first box is teh email server for the school.  The
> second box is my private play toy... it acts as my email server and play
> server.  Generally I test everything on box 2 before I go and put it on box
> 1. We need to bring box 1 down tomarrow for some maitence, and we have no
> secondary mail server defined..... Small problem? Maybe.  Box 1 is running
> Sendmail and my box, box 2 is running Qmail.  Is there anyway to have my
> box, box 2, Accept all Mail for box 1, queue, don't try to deliver it, then
> have me manually enter a command to transfer all mail recieved by box 2 back
> to box 1?  Therefore there would only be about 2 minutes of downtime vs
> about 2 hours?  Is this to complex? I plan on changing the ip of box2 to
> match that of box if this possible!
> 
> Thanks for the input and advice.
> 
> ____________________________________________________________________________
> _________________
>   Jonathan A. Kline, A+  <jonathankl at ism-sabis.net>
>               Asst. System Administrator, International School of MN
> 
> --BEGIN GEEK CODE--
> GIT d(++) s+:+ a--- C++(++++) UL++++ P+(++) L++(+++) E----
> W++(+++) N+(++) o+ !K !w+ O !M- @V PS++(+++) PE++ Y+ PGP+(++)
> t+(++) 5-- @X++ R++(+++) tv- b++ DI++ D++ G++ e- @h(h++) @r-- !z+
> --END Geek Code--
> ____________________________________________________________________________
> _________________
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
> For additional commands, e-mail: tclug-list-help at mn-linux.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org