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.
- 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.
- 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 selectStop and restart the Default IMAP4 virtual server. Now you have enabled the use of the SSL certificate with IMAP4.
, 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.
- 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.
- 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
/ / Enter the password for the user.
- 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.
- 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.
- 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:
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