Roger Arnold <[EMAIL PROTECTED]> writes on 11 December 2000 at 02:05:41 +1100
 > Roger Arnold wrote:
 > 
 > Sorry if these are stupid questions or is already covered in a how-to,
 > if it is perhaps someone can point me to it please.
 > 
 >  I need to know is how to setup qmail to work with multiple servers with
 > a mix of IP and Name based virtual domains on 2 or more servers i.e.:
 > 
 > Server 1, is a nameserver as well as hosting some IP based virtual
 > domains, it is also the gateway between the www and the local LAN where
 > the other servers are.
 > 
 > Server 2, is also a nameserver as well as hosting name based virtual
 > domains
 > 
 > Server 3 just hosts name based virtual domains
 > 
 > Qmail is installed on each and all servers (with the intention of adding
 > vpopmail & SqWebMail).
 > 
 > What I need to know is how to setup Qmail (and vpopmail) on each server
 > to handle the virtual domains on that server and pass the mail forward
 > and back through Server 1 ?

Is this *outgoing* mail you're talking about?  The way to do that is
to use control/smtproutes on each of the three servers to send
*everything* remote to the gateway server.  If you really want to make
one system that mission-critical. Oops, on *two* of the servers; the
third server actually *is* the gateway so it has to be allowed to
actually send the mail out.

 > Do I simply set the MX of the domain to the server that the virtual
 > domain is on and setup qmail on each server as though it was the only
 > server on the network ? if so how should I configure each server?

For the inbound mail to come in direct to the right server the simple
way, you need an MX pointing to the system you want the mail to end up
on, and you need to allow direct connects from outside to that system.
If you want to run all inbound email through your gateway instead, you
need to have all the MX records pointing at the gateway, and then use
either control/smtproutes (qmail control file) or else split DNS
(internal systems see different DNS answers than external systems) to
cause incoming mail to go from the gateway to the intended server.
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/

Reply via email to