Gallagher, Tim F (NE) says ...
> I have a problem, let me start:
> I have a windows based email server merak mail server. I have an MX
> record that points to the public side of my router and the
> email server
> is on the private side. I opened ports on the router so mail messages
> can come in and mail can leave. When I install Postfix I need to give
> it the name of the server and FQD of what the MX record sees.
> Lets say my MX record points to mail.mydomain.com 18.104.22.168.
> My server is mailer.internal.mydomain.com 192.168.0.6
> I have an internail dns server that points
> to 192.168.0.6
> Question #1 What should I call the mail server when I am prompted for
> this "myhostname = server.yourdomain.com" when I install postfix
> Question #2 What can I go to make sure this works, IP wise.
I'm not sure I exactly understand your problem, but since I have what may be
a similar setup, let me tell you what I'm doing here, and perhaps it will
give you ideas.
The public address of my network is 22.214.171.124.
The private network is 192.168/16, and the whole thing is NATted in the
Using my router's port forwarding capabilities, various incoming conection
requests are forwarded to particular machines inside the network.
The mailserver, tandem.artell.net, is at 192.168.0.40. It has only the one
NIC in use.
I have public DNS servers, on the public internet; they point
tandem.artell.net to 126.96.36.199. As a result, mail addressed to anyone
at that machine, and coming from the 'net-at-large, comes through the
router, is directed to 192.168.0.40, and is handled without drama.
I also have private DNS servers, on 192.168/16, which resolve
tandem.artell.net to 192.168.0.40. Since machines inside my LAN use those
nameservers, they connect directly to the mailserver without sending their
Does that help at all?