From owner-freebsd-isp Fri Mar 7 19:57:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA17052 for isp-outgoing; Fri, 7 Mar 1997 19:57:23 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA17026 for ; Fri, 7 Mar 1997 19:57:17 -0800 (PST) From: sweeting@tm.net.my Received: from mail.tm.net.my (janeway.tm.net.my [202.188.0.155]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id NAA00540 for ; Fri, 7 Mar 1997 13:11:11 -0800 (PST) Received: from [202.184.153.110] ([202.184.153.110]) by mail.tm.net.my (8.8.5/8.8.4) with SMTP id FAA03462 for ; Sat, 8 Mar 1997 05:07:02 +0800 (SGT) Date: Sat, 8 Mar 1997 05:07:02 +0800 (SGT) X-Sender: sweeting@mail.tm.net.my Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: freebsd-isp@freebsd.org Subject: how would you set up a mail hub ? possible with one IP ? Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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