Qmail
[Top] [All Lists]

Re: Many domain to one server

To: qmail@list.cr.yp.to
Subject: Re: Many domain to one server
From: "Vahid Moghaddasi" <vahid.moghaddasi@gmail.com>
Date: Mon, 2 Apr 2007 11:34:14 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JN3mtHSPzdt5gnVd7QeGqMMGwLuLLm2xGsncdNj4+TCYxGFzjFrXwk11PRqyCjhA8bFr8tcfhuZMJ//vxb4lqdo6Z2MbGnq73lFeU1SihjqgKEJmf6M53/o7xzZHsypgP9UyskwSYoTLD5Uy0WQSj7Os/PP+Kj7v/LDL8u46Ow8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jWbK9503bCY+h2MLN2IoxvCqOw6XpNEk5m8eQv/Xl4e3aqFEc23ogIzny0/owXWqxHM9X4Rtnz8Mu3/cqCpyq6IpvpHveX61Vo4eIv1Se0GnT3OmP0hwSOeobkum58jVzmQkqql9XYq5IpXpgJiFCHfCgrM1fonG3ggAGaJyt8Q=
Domainkey-status: good (test mode)
In-reply-to: <20070402082245.GA27262@c-76-18-79-168.hsd1.nm.comcast.net>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <a3bd4fe00704011128k64419bck9de7e3afd29bafe2@mail.gmail.com> <20070402082245.GA27262@c-76-18-79-168.hsd1.nm.comcast.net>
On 4/2/07, Kyle Wheeler <kyle-qmail@memoryhole.net> wrote:
On Sunday, April  1 at 02:28 PM, quoth Vahid Moghaddasi:
> We have 3 domains pointed to one of our qmail servers in DNS MX
> record

...okay...

> and I have control/smtproutes in that server as:
> example.com:[192.168.1.100]
> .example.com:[192.168.1.100]
> example2.com:[192.168.1.100]
> .example2.com:[192.168.1.100]
> example3.com:[192.168.1.200]
> .example3.com:[192.168.1.200]

...I'm assuming that none of those IP addresses is the address of your
qmail server?

You are correct, this qmail server has a public IP address.
All of those IP addresses are Domino servers around the world.


> Is this all I need to do for the users in each domain to receive
> mail or I am missing something?

That would depend on where mail is being sent from.

Mail is coming from Internet as well as inside. This machine is a
smart relay for a few other internal qmail servers.


If your goal is to have this qmail server as a kind of multiplexer
that receives mail and redirects it to the "real" servers, you would
also need to add those domains to control/rcpthosts.


Yes it is and I did that.

> Do I need to add those domains to control/virtualdomains file?

All domains in the virtualdomains file are considered "local" domains
(and any entries in smtproutes are ignored). Is that what you want? If
so, then you may as well remove the entries from the smtproutes file.

No. They are not local domains.


~Kyle

Thanks again Kyle,

--
We *can't* simply do our science and not worry about the ethical
issues.
                                                           -- Bill Joy



<Prev in Thread] Current Thread [Next in Thread>