Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 "". 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...

share|improve this question
up vote 3 down vote accepted

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

Then, you will add two zones to your internal DNS so that all queries for resolve to 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.

share|improve this answer
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:…) – kobame Mar 28 '12 at 10:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.