1

I have the following (already given) scenario: net topology

The primary question is - how to setup IMAP and SMTP server on the Lion for the "mydomain.com". Lion suggesting to use the ".private" domain for the server not directly in the internet, but in the mail-server config i shoudl enter domain for what i need handle emails - so i'm confused a bit...

Can someone post a step-by-step instructions, or at least point me to some helpful docs? I'm pretty new in Lion-server config...

1 Answer 1

3

This is a very common setup. In general, never use .private and .local since you end up (eventually) in a world of hurt and doing it "right" isn't that hard.

Basically, you will tell the world that your mail server resides on the public IP address (or set up it's own real routable internet IP address and have the Proxy/Firewall forward traffic to the internal fixed IP 10.1.1.20)

Then, you will add two zones to your internal DNS so that all queries for mail.whatever.com resolve to 10.1.1.20 and a reverse zone resolves the IP to the name.

This way your clients will get the right address when on the local LAN or VPN in, but can still access the server from the public internet when DNS gives the public address.

Also look out for your server certificates. Most people issue certificates for the public IP address and have a profile to allow internal clients to trust a self-signed cert for when they hit the server locally.

There are no silver bullets here - the choice you make to have a more complicated routing will complicate your SSL and other server setup steps, but this is a common situation for people deploying lion server so I've seen it work well in most cases.

1
  • Thank you very much! Is somewhere any usefull guide with step-by-step instructions - for the most simple setup? (will try this one for DNS: dummies.com/how-to/content/…)
    – kobame
    Mar 28, 2012 at 10:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .