Actually, Jake,
The best thing to do in this case is to have all of the mail MX to
this qmail on this machine, and then "smtp" route it to your real
mailserver.
So, include the [sub-]domain in rcpthosts, but don't include (anything?)
the domain name in locals or virtualhosts.
Then add a line in smtproutes that points to your "real" mailserver.
Here's what I would do....
/var/qmail/control/rcpthosts
=================================
everydomain.com
that-you.net
wish-to-receive-mail.for
/var/qmail/control/smtproutes
=================================
everydomain.com:real.mailserver.net
that-you.net:real.mailserver.net
wish-to-receive-mail.for:real.mailserver.net
Now, should your 'real.mailserver.net' go down, qmail will spool the mail
for upto /var/qmail/control/queuelifetime (default = 604800 seconds = 7
days).
You will doubtless want to know about the command 'qmail-qread', and if
you wish any mail to deliver locally, you should read up on the "Life with
Qmail" page...it has a number of gems and solid advice.
http://Web.InfoAve.Net/~dsill/lwq.html
-Martin
--
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]
On Mon, 27 Dec 1999, Jake Reynolds wrote:
:I've installed per the instructions, and it runs fine... I'm having a
:problem though. I want to set up qmail to forward all our email from
:ourdomain.com to mailserver.ourdomain.com
:
:Basicly I want it to act as a cacheing mail forwarder, should our mail
:system go down. I'm trying to avoid bounce messages from being sent over
:the internet should the mail server crash. I assumed I could set up a
:virtual domain and then change the MX record, but I can't seem to get the
:system to forward the mail properly at this moment, and am therefore
:reluctant to change the MX record...
:
:Jake Reynolds
:Systems Technician
:
:v ) s t r e a m
:1157 Century Drive
:Louisville, CO 80027
:phone 800.878.7326 ext. 2446
:Direct Dial 303.928.2446
:fax 303.928.2832
:www.vstream.com
:
:
: