I think what you need to do is this:
Set up your second server to accept mail for the domain ns1.mydomain.com
by editing /var/qmail/control/locals and adding ns1.mydomain.com to that
file on the second server. Then on ns1.mydomain.com edit
/var/qmail/control/locals and remove ns1.mydomain.com from there so that
mail for that domain will now be regarded as non local mail. Then set up
an mx record in your dns pointing ns1.mydomain.com to the second server
say
ns1.mydomain.com. IN MX 10 ns2.mydomain.com. or alternatively you can
attempt direct smtp delivery by editing /var/qmail/control/smtproutes
All these instructions are in /var/qmail/doc/FAQ
regards,
Sematimba Noah.
East African Help Desk.
On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:
> Todd:
>
> Thanks for your reply.
>
> "Put your desired address into your .qmail file."
>
> When you refer to "desired address", is it the UID (which is "root") or
> something else? I have setup .qmail files and would appreciate which folder
> this particular .qmail file you are referring to?
>
> Kirti
>
>
>
> -----Original Message-----
> From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 10, 2001 11:00 PM
> To: Kirti S. Bajwa
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Redirect email!
>
>
> On Sat, 10 Mar 2001, Kirti S. Bajwa wrote:
>
> > How can I setup qmail so that any system message generated on the
> > first server ns1.mydomain.com are automatically directed to my mail
> > server, which is mail.mydomain.com (located on ns2.mydomain.com)?
>
> Put your desired address into your .qmail file.
>
> --
> Todd A. Jacobs
> CodeGnome Consulting, LTD
>
>