Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 1997 05:07:02 +0800 (SGT)
From:      sweeting@tm.net.my
To:        freebsd-isp@freebsd.org
Subject:   how would you set up a mail hub ? possible with one IP ?
Message-ID:  <v01540b07af4687a17ed5@[202.184.153.110]>

next in thread | raw e-mail | index | archive | help
At the moment we have several domains on 3 NT boxes :

NTBox A :
Areal.com        - httpd, mail, ftp
Avirtual1.com  - httpd, mail, ftp
Avirtual2.com  - httpd, mail, ftp

NTBox B :
Breal.com        - httpd, mail, ftp
Bvirtual1.com  - httpd, mail, ftp
Bvirtual2.com  - httpd, mail, ftp

NTBox C :
Creal.com        - httpd, mail, ftp
Cvirtual1.com  - httpd, mail, ftp
Cvirtual2.com  - httpd, mail, ftp

and we are going to change these to FreeBSD boxes because
NT is crawling, nonflexible, expensive (for software).

Now, for security and performance reasons, it has been
suggested to us that we should have one server for all the mail.
And all the webservers on just 2 machines.
ie. we will have

FBSDBox A :
Areal.com        - httpd, ftp
Avirtual1.com  - httpd, ftp
Avirtual2.com  - httpd, ftp
Avirtual3.com  - httpd, ftp
Avirtual4.com  - httpd, ftp

FBSDBox B :
Breal.com        - httpd,  ftp
Bvirtual1.com  - httpd,  ftp
Bvirtual2.com  - httpd,  ftp
Bvirtual3.com  - httpd,  ftp

FBSDBox C :
mail.Areal.com         - mail
mail.Avirtual1.com  - mail
mail.Avirtual2.com  - mail
mail.Avirtual3.com  - mail
mail.Avirtual4.com  - mail
mail.Breal.com        - mail
mail.Bvirtual1.com  - mail
mail.Bvirtual2.com  - mail
mail.Bvirtual3.com  - mail

Is there any reason NOT to do this ?

However, the mail hub (FBSDBox C) is posing a bit of a problem.
If i am not mistaken, this means that the zone file for, say, Avirtual2.com is :

; /etc/namedb/Avirtual2.zone :
; Data file of hostnames in this zone.
;
Avirtual2.com.  IN      SOA     Areal.com. postmaster.Areal.com. (
                        24      300     60     1209600    43200 )
;
Avirtual2.com.           IN      NS              nameserver1.com.
                                  IN      NS              nameserver2.com.
Avirtual2.com.           IN     MX              10 mail.Avirtual2.com.
Avirtual2.com.           IN      A   202.184.153.99
202                             IN      CNAME   202.184.153.99.
www.Avirtual2.com.  IN  CNAME   Avirtual2.com.

and the zone file for  mail.Avirtual2.com is :
; /etc/namedb/mailAvirtual2.zone :
; Data file of hostnames in this zone.
;
mail.Avirtual2.com.  IN      SOA     mail.Areal.com.
postmaster.mail.Areal.com. (
                        24      300     60     1209600    43200 )
;
mail.Avirtual2.com.     IN      NS              nameserver1.com.
                                   IN      NS              nameserver2.com.
mail.Avirtual2.com.     IN     MX              10 mail.Avirtual2.com.
mail.Avirtual2.com.     IN      A   202.184.153.100
202                             IN      CNAME   202.184.153.100.



The virtual mail domains on the mailhub are not the problem but it looks
like we will end up using 2 IP numbers for each domain.
is there any way to do this using just one IP number on the mailhub ?
(how do ISPs do this ? we are not in that line of business as you can guess
by my ignorance.... i am sorry for asking this here but tried all the ISP
resources and couldn't find a B&W solution.)

Thank you once again for your help and advice.(hopefully this will be the end of
the questions... it's been a long long week)

chas






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01540b07af4687a17ed5>