howto setup iphone and exchange 2003

Issues and Solutions to problems found with Windows Server 2003

Moderator: stephen

howto setup iphone and exchange 2003

Postby stephen » Wed Oct 21, 2009 3:21 pm

How to setup your Exchange 2003 email to sync with the iPhone

The best way is to have Outlook Web Access working to your exchange server, then on the iphone set up a connection to the Exchange Server.

IMAP as described below has issues in that you get duplicate emails o the iphone when mail is accessed on the PC.


http://blog.monkeykit.com/2007/08/31/how-to-setup-imap4-exchange-2003-email-to-sync-with-your-iphone/

1. make sure you have Service Pack 2 installed on the Exchange Server.
Start
System Manager
Servers
Right Click on your exchange server name
Click Properties
You should see Version 6.5 (build 7638.3: Service Pack 2)

2. Make sure that the IMAP4 service is enabled.
Start
Administrative Tools
Services
right click on Microsoft Exchange IMAP4
change start-up type to Automatic
Click Start

3. Setup the IMAP4 protocol in Exchange
# Go into Exchange System Manager. Expand to Administrative Groups –> GroupName –> Servers –> Exchange_server_2003 –> Protocols –> IMAP4.
# Create a new IMAP4 Virtual Server. New –> IMAP4 Virtual Server…
# Give it a name
# Assign IP to “AllUnassigned“
# A new IMAP4 Server should be assigned in the right pane. Right click on it, and go into properties.
# Leave General tab as is. (unless you want to change the default TCP ports of 143 and SSL port of 993)
# In Access tab, click on “Authentication…” button. If you want to use SSL or have Weboutlook going into SSL automatically, then you do not need the “Requires SSL/TLS encryption” button. Otherwise, you need to check box it. Otherwise your password will be going thru cleartext!!

4. Setup the Exchange 2003 for SMTP (outgoing emails from your iPhone)
# Go into Exchange System Manager. Expand to Administrative Groups –> GroupName –> Servers –> Exchange_server_2003 –> Protocols –> SMTP.
# Create a new SMTP Virtual Server. New –> SMTP Virtual Server…
# Give it a name
# Assign IP to “AllUnassigned“
# A new SMTP Server should be assigned in the right pane. Right click on it, and go into properties.
# Leave General tab as is. (unless you wnat to change the default TCP port of 25)

# In Access tab, click on “Authentication…” button. It should have
Anonymous access unticked
Basic authentication ticked
Requires TLS encryption ticked
Default domain blank
Integrated Windows Authentication ticked.

# Click on the “Users” button and add the appropriate mobile users who will have an iPhone that will be sending. Make sure you only include those you want to be able to send. !!!Otherwise, you will have a nice open SMTP server for all the spammers to spam if you put “everyone”!!! Click OK and OK when you are done with the users and Authentication.
# Skip Messages Tab
# Click on “Delivery tab” and on “Advanced” button
# If this Exchange server you are setting up is a front-end server, you will want to fill the Smart host field with your Back-end Server or whatever server processes your outgoing SMTP requests. If your Back-end server has an IP address of 172.16.62.5, put the IP address in a square bracket. Ie. [172.16.62.5] Click on OK when you are done.


5. Firewall:
Depending on what firewall you have: Cisco Pix, Nokia checkpoint, etc. you’ll need to open the following TCP ports to the front-end Exchange server to the world.

* IMAP4 (ie 143)
* SMTP (ie. 25)
* SSL IMAP4 (ie.993)


6. Exchange Services
Exchange Services:

* You need to set “Microsoft Exchange IMAP4″ Service to Automatic and Start the service.
* You need to set “Microsoft Exchange SMTP” Service to Automatic and Start the service. (if it isn’t already)

Check if you get a login and password prompt at the web site where mail.myserver.com is the url to your exchange server
http://mail.myserver.com/Microsoft-Server-ActiveSync

if your setup is correct you will get the dialog to enter username and password and then you should get the "HTTP/1.1 501 Not Implemented" which means that everything is ok
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to Windsows Server 2003 Issues

Who is online

Users browsing this forum: No registered users and 3 guests

cron