Configuring the iPhone and your environment for wireless corporate email

I'm posting this as a top level thread, because I'm certain that there are others out there, who like me, are trying to figure this out.
Configuring the iPhone for Enterprise Use
With Apple’s release of the iPhone, IT organizations are presented with an interesting challenge. Senior execs, gadget heads, and technoratti are all flocking to this device, heralded as the be all and end all of smartphone telecommunications technology. As these devices begin to flood into our organizations, we are met with the challenge to ‘make it work’.
After much explaining that the iPhone is not intended for Enterprise integration, and many discussions surrounding the technical feasibility of bringing said devices into the fold, and being the resident Mac and Linux head with an iPhone in hand, I decided to embark on the mission of making one ‘work’. I succeeded in part, however it’s not the kind of ‘work’ that is going to be viable for most end users.
First of all, it’s important to understand that the email client for the iPhone is a modified version of Mac’s Mail program. Not the best client in the world, but it does support Exchange integration. It also does external email sources, such as Yahoo and gMail, very well. For my interest though, I’m focusing on the Exchange integration functionality, as that is just about everyone’s corporate standard.
Bringing this task to fruition requires some understanding about the limitations of the iPhone, as well as some of its current quirks. Wireless802.11x, EDGE, VPN and Mail are all components necessary to provide a serviceable solution for mobile email access, and each of these things has some peculiarities that don’t appear to be fully worked out by Apple at this time.
For instance, within my organization, we have a secured wireless connectivity option available within our building; however, the SSID of this network is not broadcast, for the obvious reasons. SO, connecting the iPhone to it is a manual process of defining the network, and automatic reconnection seems to be very hit or miss, so it becomes far less of an option for any form of direct network access to your Exchange environment. (As an example, I had to redefine that network, on the iPhone, at least half a dozen times during this process.)
The other components have equally quirky issues, and I will discuss the how’s to get around them below.
In coordinating this into a cohesive plan however, I will break this into three sections;
1. Wireless and EDGE connectivity
2. VPN access to your network
3. Connecting to Exchange
So, without further ado;
Wireless and EDGE Connectivity
The wireless capabilities of the iPhone are, on the surface at least, excellent. It connects seamlessly to unsecured networks, offers the option of prompted or unprompted automatic connectivity, and is capable of 802.11G performance. Not bad for such a small package. However, it is very limited in the forms of secure network access it supports. These are, to quote Apple’s website; (and my iPhone)
WEP Password
WEP hex or ASCII
WPA (personal)
WPA2 (personal)
Now, due to the obvious security problems in implementing WEP security, it’s likely that any network you run into is going to be WPA or WPA2. The iPhone ONLY supports the personal versions of these protocols, so be aware of this going into the situation. If you’re not connecting to your work or school wireless, and you’re entering the information correctly, then it’s probably because they have the Enterprise version of one of the protocols enabled. If that is the case, then you’re either hunting for unsecured hotspots, or else depending on EDGE.
In my case, I did have access to a WPA2 (Personal) enabled wireless signal to connect to my internal network. I thought my problem was half solved! I defined the connection, the wireless capability of the phone worked perfectly, and I was connected. I was wrong. Apparently, and judging from the Mac forums I’m not alone in this, the iPhone does not do a very good job of RE-connecting to a secured wireless network. It does an even worse job, when this is coupled with the fact that it doesn’t do a very good job reconnecting to a wireless network with an unpublished SSID.
After much fiddling and research into this, I determined that this simply was not the way to go, and I abandoned the idea. I wasn’t about to compromise my network security in order to get this silly phone working! So, that left me with either unsecured WiFi, or EDGE.
Either one of these connects pretty seamlessly, and gives me a relatively decent Internet connection. There are some issues being reported of the iPhone swapping between EDGE and WiFi for not apparent reason, but that said, it can still be made to work.
Now that I had this connection outside of my network, I obviously had to consider options for getting a secured connection into my network, which of course leads us to;
VPN Access Into Your Network
Being that this device was touted as the ‘real internet’ I was very excited to see if I could achieve this connection through my SSL VPN appliance. To make a long story short, I could not. Because Apple’s idea of the ‘Real Internet’ apparently does not include those wacky concepts like Java support, this proved to be impossible. My Apple cohorts will scream that it does support JavaScript, but we all know that that and 2 bucks will get you a small coffee at Starbucks… and not much more.
(The iPhone also does not support Flash, but that’s a topic for another conversation. I know, how could they leave that out? I’m amazed too, but then Steve Jobs always has been a bit too arrogant for his own good… I mean what does he expect, we’re all going to rewrite everything into QuickTime??? Please.)
Since that option didn’t work, I was left with the wide selection of two possibilities provided within the iPhone software. Either, a PPTP or L2TP VPN tunnel.
We went ahead and configured a PPTP connection on one of our Cisco routers in order to test this. It didn’t work. I couldn’t connect to it. Tried and tried. Nada. SOOOO, we said OK, and configured a L2TP connection on one of our Cisco routers, with similar results.
Figuring that this was something in the config, we called Cisco, and did the technical support dance with them for several days, trying one thing after another to get this connection to actually work. Nothing helped, and it never worked using either protocol. Then, I noticed an obscure article somewhere on some website that said something to the effect that getting one of these tunnels to work from the iPhone to Cisco was nigh on impossible.
About the same time, my senior network guy said screw it, let’s put this on a Microsoft server. And so we did. Now, this is interesting in it’s own right, because configuring out of the box L2TP or PPTP on a Microsoft server results in a default authentication method of Windows Authentication. This does not work for the iPhone, because it has no idea what to do with the Windows security token it receives. So, you authenticate, and then are immediately dropped due to an inability to communicate with the PPP server.
Fortunately, we (as do most organizations) have a Radius server. We selected Radius authentication, configured both sides of the Radius authentication setup properly, and launched the PPTP tunnel…. AND…. EUREKA!!! The iPhone’s VPN software connected, authenticated, got an IP, and I was on the network! Well, no.
After about 2 seconds, I realized that while I did indeed have a connection, I couldn’t do anything with it. Couldn’t even browse to an internal site via IP address. The connection was up, the connection was working, the connection was useless.
So, we decided to give L2TP a shot. Configured it pretty much identically to the PPTP setup, used Radius, launched the iPhone client, and finally, after many days of screwing around, it worked. Now all I needed was to get my email working, so I started working on;
Connecting to Exchange
In the Mail program on the iPhone, the first time you launch it, you’re presented with the ability to configure an email source. However on subsequent or additional accounts, you must go under Settings, Mail to get to this functionality.
Going into the Mail configuration, I selected an additional account, the account type is, of course, Exchange. The configuration components are pretty obvious, however some things of note are;
Do NOT include your domain information in the User Name field
For all Host Names, use the fully qualified domain name of the server, or else IP
You WILL need to have SMTP enabled somewhere in order to send email
Anyway, I set all this up, and nothing happened. It said that my server was not responding. Did a little research, and it turns out that the only way to connect to Exchange is through an IMAP4 connection, and just in case you didn’t know, IMAP4 is disabled by default, so you have to enable and configure it.
Went onto the Exchange server, set the service to Auto, Started the listener, and finally, at long last, EUREKA! I finally had Corporate email on my iPhone, connecting securely, and not sending anything plain text anywhere. Hooray!
Now for the problems with this solution;
First of all, it depends upon VPN access into your environment, something that you may or may not be comfortable with. One good thing is that the iPhone does prompt for password to reconnect, and will tie the continuity of the VPN connection into the general phone lock security, such that an inability to provide the appropriate access code to a locked phone results in the VPN not being accessible.
The VPN of course is dependant upon a reliable network connection. I’ve noticed that it’s somewhat graceful in switching between WiFi and EDGE, however it’s not totally graceful, and you can experience some hinky things, like being able to send and not receive, or the mail client saying ‘Connecting’ for about 5 minutes before it figures things out.
The best cure for this is to simply stop and restart the VPN connection. Note that when you reconnect, the first attempt will prompt you for a numeric password, this is meaningless unless you have the device lock turned on. Just enter anything. (I think this is another bug) THEN it will re-prompt you for your real VPN password.
This solution for email delivery is obviously dependant upon the VPN connection being active. I’ve noticed that at times the iPhone will disconnect the VPN (probably when service switching) and not bother to mention it. When that happens, of course the VPN must be restarted.
For the lazy, this is an inconvenient solution because while it would appear that the iPhone will cache the VPN password, in fact it will not. That means that each re-launch requires that you re-enter your password. Not terrible for me, but I could see it being very tedious for the average corporate user.
The OSX Mail client has several little deficiencies, which may or may not impact your use of the device in this manner. For instance, if you have subfolders defined for your inbox, and server side rules to move mail into them, then you will not see any synchronization of that mail until you actually select the subfolder. Also, since there is such poor management of attachments and downloads, moving anything around via email on this device is nigh on impossible.
EDGE access to your corporate email, via a VPN, is a bit sloooooow. It works, it’s certainly fast enough for my purposes, but it’s not the slick quick access that we’ve all become accustomed to with Blackberry and Good devices. The lack of 3G support becomes a very noticeable shortcoming here.
(Why Apply didn’t simply partner with Good Technologies to crank out a client for this thing, I’ll never understand, but I guess you can refer to my comment above about certain people’s arrogance.)
The biggest problem of all of course is that it’s simply klugey. I hate klugey. But, with the capabilities at this device’s disposal, and given Apple’s ambitious, if a bit idiotic, stance that no third party will develop software for the iPhone, then this is about as good as it’s going to get for now.
It is my understanding that overseas there is some initiative underway to provide a more seamless Visto or Synchronica integration for enterprise email. However, given Apple’s unbelievably restrictive agreement with ATT regarding this device and the OTA necessity of delivering the client, I seriously doubt if we’ll see this in the near future in the US.
But I digress, so…
In Conclusion
This solution is not for the faint of heart, it doesn’t work all that well, and it has way too many moving parts that are subject to failure. However, I would say that this solution is serviceable for the corporate technology professional who needs email, and really, REALLY wants the other features of the iPhone. (ie, phone whores such as me.) It requires patience, it requires an understanding that this is not a 100% thing, and there definitely needs to be a prebuilt expectation that this device will not serve your email in anything approaching the manner to which you’ve become accustomed.
As long as all of that is okay though, then go right ahead, set it up, and enjoy!
The Short Version;
(I put this at the end because I want everyone to feel my pain!)
Wireless:
Use unsecured wireless or EDGE. Secured wireless may be serviceable as long as the SSID is broadcast, but there are known issues with this.
VPN:
L2TP, shared secret, running on Microsoft server, with Radius. (May work elsewhere, but doesn’t seem to run on Cisco at all) Accounts enabled for external access.
Exchange:
Configure IMAP4 Virtual Server on your Exchange environment, ensure that you have some SMTP resource for outbound email, use fully qualified domain names for all servers (or IP) in the mail config and do not include any domain prefix or suffix for user accounts.
The BIG Disclaimer at the End
Please note that all of this is provided ‘as is’. It worked for me, and I hope it works for you. To my knowledge, it’s not endorsed by Apple, and I’m not in the business of providing support for this thing. If it breaks something, if it doesn’t work, or if you simply don’t like it or me, I don’t care. However, if you have a question, and I’m not busy, and I feel like answering, I may lend a hand. You can email me at
Matthew dot Yotko at mac dot com
Don’t be surprised or offended if I don’t answer. Also, understand that I don’t check this address every day… Maybe a couple times a week.
Macbook Pro   Mac OS X (10.4.10)   iphone

Thanks, now I understand why the wifi keeps dropping. On my personal wireless network, it also seems the distance from the access point is not good compared to my laptop. At work our network & exchange teams don't seem to have the desire to struggle with this "toy" until customers start forcing its adoption. I am using OWA and it works fine over EDGE. I will share your posting with them.
Thank you again.
Dell   Windows XP Pro

Similar Messages

  • When I updated to the new version for the IPhone and selected ICloud for backup location, my Notes have disappeared and you are no longer on my Desktop either.  Where did they go?

    When I installed iOS5 on my IPhone4 and selected ICloud for my storage location, all my Notes disappeared off my IPhone & Desktop.  Where are they?

    There must be a big pile of notes somewhere cause the same thing happened to me. If you find them let me know.

  • What are the ASC11 and hexadecimal characters for wireless passwords?

    I am trying to set up my wireless airport and have no clue what these characters are. I use a cable modem and a router for my current setup but now have an Extreme  and Express to go wireless. I remember seeing a diagram for setting up a home network but can't locate it now that I need it.
    Thanks in advance for any help.

    Are the characters numbers? Letters? OR????
    Are they to be entered in a certain order or font???

  • We used the same id for her phone an sisters iPod now everything goes to her phone is there anyway to change it on the iPhone and keep it for the iPod

    We set up the iPhone with the same Apple ID an password is there anyway to change if on the iPhone am still keep it for the ipod

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw

    I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw  so  everyone that shares my iPad can  oppen my mail  with  no pw  required.
    Thank

    The iPad is designed to be a single user device, and there is currently no way to password protect the Mail app - even removing the account password from Settings > Mail, Contacts, Calendars will just prevent new mail being downloaded, it won't hide those that have already been downloaded. There is this work-around for the app : https://discussions.apple.com/message/13127632#13127632 . Also there might be third-party email apps that feature password protecting.

  • I have a isic card and i am a student and i want to see if you have any discount for app for apple and for the i phones and if i have the b.o.box in the us can i buy the iPhone from your site

    i have a isic card and i am a student and i want to see if you have any discount for app for apple and for the i phones and if i have the b.o.box in the us can i buy the iPhone from your site

    Apple does not offer educational discounts on the iPhone. I don't know what you mean by "app for Apple".
    Regards.

  • Hi all, i just updated my iphone 3gs with 5.0 ios version and now i cannot configure the iphone with it because itunes is not recognizing my iphone

    hi all, i just updated my iphone 3gs with 5.0 ios version and now i cannot configure the iphone with it because itunes is not recognizing my iphone

    Contacts are NOT part of the iTunes backup.  If you had read the User Guide when you got your phone, you would have learned that Apple recommends you synch your contacts for safekeeping to your computer (Outlook, Address Book) or a cloud service.  Using the phone as your only source of your contacts is foolish as the phone can easily be lost, damaged, stolen, or the data become corrupt.
    If you've been using your phone as strongly recommended, your contacts are safe and sound on your computer or cloud service ready to be synched back to your phone.  Of course, you should be backing up your computer regularly as well.
    If you haven't been doing this, your contacts are likely gone. 

  • I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes  it synced evrything but the contacts and othe minior things were the only things that really transfered  my apps and all my

    I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes.  It synced evrything but the contacts and other minor things. those were the only things that really transfered.  My apps and all my music did not. Tthe thing is when i just went to go manually start dowmloading a few of the songs that i knew i already bought , itunes is making me pay forthem again.  Its not saying instal like it usuall does when you go download something aleady purchased on your itunes account.  I think or thought it might have something to do with the fact that i just changed my apple id name right before i got my new phine but my apps all re-downloaded (manually-no syncing) without making me pay for them again.  i dont want to have to purchase allllll my songs again.  Can someone please help me!!  Itried going back to my old id or signing out of this id and signing in as my old apple id but now it wot even get on that oneits likjeit doesnt exist anymore..   And when i plug my old phone it shows in the itunes everything thats supposed to be there but all that doesnt stay in the itunes when i actually un plug it so when i plug my 5 in to my computer none of the stuff is in the store for me to actually transfer it  I am so good with technology and this has me stumped  please help

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • Hi All, I am using iphone in UAE and ipad in India usinging same apple id. Earlier I could do imessage  to my Ipad with different name but with  software update,I am unable to do, as signing id for the iphone and ipad is same.How to restore back

    Hi All, I am using iphone in UAE and ipad in India usinging same apple id. Earlier I could do imessage  to my Ipad with different name but with  software update,I am unable to do, as signing id for the iphone and ipad is same.How to restore back

    I believe because you migrated from a Nokia to an iPhone you need to register the Bn phone number with your Apple ID so it can be used for iMessage. The Pn number seems to be the only one registered
    Go here > https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Manage your Apple ID and see if that does the trick
    Hope that helps

  • I have set up a Netgear dual band modem which works well with the iPhone and an older MacBook, but with this brand new MacBook it asks for a password every time I reopen the computer and open safari. Is it Lion?

    I have set up a Netgear dual band modem which works well with the iPhone and an older MacBook, but with this brand new MacBook it asks for a password every time I reopen the computer and open safari. As you can imagine this is very annoying. It says I am not connected to the internet and offers me a choice of nearby networks including mine and then asks for a password when I select it. Why does it do this with our new MacBooks (also with my son's brand new one) and not with the iPhone, iPad and older MacBook? They happily automatically connect to our network after entering the password just the once.

    Sig, I appreciate you trying to be helpful. I have no idea what issues you were having or what issue exactly pgrounds has been having. Your assumption that everyone's set up is the same as yours is false however. There are many many documented WiFi issues that are a result of Lion installs. Many have been solved by 10.7.1 and 10.7.2. Others have been solved by a large variety of work arounds. Others have not had their issues solved yet.
    I am one of those. I have an IT background, and I spent the better of five hours digging up workarounds and attempting all of them. For the benefit oh anyone who is having similar issues, I have posted links to all of those workarounds here. None of them worked in my case, but hopefully they will help pgrounds or others.
    So, once again, if you have a new idea, I'd love to here it. But if it has already been posted in one of these links, it's not helpful, let it go.
    http://osxdaily.com/2011/07/22/wifi-dropping-in-os-x-lion-fixes/
    http://osxdaily.com/2011/11/06/lion-wi-fi-problems-solution-mac/
    http://blog.chron.com/techblog/2011/09/want-to-really-repair-permissions-on-your -mac-try-this/

  • If I'm reading a book on the iPhone and I want to pick up where I left off on my iPad, do I have to search for what page I was on on the iPad or is there a way to sync it?

    If I'm reading a book on the iPhone and I want to pick up where I left off on my iPad, do I have to search for what page I was on on the iPad or is there a way to sync it? Or do I just have to search for a string of text from my iPhone on my iPad?

    On both devices go to Settings>iBooks>Sync Bookmarks>On. Then when you want to quit reading on one device, tap the bookmark in the upper right corner and it will turn red. That marks your place. Close the book on the device now by tapping on the Library button in the upper left corner of the app. That will put the closed book back on the shelf. Tap the home button.
    On the other device, when you tap on the book, it should open to that page. You have to be connected to WiFi in order for this to work. You can read this older discussion for more information. I was involved in that as well.
    https://discussions.apple.com/thread/3754714?start=0&tstart=0

  • I would like to sync Notes between my MacBook Air and the IPhone and/or IPad.  I used to tick a box in Itunes (info), but for some reason it is no longer there.  How do I go about doing the sync?

    I would like to sync Notes between my MacBook Air and the IPhone and/or IPad.  I used to tick a box in Itunes (info), but for some reason it is no longer there.  How do I go about doing the sync?

    The only way to sync Notes is through a mail server. If you don't want to use iCloud, you'll have to use some other mail account, or run your own mail server under OS X Server. The latter is a job for advanced users only.

  • Itunes is saying its waiting on the Iphone and I have left it for over 2 hours, what do I do?

    Itunes is saying its waiting on the Iphone and I have left it for over 2 hours, what do I do?

    Are you trying to activate your phone?
    I'm reading in other threads, the apple activation sever is currently down.

  • Hello my iphone 3gs just been stolen how can i block the iphone and how could i track it i don't know for sure if i have find my iphone? please help i got many accounts on it and i don't have a passcode :((

    hello my iphone 3gs just been stolen how can i block the iphone and how could i track it i don't know for sure if i have find my iphone? please help i got many accounts on it and i don't have a passcode :((

    It was never free for the 3GS.
    It is if the initial sign-up is done on an iPhone 4, iPad or iPod touch 4th gen.
    From http://support.apple.com/kb/HT4436:
    After I sign up for Find My iPhone for free, can I use it on other iOS devices?
    Yes, if your devices are running iOS 4.2. For example, you can sign up for Find My iPhone for free on your iPad and use the same account information to sign in to MobileMe on your iPhone 3GS and turn on Find My iPhone.

  • My iPod has not been working for a month now and i was hoping that you could help me.The part where you charge and sync the iPod is not connecting.There is defiantly not the lead as we use it for the iPhone and that works please could you help!

    my iPod has not been working for a month now and i was hoping that you could help me.The part where you charge and sync the iPod is not connecting.There is defiantly not the lead as we use it for the iPhone and that works please could you help!
    yours sincerly
    jackfromsurrey

    What I am saying is ..........
    The iPhone HAS to be active making calls on the UK carrier network for the carrier to identify as "theirs" and therefore eligible for the Carrier to unlock
    The way to achieve this is to use a PAYG sim making and receiving calls to establish a customer relationship  with the Carrier and then follow the Carrier's process to unlock
    With a PAYG it usually means adding a specified (by the carrier ) amount  usually £15 /£20 depending on the carrier
    This is how O2 function and according to Gemma  this is how Vodafone work

Maybe you are looking for