> What we would like to do is have all mail forwarded through the
> firewall to an internal machine.... What I would like is for the
> mail to spool up on the firewall if the internal server is down.
Essentially, you want to set up a mail relay. Very simple.
Let's assume your domain is "example.com," your internal mail host
is "mail.example.com," and your external mail relay is "relay.example.com."
Your MX records should point to "relay.example.com," and you should have the
following qmail control files on "relay":
rcpthosts containing "example.com" (see 'man qmail-smtpd')
smtproutes containing "example.com:mail.example.com" (see 'man
qmail-remote')
You should have the following qmail control files on "mail":
rcpthosts containing "example.com"
locals containng "example.com" (see 'man qmail-send')
"relay" will pay attention to "smtproutes" and forward the mail, even though
it is the highest MX. "mail" will pay attention to "locals" and accept the
mail, despite not being an MX. If "mail" is down, "relay" will keep the
mail in the queue for "queuelifetime" seconds (see 'man qmail-send') before
bouncing it. Of course, you can adjust "queuelifetime" if you need to
during an outage.
--
gowen -- Greg Owen -- [EMAIL PROTECTED]