Hi, sirs,

    I has a question about mail servers in private network. I use a network
sharing device (NAT) to share a public ip address with my colleagues. We
have 4 mail servers, one with public ip (static mapped by NAT), three are
inside private network.

    NAT device:
        ifconfig: 192.168.1.1 (private interface), 203.76.12.1 (public
interface)
        static mapping: DNS to 192.168.1.2, Mail server to: 192.168.1.3
    DNS server: 192.168.1.2 (example.com)
    qmail server #1: 192.168.1.3 (example.com), (Static mapped by NAT)
    qmail server #2: 192.168.1.4 (hr.example.com)
    qmail server #3: 192.168.1.5 (mis.example.com)
    qmail server #4: 192.168.1.6 (acct.example.com)

    First question is about sending mail. To make receipt reply correctly,
does all inner mail servers (#2~#4) must relay by the first mail server
(#1)? and how can I configurating these inner mail server?

    Second question is about receiving mail. When a user outside this
company, and send a mail to [EMAIL PROTECTED] through his ISP, he will
fail because mis.example.com is within a private network. When I configurate
my DNS to let hr.example.com, mis.example.com and acct.example.com to point
to 203.76.12.1, all mail will be sent to the first mail server. How do I
configurate my DNS or qmail to let the three inner mail servers work as
their are in public network?

    Best Regards
    Mr. Egg



Reply via email to