4.12 Apple iPhone
Prev | Chapter 4 Data synchronization with mobile devices | Next

## 4.12 Apple iPhone

### 4.12.1 Apple iPhone 1.0

Kerio MailServer provides support for Apple iPhone 1.0 mobile devices. This support allows to receive and send email and synchronize calendars and contacts:

- Email can be send and received via standard email protocols or synchronized with desktop applications (Apple Mail and Outlook Express) via Apple iTunes.

- Contacts and calendar can be synchronized with desktop applications via Apple iTunes. Calendar and contacts can be synchronized with applications Apple iCal, Apple Address Book and Microsoft Outlook (XP, 2003 and 2007).

- Safari supports both full version of Kerio WebMail and Kerio WebMail Mini.

To enable Apple iPhone support in Kerio MailServer, installation of iTunes 7.3 or higher on user stations is required. iTunes is used for synchronization of desktop clients with Apple iPhone.

Synchronization between desktop applications and Apple iPhone requires the following operating systems:

- Windows XP Service Pack 2 and later

- Mac OS X 10.4.10 and later.

#### Kerio WebMail in Safari

Safari inbuilt in Apple iPhone supports connection to the Kerio WebMail interface. It is possible to connect either to the full version or to the Mini version of Kerio WebMail. For smooth use, it is recommended to follow these instructions:

Kerio WebMail — full version

  Full version of Kerio WebMail is recommended, especially when connection to the Internet is performed via Wi-Fi. The full version allows working with notes, calendar and tasks. These items are not available in Kerio WebMail Mini.

  ### Warning

  In full version of Kerio WebMail, it is possible to create or remove contacts, events, tasks and notes, but existing items cannot be edited.

Kerio WebMail Mini

  Kerio WebMail Mini is recommended especially when connecting to the Internet via EDGE. It provides faster connection to the mailbox and simplified environment where neither zoom or scrolling is needed. On the other hand, Kerio WebMail Mini allows to work only with email folders, contacts and folders (folder management).

#### Email

On Apple iPhone, email accounts can be set either manually or it is possible to use the automatic configuration:

Automatic configuration

  If you read mail in Apple Mail on Mac OS X or in Outlook Express on Windows, email messages will be automatically and without any settings synchronized over Apple iTunes.

Manual configuration

  Apple iPhone also allows standard email account settings as know for example from MS Outlook or Apple Mail. This implies that when the account is set up, email will not be synchronized with the email client and Apple iPhone will connect directly with the mailserver (over Wi-Fi or EDGE). To set the account, follow these instructions:

  1. Go to the Settings menu and select Mail.

  2. Select Add Account.

  3. In the next dialog, click on Other.

  4. The account settings dialog includes three account types — IMAP, POP and EXCHANGE. Any of them can be used for connection to Kerio MailServer. However, it is recommended to choose IMAP (default) or EXCHANGE. POP accounts work like this: the protocol downloads all email in Apple iPhone and the email in no longer available on the server. Therefore, if we connect to the account by another email client (e.g. by MS Entourage), the messages already downloaded in Apple iPhone will not be there.

  5. Once an account type is selected, specify your full name, email address and account description (the description is useful especially when you will use more accounts on the same device).

  6. Set configuration for incoming email:

     - Host Name — internet name or IP address of Kerio MailServer (example: `mail.company.com` or `212.45.62.2`). If you do not know your server's name, contact your administrator.

     - User Name — username which you use for connection to the server (example: `dbeckham`).

     - Password — user password used for authentication at the server.

  7. Set configuration for outgoing email:

     - Host Name — internet name or IP address of Kerio MailServer (example: `mail.company.com` or `212.45.62.2`). If you do not know your server's name, contact your administrator.

     - User Name — user name used for connection to the server (this item is optional, your network administrator will inform you whether it is necessary to specify it or not).

     - Password — user password used for authentication at the server (this item is optional, your network administrator will inform you whether it is necessary to specify it or not).

  8. Click Save to save your account settings.

  Now it is necessary to set correct folder mapping:

  1. Reopen account settings and select Advanced (scroll down to the end of the account).

  2. Change mapping for these items: Drafts Mailbox → Drafts, Sent Mailbox → Sent Items and Deleted Mailbox → Deleted Items.

#### Events and Contacts

Direct synchronization of Apple iPhone with Kerio MailServer is not supported. Calendars and contacts can be synchronized only over the desktop application Apple iTunes version 7.3 and higher:

Events

  Events can be synchronized with the following applications:

  - Apple iCal — all calendars can be synchronized.

  - MS Outlook — only the default calendar's events can be synchronized.

  - Windows Calendar — iTunes do not support this synchronization.

Contacts

  Contacts can be synchronized with the following applications:

  - Apple Address Book — all items of contacts can be synchronized.

  - MS Outlook — all significant items are synchronized; only one contact folder is synchronized; synchronization of distribution lists is not supported.

  - Windows Contacts — all contact items are synchronized; distribution lists are synchronized as so called group.

### 4.12.2 Apple iPhone 2.0

This section addresses both Apple iPhone 3G and Apple iPhone 1.0 with the OS X 2.0 firmware.

In additions to all options available also for OS X 1.0, Apple iPhone with OS X 2.0 supports the ActiveSync protocol for direct data synchronization. This implies that now Kerio MailServer in cooperation with Apple iPhone 2.0 provides the following options:

- Apple iPhone allows synchronization of:

  - email,

  - calendar,

  - contacts.

- Apple iPhone fully supports so called “Device Wipe”, the device clean-up feature. In short, the device can be cleared (deletion of all data and settings) remotely in case that it gets lost or stolen.

  ### Warning

  If you happen to lose your Apple iPhone or it gets stolen, contact your network administrator immediately to get the device wiped remotely.

- DirectPush Technology — this technology allows mobile devices to keep open HTTP(S) connection with the server. Whenever a new item is received or any change is performed in any folder, changes are synchronized immediately.

- Global Address Lookup — this feature allows look-up of email addressed in contact folders.

#### Account settings

To configure ActiveSync (Exchange), follow these guidelines:

1. In Apple iPhone, go to Settings → Mail, Contacts, Calendars.

2. Select Add Account.

3. Select the Microsoft Exchange account type.

4. Enter the following account data:

   Email

     Enter the primary email address consisting of username and domain (e.g. `jflyhigh@company.com`, where jflyhigh is a username and company.com is an email domain).

   Server

     Enter DNS name of Kerio MailServer.

   Username

     Enter username for login to your Kerio MailServer mailbox.

   Password

     Enter password for your mailbox.

   Description

     This is an optional entry. The description is helpful especially if you intend to use multiple accounts.

   Use SSL

     This option allows encryption of any traffic between the server and the device. It is highly recommended to keep the option enabled to protect your connections from debugging and misuse.

     To enable traffic encryption, it is necessary that an SSL certificate is installed in Kerio MailServer. To get the certificate, go to the Kerio WebMail login page in Safari (see section 1.2 Authentication to Kerio WebMail) and click on Download SSL certificate.

5. In the dialog opened, select which folder types will be synchronized. Uncheck only items you would really not use.

6. Once the settings are saved, the Mail days to sync item appears — open it and set how old items will be involved in synchronization. This measure helps avoid that the synchronization takes too long and that too much needless data is downloaded.

At the end, set how often the synchronization will be performed. This can be done in Settings → Fetch New Data. On the Advanced tab, you can also find setting of synchronization type for your Exchange account.

### 4.12.3 Apple iPhone 3.0

In Apple iPhone 3.0, all features for Apple iPhone OS 1.0 and 2.0 are available (see sections 4.12.1 Apple iPhone 1.0 and 4.12.2 Apple iPhone 2.0).

Newly, the following features have been introduced for Apple iPhone:

- CalDAV protocol (allows calendar synchronization),

- standard iCalendar (allows to download shared and public calendars for reading),

- LDAP protocol (allows to access contacts via LDAP).

- support for ActiveSync 12.1 (allows direct search in emails stored in Kerio MailServer via Exchange account).

  ### Warning

  Once the upgrade is completed successfully, it is necessary to remove and reconfigure the Exchange account, otherwise the device will keep attempting to connect to Kerio MailServer via ActiveSync 2.5

In addition to features described above, the system introduces other improvements, such as:

- the Copy&Paste method both for text and graphic items during email composition,

- while composing an email message, it is possible to switch the client to the horizontal position,

- notifications of new email delivered to other folders than the Inbox,

- creating and sending invitations from ActiveSync account (including showing of availability of individual users),

- notes synchronization with desktop applications Apple Mail and MS Outlook via Apple iTunes.

For details on individual enhancements and their implementation options, refer to the Apple website. In the following sections, you will find settings applying to the very communication with Kerio MailServer:

#### Configuration of CalDAV account

To configure CalDAV account, follow these guidelines:

1. In Apple iPhone, go to Settings → Mail, Contacts, Calendars.

2. Select Add Account → Other → Add CalDAV Account.

3. Enter the following account data:

   Server

     Enter DNS name of Kerio MailServer.

   User

     Enter username for login to your Kerio MailServer mailbox.

   Password

     Enter password for your mailbox.

   Description

     This is an optional entry. The description is helpful especially if you intend to use multiple accounts.

4. Click on Next to open the Unable to Verify Certificate dialog. If you continue, the connection either fails due to the server's security policy or it is established successfully but the traffic is not protected from tapping. Therefore, it is strongly unrecommended to use unecrypted traffic. To switch to secured connection, click on Cancel and go to Advanced Settings:

   Use SSL

     This option allows encryption of any traffic between the server and the device. It is highly recommended to keep the option enabled to protect your connections from debugging and misuse.

     To enable traffic encryption, it is necessary that an SSL certificate is installed in Kerio MailServer. To get the certificate, go to the Kerio WebMail login page in Safari (see section 1.2 Authentication to Kerio WebMail) and click on Download SSL certificate.

   Port

     Default ports for communication must be changed as follows:

     For HTTPS: 8443 → 443 (to enable the Use SSL option, use port 443)

     For HTTP: 8008 → 80

     ### Note

     The settings apply if standard ports for HTTP protocol are set on the server. If connection to the server with these settings fails, contact your network administrator an check that non-standard ports are not used for Kerio MailServer traffic.

   Account URL

     In the existing URL, change the port number so that it matches the number specified for Port.

To view new calendars, go to the Calendar application by clicking on Calendars. In the list, simply click on the calendar you want to open.

#### Subscription to calendars

To subscribe calendar in the iCalendar format, follow these steps:

1. In Apple iPhone, go to Settings → Mail, Contacts, Calendars.

2. Select Add Account → Other → Add Subscribed Calendar.

3. Enter the following account data:

   Server

     Insert URL in this pattern: `servername/ical`

4. If the account authentication fails, check the following items:

   Server

     Enter URL in a format compatible with calendar subscription. Basic URL follows this pattern: `servername/ical` The basic URL can be used to subscribe to the main calendar of your account. To subscribe to other calendars, use the following (derived) URL patterns:

     `servername/ical/users/domain/user@domain` — URL modified for the purpose of subscription to a shared calendar (e.g. `mail.company.com/ical/users/company.com/wsmith@company.com`).

     `servername/ical/users/domain/room@domain` — URL modified for the purpose of subscription to a resource calendar (e.g. `mail.company.com/ical/users/company.com/interrogationroom@company.com`).

   Description

     This is an optional entry. The description is helpful especially if you intend to use multiple calendars.

   User

     Enter username for login to your Kerio MailServer mailbox.

   Password

     Enter password for your mailbox.

   Use SSL

     This option allows encryption of any traffic between the server and the device. It is highly recommended to keep the option enabled to protect your connections from debugging and misuse.

     To enable traffic encryption, it is necessary that an SSL certificate is installed in Kerio MailServer. To get the certificate, go to the Kerio WebMail login page in Safari (see section 1.2 Authentication to Kerio WebMail) and click on Download SSL certificate.

   Remove alarms

     It is recommended to enable this option, otherwise to se neda prelozit a Vendulka to zmeni.

To view new calendars, go to the Calendar application by clicking on Calendars. In the list, simply click on the calendar you want to open.

### Warning

Download of large shared or public calendars via slow connection (GPRS, EDGE) can result in temporary unavailability of the calendar to other users.

#### LDAP client configuration

To configure LDAP account, follow these guidelines:

1. In Apple iPhone, go to Settings → Mail, Contacts, Calendars.

2. Select Add Account → Other → Add LDAP Account.

3. Enter the following account data:

   Server

     Enter DNS name of Kerio MailServer.

   User

     Enter username for login to your Kerio MailServer mailbox.

   Password

     Enter password for your mailbox.

   Description

     This is an optional entry. The description is helpful especially if you intend to use multiple calendars.

### Warning

Některé typy SSL certifikátů nemohou být aplikací načteny, proto používejte k připojení pouze nezabezpečenou verzi LDAP protokolu.

LDAP search is available in the Contacts application. Simply click on Groups to go to contact lists and select an item to view.

#### Meeting scheduling and availability settings in Exchange account

To create an invitation (for details on invitations and their use, refer to section 1.8.6 Appointments), follow these instructions:

1. On Apple iPhone, run the Calendar application.

2. Create a calendar event.

3. Enter standard information, such as name and location of the event as well as its start and end times.

4. Click on Invitees.

5. Enter or select contact of persons to invite and click on Done.

6. Click on Availability.

7. Select free/busy mode of the appointment to be showed in your free/busy calendar.

Prev | Up | Next
4.11 RoadSync | Contents | Chapter 5 Kerio Outlook Connector (Offline Edition)