Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 1997 12:57:25 +0800 (SGT)
From:      sweeting@tm.net.my
To:        freebsd-isp@freebsd.org
Subject:   solved  Re: how to set up a mail hub ? with one IP number ??
Message-ID:  <v01540b11af4713295046@[202.184.153.110]>

next in thread | raw e-mail | index | archive | help

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]





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