Configuring Google Apps for Your Domain

In my previous post here, I went into the steps needed to bring up a Microsoft Live Exchange Labs environment.

Previously we had discussed the different options available when it came to hosted E-mail here.

Setting up a Google environment can be done it one of two ways. You can choose to maintain your existing domain to which e-mail is currently being delivered to or you can setup a completely new one like gapps.your-domain.com.

Allowing to pilot their offering using your existing domain sets you up for an easier migration path, if you choose to go with Google and this is the path which will be described below.

Once again after receiving a requested invitation from Google, we proceed to re-route e-mail.

Pilot Google Apps with email routing instructions are here.

Once you have verified your domain proceed to create an additional MX record in your DNS pointing to your existing mail server. This will be needed because as you route all your mail to Google, they will need to send e-mail back your way to accounts that do not exist in Google Apps.

  • DNS Record Type: MX
  • Host: routing.your-domain.com
  • MX server: server1.your-domain.com (your E-mail server “A” record)
  • TTL: 3600 or 1 hour
  • Priority: 0 (or High priority)

Setup Google to route e-mail back to your server.

  • Navigate to the Email settings page in the control panel. In the Email routing section, the default destination is Google Apps Email.
  • Click Add another destination to set up mail routing for your other system.
  • Enter the MX record you created previously. routing.your-domain.com
  • Deliver mail for: Select Unknown accounts only to route mail to email addresses that don’t exist in your Google Apps account.
  • Change SMTP envelope: Uncheck the box since your other mail system is already configured to receive mail addressed to this domain.
  • Save changes

Then you will need to change your MX records to route e-mail sent to your domain to Google mail servers.

Your configuration would go from something like this:

  • DNS Record Type: MX
  • Host: mail.your-domain.com
  • MX server: server1.your-domain.com (your E-mail server “A” record)
  • TTL: 3600 or 1 hour
  • Priority: 0 (or High priority)

to this

Priority Mail Server
1 ASPMX.L.GOOGLE.COM.
5 ALT1.ASPMX.L.GOOGLE.COM.
5 ALT2.ASPMX.L.GOOGLE.COM.
10 ASPMX2.GOOGLEMAIL.COM.
10 ASPMX3.GOOGLEMAIL.COM.

You are all set. As you create accounts in Google Apps, e-mail will be routed to their servers and e-mail will be delivered to those accounts. Any accounts non-existent will be routed back to the original e-mail server.

The diagram below makes it easier to understand.

Again there are lots of customizations including adding CNAME entries to your DNS allowing you to change the URL users will use to access e-mail and all the other options.

[ad]

Configuring Microsoft Windows Live Exchange Labs

When it comes to decision making having data to make the right choice is paramount.

Creating a pilot program provides invaluable feedback from users as to the functionalities that a specific product provides and making them part of the selection process improves the success of a project greatly.

Today we will be looking at Microsoft’s e-mail hosted solution, more specifically Exchange Labs which is described in detail in a previous post here.

Once you get an invitation from Microsoft which you have to request, you will go to their administrative console http://domains.live.com. After the domain is created, the game beings and we start playing with DNS records. We will address BIND specific configurations, but these same settings will apply to other DNS servers.

The easiest way to begin is to setup a new zone named live.your-domain.com.

An MX record will need to be created pointing to the exchangelabs.com domain and the specific entry will be provided by the administrator console.

  • DNS Record Type: MX
  • Host: live.your-domain.com
  • MX server: number_provided.mail.exchangelabs.com
  • TTL: 3600 or 1 hour
  • Priority: 0 (or High priority)

Create a CNAME entry to allow Outlook 2007 client to connect to Exchange Labs.

  • DNS Record Type: CNAME
  • Host: autodiscover
  • Value: autodiscover.exchangelabs.com

Configure Sender ID to allowing destination mail servers to trust mail originating from your domain using the Sender Policy Framework (SPF).

  • DNS Record Type: TXT
  • Host: live.your-domain.com
  • Value: v=spf1 include:exchangelabs.com ~all
  • TTL: 3600 or 1 hour (if requested)

Finally if you want to have federated Windows Live Messenger access, you will need to create a SRV record.

  • DNS Record Type: SRV
  • Host: _sipfederationtls._tcp.live.txwes.edu
  • Value: 10 2 5061 federation.messenger.msn.com

Now to test the configuration you can use DNSWatch to test your records to see how the world sees your servers. Keep in mind that it could take hours for your records to propagate throughout the Internet.

Finally there are several options for you to customize the look and feel of your hosted e-mail.

You will be able to reach the site by going to http://autodiscover.live.your-domain.com or you can enter an additional CNAME entry in your DNS which is more significant to you and point it to autodiscover.exchangelabs.com

Apparently creating multiple administrator accounts cannot be done easily on the administrative website, but rather using a tool called PowerShell and promoting existing user accounts. Further limitations include that PowerShell will only run on Vista SP1 and Windows Server 2008.

Instructions on doing this are here and here.

[ad]