August 06, 2007

Getting your iPhone to Sync with Exchange 2003


RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A few weeks ago, a client asked me whether the Apple iPhone would work with Microsoft Exchange Server because the client wanted to purchase one when they were released. I suggested that he wait a few months until Apple worked out the bugs. As you know, the iPhone doesn't work with ActiveSync, however it does support IMAP. The client ended up purchasing an iPhone anyway and I was tasked with getting it to sync with Exchange. Ideally, you should use Secure IMAP/IMAP with SSL so your user name and password aren't sent in clear text across the Internet. Here are some guidelines for setting up Secure IMAP with Exchange Server 2003.

  1. Verify that the IMAP service is started. If you have an Exchange front-end server, make sure the Microsoft Exchange IMAP4 service is started. If you don't have an Exchange front end server, make sure that the Microsoft Exchange IMAP4 service is started on the server that contains the mailbox that you want to sync up with the iPhone. Set this service to start automatically when the server is restarted.
  2. Configure Secure IMAP. If you already have an SSL Certificate installed on your Exchange Server for Outlook Web Access (OWA), you’re in good shape. If you don't have an SSL certificate installed on your Exchange server you must either install Certificate Services on Windows Server 2003 and issue an SSL certificate or purchase a commercial certificate through an SSL provider such as Network Solutions or Thawte. The process of installing an SSL certificate has been well documented, so I’m not going to cover it here. To configure Secure IMAP, perform these steps.

    
    a.	Open Exchange System Manager (ESM) and select , Administrative Group, , Servers, , Protocols, IMAP4.
    b.	Right-click the Default IMAP4 Virtual Server and select Properties.
    c.	Select the Access Tab, and click the Certificate button.
    d.	Click Next.
    e.	Select Assign an existing Certificate and click Next.
    f.	Select the appropriate SSL Certificate and select Next.
    g.	Click Next, then click Finish.
    
    Stop and restart the Default IMAP4 virtual server. Now you have enabled the use of the SSL certificate with IMAP4.
  3. Get the Exchange Alias. Start Active Directory Users and Computers, and right-click the user account and select Properties for the user who wants to use an iPhone with Exchange. Click the Exchange General Tab and note the Alias name. You'll need it in the next step.
  4. Verify that you have IMAP and SSL working properly. I suggest you configure an account to connect with IMAP4 using Outlook Express with a computer that's located on the internal network. This will verify that you have IMAP and SSL properly working before you configure the firewall. Start Outlook Express and set up an account. When you specify your Incoming and Outgoing servers, make sure to specify that your incoming mail server is an IMAP server and not a POP3 server. When you specify your login account, it must be in the format of <netbios_domain_name> /<user_name> /<exchange_alias> Enter the password for the user.
  5. Enable SSL with IMAP in Outlook Express. After you have set up the account for the user, right-click the profile you just established, select Properties, and click the Advanced tab. Select the “This server requires a secure connection (SSL)” checkbox for both inbound and outbound mail and click OK. Click the Account you just created and then click the IMAP folders button to obtain a list of folders from the Exchange server. If you have difficulty connecting to your Exchange server with IMAP, double-check your settings specified in the previous steps and make certain that you have the correct for the account.
  6. Configure the firewall. After you can connect with Outlook Express from within your network, make sure to configure your firewall to allow an inbound connection on TCP port 993 (SSL with IMAP4) to your Exchange server. After the firewall is configured, make sure you can connect to your Exchange server with IMAP4 using Outlook Express on a computer that's outside of your firewall. If you have difficulty connecting, double-check your firewall settings.
  7. Configure your iPhone. Set up the IMAP profile on the iPhone. As I recall, you have to specify the user name and password on one line, as this example shows:
    <netbios_domain_name> /<user_name>/<exchange_alias> <password>
    
    Make sure to leave a space between the account information and the password.
Happy iPhone syncing!

Tip: ESX Disk Space Allocation
Unlike VMware Server and Virtual Server 2005, VMware ESX Server requires that you pre-allocate the entire guest’s hard drive when you create it. The upside is less disk fragmentation and better performance for the guest, but the downside is this requires more disk space. This is especially true if you plan to create several base images to speed up the process of creating new guests on ESX. This may require more disk space on your ESX server. Plan accordingly.

End of Article



Windows IT Pro Community
Blogs





Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Where is Microsoft NetMeeting in Windows XP?

...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events Security Summit

Storage Consolidation for Your Microsoft Applications: Reducing Cost and Complexity

How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


SQL Server Magazine Office & SharePoint Pro Windows Dev Pro ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing