From owner-freebsd-isp Fri Mar 7 20:58:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA20995 for isp-outgoing; Fri, 7 Mar 1997 20:58:07 -0800 (PST) Received: from mail.tm.net.my (janeway.tm.net.my [202.188.0.155]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA20985 for ; Fri, 7 Mar 1997 20:58:02 -0800 (PST) From: sweeting@tm.net.my Received: from [202.184.153.110] ([202.184.153.110]) by mail.tm.net.my (8.8.5/8.8.4) with SMTP id MAA06805 for ; Sat, 8 Mar 1997 12:57:25 +0800 (SGT) Date: Sat, 8 Mar 1997 12:57:25 +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: solved Re: how to set up a mail hub ? with one IP number ?? Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk sorry for asking what must be a trivial question on this list. anyway, i got the mailhub working and am posting here for the archive in case anyone else has this problem. respect to Gregory Neil Shapiro from the sendmail-questions list for help. [snip] I wanted to test this out before replying and just spent 2 hours running between 5 PC's in the office playing virtual users and domains. The configuration that you sent for the zone files works a treat.... and is simpler than i had expected (which is always a good thing). Perfect. >sweeting> Is there any reason NOT to do this ? > >No, you can use the virtual user table for assistance in delivery (see >cf/README). > >sweeting> However, the mail hub (FBSDBox C) is posing a bit of a problem. If >sweeting> i am not mistaken, this means that the zone file for, say, >sweeting> Avirtual2.com is : > >You showed two files for one zone. For Avirtual2.zone, it would simply be: > >; /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 ) >; > IN NS nameserver1.com. > IN NS nameserver2.com. > IN MX 10 mail > IN A 202.184.153.99 >www IN CNAME Avirtual2.com. >mail IN MX 10 mail >mail IN A 202.184.153.100 > >sweeting> The virtual mail domains on the mailhub are not the problem but it >sweeting> looks like we will end up using 2 IP numbers for each domain. is >sweeting> there any way to do this using just one IP number on the mailhub ? > >Yes, you can set all of the MX records to just be to mail.Areal.com instead of >mail.Avirtual2.com. (Note: Don't put in an A or MX record for mail.Areal.com >in any zone file except Areal.com's zone file). Use the virtusertable feature >to determine delivery, not different IP addresses. [/snip]