Server Fault is a question and answer site for system and network administrators. 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've been searching for a way to hide the gmail server name ( and I want the email client (outlook) to point to our own server (say,, which in the end route to the real server. I tried the DNS CN record but it causes certificate warning.

Are there any ways to enable this? Is it possible using stunnel? Any proxy/relay/anything to make it work? Is it possible to be done on simply a shared web server (those provided by hostgator, or godaddy)?

share|improve this question
First, why are you trying to do this? Tell us why, and maybe there is a better way we can guide you to. Second, who are you trying to hide the names from?: Your internal users or external users (in the header information)? Lastly, when you say "I want the email client (outlook) to point to our own server (say,", do you mean an actual physical server, or to your DNS name? – KCotreau May 30 '11 at 13:16
up vote 0 down vote accepted

I'm not clear why you would want to do what your asking.

But one solution would be to use fetchmail ( You could install fetchmail on your own server and it would retrieve the mail from the upstream pop/imap server. You would also need to configure a local MTA and pop/imap client, do handle the delivery and local access to the mail. Probably the most popular for these are Postfix and Dovecot, though there are other options.

Configuring all of the above requires a significant amount of work and you will need full access to the server not just a shared web service.

share|improve this answer
The bad things is the web server part. If only I can own an online webserver. – Hendry Ten Jun 2 '11 at 3:56

You can setup your own server to perform POP-retrieves from Google and then have the users point their POP clients at your server. It can also double-duty for SMTP as well.

share|improve this answer
The bad thing is I need my own server. – Hendry Ten Jun 2 '11 at 3:52

Ultimately simply refers to an IP (or several in this case). I'd guess that if you set up the same IPs in the DNS of your own subdomain ( it would also work. Of course, they would be aliases of the Google IPs from that point on, so you will not be able to use them for referring to your own server. But that seems to be what you want to do.

share|improve this answer
I really want to avoid using IP address, that's why I tried using the CN record at the first place. I wanted to maximize the google cdn capabilities. – Hendry Ten Jun 2 '11 at 3:55

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.