• Home
  • About
    • Stephen Foskett
      • My Publications
        • Urban Forms in Suburbia: The Rise of the Edge City
      • Storage Magazine Columns
      • Whitepapers
      • Multimedia
      • Speaking Engagements
    • Services
    • Disclosures
  • Categories
    • Apple
    • Ask a Pack Rat
    • Computer History
    • Deals
    • Enterprise storage
    • Events
    • Personal
    • Photography
    • Terabyte home
    • Virtual Storage
  • Guides
    • The iPhone Exchange ActiveSync Guide
      • The iPhone Exchange ActiveSync Troubleshooting Guide
    • The iPad Exchange ActiveSync Guide
      • iPad Exchange ActiveSync Troubleshooting Guide
    • Toolbox
      • Power Over Ethernet Calculator
      • EMC Symmetrix WWN Calculator
      • EMC Symmetrix TimeFinder DOS Batch File
    • Linux Logical Volume Manager Walkthrough
  • Calendar

Stephen Foskett, Pack Rat

Understanding the accumulation of data

You are here: Home / Everything / Apple / A Few iPhone Exchange ActiveSync Gotchas

A Few iPhone Exchange ActiveSync Gotchas

July 21, 2008 By Stephen 62 Comments

This blog post is probably out of date. If you want to set up Exchange ActiveSync, you should instead consult one my guides:
iPhone Exchange ActiveSync Setup iPad Exchange ActiveSync Setup
iPhone ActiveSync Troubleshooting iPad ActiveSync Troubleshooting

I’ve been running OS 2.0 on my (first-generation) iPhone for a week and a half now, and as I mentioned before, Exchange ActiveSync push email, calendaring, and contacts was one of the main things Iwas looking for when I upgraded.  That article on setting up ActiveSync has since become my top blog post by far, pulling in literally thousands of hits per day, so I must not be alone in wanting this functionality.

But it turns out that the green grass of iPhone/Exchange integration has a tint of brown.  Folks have experienced issues getting the service set up, and it guzzles battery juice like a toddler at a lemonade stand.  Read on for my notes and suggestions…

For the most up-to-date information, see my iPhone Exchange ActiveSync Guide!

This post is part of my series focused on integrating the iPhone with Microsoft Exchange using ActiveSync:

  • iPhone OS 3.0 information:
    1. First Look: iPhone 3.0 And Exchange ActiveSync Integration
    2. How To Subscribe To Internet Calendars In iPhone OS 3.0
    3. How To Access LDAP Directories In iPhone OS 3.0
    4. iPhone 3.0 Exchange ActiveSync: Better But Not Perfect
  • How To Set Up iPhone Exchange ActiveSync
    1. A Few iPhone Exchange ActiveSync Gotchas
    2. Can the iPhone Sync With Multiple Exchange Servers?

Which Server?

By far the biggest problem folks have encountered when trying to enable Exchange ActiveSync on the iPhone has been finding the correct server name.  Update: It turns out that Exchange 2007 has an Autodiscovery service for ActiveSync devices, and the iPhone supports and attempts to use this.  But it will fail for anyone using Exchange 2003 or with an admin that turned this off…

If Autodiscovery fails, you have to manually enter the address.  Most Exchange implementations have a variety of different servers these days, each with a unique hostname and IP address:

  • The main Exchange server, which is normally only used for internal or VPN connections to Outlook using the MAPI/RPC protocol and often has an excitingly-weird name like em22dc.yourcompany.com.  This is not what you are looking for.
  • The external Exchange server for RPC over HTTPS connections from Outlook, which often has a nicer name like rpc.yourcompany.com.  This is also not what you’re looking for.
  • The Outlook Web Access server used by Entourage and for accessing mail using a web browser, which is often called “owa.yourcompany.com”.  Getting warmer, but still not the right one.
  • Entourage also uses an LDAP server, often called “ldap.yourcompany.com”, and might alias the OWA server as “dav.yourcompany.com”.  Still not the right server for the iPhone.
  • The one you want is the ActiveSync server, sometimes called “oma.yourcompany.com” since it’s mainly used for Outlook Mobile on Windows Mobile devices.

If your techies don’t know the first thing about the iPhone, change your tactics.  Ask them which hostname they enter when configuring Windows Mobile smartphones and PDAs – these are very common, and this is the server you need with the iPhone!

One more thing:  You might get lucky and find that one of those other server names works for the iPhone’s ActiveSync.  This does not mean you’re using DAV or OWA on the iPhone – instead it means that they set up two services on the same hostname.  But I haven’t seen this myself.

The Problem With Push

Let me start by saying that, so far, the push email experience with Exchange ActiveSync to the iPhone has been flawless for me. Amazingly, messages appear on my iPhone before they show up in Outlook on my PC, which is online with RPC over HTTPS.  Whatever Apple (and Microsoft) did to enable push email certainly worked well! Perhaps a bit too well, though.  After using ActiveSync push for a few days, I noticed that my battery was draining by early afternoon.

At first, I chalked this up to increased usage of the phone’s new features.  But having spent the day (mostly) ignoring the phone while on vacation, I was shocked to see the battery icon turn red before dinner.  Clearly something was eating my battery alive!

As an experiment, I turned off push in the iPhone’s Settings pane, opting for manual just to be safe. Are you surprised to learn that my battery was green all the next day?  In fact, it barely used any power at all, even with 30-minute IMAP updates from Google Mail still running.

Note that the Push settings have been moved under “Mail, Contacts, Calendars” in OS 3.0.

Clearly ActiveSync push is a major battery hog, and I would imagine that 3G would be even worse than the miserly EDGE in the first-generation phone! What to do?  You’ve got just a few choices:

  1. Go back to IMAP fetch and lose Exchange integration (boo!)
  2. Leave push enabled but plan to charge up more often or use WiFi, which is much more battery-friendly.
  3. Switch Exchange from push to fetch, which leaves the integration intact but doesn’t guzzle the juice as quickly
  4. Switch Exchange to manual update, which is very battery-friendly

I have decided on option 3 when I’m out and about to conserve battery power, since most of my email can wait a few minutes.  And if I’m low on juice, I’ll switch over to option 4.  But if I’m in the office, with my most-excellent WiFi and broadband connectivity, I’m leaving push enabled.

I think it’s worth noting that the push settings are stored in a separate control panel from the other mail settings, which is either an odd gaffe or an indication that other non-mail push options will eventually be added here.

  • There’s a master switch on the main panel (shown above) which is nice, since you can quickly turn off all push to conserve juice.
  • I’d love another setting option of turning off push mail based on battery level or on a schedule, like the BlackBerry has.
  • You can also tweak the master fetch schedule setting here.
  • Tap Advanced, and you can set each account’s settings – select push, fetch, or manual for each account based on your own preferences.  If I was using MobileMe for personal email, I might be tempted to turn off push just for that account, since my spam can wait!
  • One more thing – notice that you can set the name of your mail accounts to something other than your email address.  That’s done in each account’s settings panel.

Hopefully, these two suggestions will help the multitude of folks who are having problems with Exchange ActiveSync on the iPhone.  Drop me a line if I can be of more help!

You might also want to read these other posts...

  • Go Get a ProtonMail Account and Protect Your Online Life!
  • How To Turn On Bluetooth In Mac OS X Using Only The Keyboard
  • The iPhone Revolution 10 Years Later
  • Apple Packs PCIe SSD Alongside PC-Fast CPU and…
  • Throwback Thursday: Remember When a Bluetooth…

Filed Under: Apple, Terabyte home Tagged With: ActiveSync, Apple, email, Exchange, fetch, iPhone, push, RPC

Technology is anything that wasn’t around when you were born.

Alan Kay

Subscribe via Email

Subscribe via email and you will receive my latest blog posts in your inbox. No ads or spam, just the same great content you find on my site!
 New posts (daily)
 Where's Stephen? (weekly)

Download My Book


Download my free e-book:
Essential Enterprise Storage Concepts!

Recent Posts

Add a Mirror to an Existing ZFS Drive

December 11, 2017

How To Remove Raw Images From Apple Photos and iCloud

How To Remove Raw Images From Apple Photos and iCloud

July 24, 2017

Recalling An HP MediaSmart Server To Active Duty

Recalling An HP MediaSmart Server To Active Duty

July 21, 2017

Go Get a ProtonMail Account and Protect Your Online Life!

Go Get a ProtonMail Account and Protect Your Online Life!

July 19, 2017

ZFS Is the Best Filesystem (For Now…)

ZFS Is the Best Filesystem (For Now…)

July 10, 2017

Co-Processors, GPGPU, and Heterogeneous Computing

Co-Processors, GPGPU, and Heterogeneous Computing

June 26, 2017

What is OCuLink?

What is OCuLink?

June 22, 2017

Storage is Getting Cloudier!

Storage is Getting Cloudier!

June 21, 2017

Where Have All The GPU’s Gone? Cryptocurrency Mining!

Where Have All The GPU’s Gone? Cryptocurrency Mining!

June 11, 2017

Turn Off Error Recovery in RAID Drives: TLER, ERC, and CCTL

Turn Off Error Recovery in RAID Drives: TLER, ERC, and CCTL

May 30, 2017

Symbolic Links

  • Cisco’s Latest AP is Mind-Blowing (and a quick history lesson)

  • E8 Storage Announces InfiniBand Support

  • Wireless Controller Extinction?

  • Using GnuCash as a Freelancer to Track Finances and Prepare Taxes

  • Do We Need Regulations For IoT Security?

Featured Posts

The Terrifying True Story Of Virtual Machine Mobility

December 22, 2011

It’s Time To Move Beyond Passwords (Especially On Web Sites)

January 8, 2016

MacBook Users: Encrypt Your Drive with OS X FileVault! It’s Easy and Free!

December 20, 2012

New England Takes On Seattle To Determine Who’s Number 2 … In Tech!

January 19, 2015

What’s the Deal with Containers?

October 21, 2016

The iPhone Revolution 10 Years Later

January 9, 2017

My 2012 Project: Improving Energy Efficiency

January 3, 2012

Are You a Hypervisor Hugger or a Storage Stalwart?

November 14, 2011

EMC Redefine Possible (TL;DR Edition)

July 9, 2014

Debit or Credit? Always Choose Credit!

December 19, 2013

Copyright © 2018 · Log in