Fortinet black logo

Administration Guide

Sharing calendars and address books (server mode only)

Sharing calendars and address books (server mode only)

FortiMail v5.0 supports calendar sharing and LDAP-based address book sharing. The calendar, meeting schedule, free-busy time, and resources like meeting rooms, projectors, and other equipment usage are also supported.

To be specific, the following features are supported:

  • FortiMail internal calendar sharing from/to FortiMail webmail users
  • Internet calendar sharing from/to FortiMail webmail users
  • Calendar sharing from/to Microsoft Outlook users using WebDAV (Outlook does not support CalDAV)
  • Calendar sharing from/to Mozilla Thunderbird users using WebDAV or CalDAV
  • Address book query from Outlook using LDAP
  • Address book query from Thunderbird using LDAP

Other email clients may also be supported if they support the standard WebDAV and CalDAV protocols.

This section contains the following topics:

Calendar sharing

To share calendars, you must first enable the service on FortiMail and then configure the webmail or mail client settings.

FortiMail calendar settings

To enable the WebDAV and CalDAV services
  1. Go to Domain & User > Calendar > Settings.
  2. Select Enable WebDAV and Enable CalDAV.
  3. Click Apply.

FortiMail calendar service supports resource management, such as meeting room and equipment.

To create a calendar resource for sharing
  1. Go to Domain & User > Calendar > Resource.
  2. Click New.
  3. Fill out the information and click Create.

FortiMail webmail settings

FortiMail webmail users can perform calendar publishing, subscribing, and sharing operations with other mail clients, such as Outlook and Thunderbird Lightning.

To access the WebDAV and CalDAV service URL
  1. Log on to FortiMail webmail.
  2. On the upper right corner, click the Settings dropdown list and select Preferences.
  3. Under Account Settings > Service URL, click [View] to access the FortiMail WebDAV, CalDAV and CardDAV service URLs.

Thunderbird settings

Thunderbird Lightning users can publish and subscribe calendars to/from the FortiMail WebDAV server. They can also subscribe the shared calendar via the CalDAV protocol which facilitates calendar sharing and synchronization between FortiMail and Thunderbird Lightning.

Thunderbird users can schedule an event or meeting based on the free/busy information shared and stored on FortiMail WebDAV server. Before scheduling a meeting, the free/busy settings must be configured.

To publish a calendar to FortiMail WebDAV service
  1. In Thunderbird, go to Events and Tasks > Calendar.
  2. Right-click on a calendar and select Publish Calendar.
  3. For Publishing URL, enter the URL you get from the FortiMail webmail (see FortiMail webmail settings).
  4. Enter the user name and password required for FortiMail authentication.
  5. Click Publish.
  6. Enter the user name and password required for FortiMail authentication.
  7. Click OK.
To subscribe a calendar from FortiMail CalDAV service
  1. In Thunderbird, go to File > New > Calendar.
  2. Select On the Network.
  3. For Format, select CalDAV.
  4. Enter the publicly shared calendar location you get from the FortiMail webmail (see FortiMail webmail settings).
  5. Enter the display name and other settings, then click Next.
  6. Enter the user name and password required for FortiMail authentication.
  7. The new calendar will appear in the left calendar pane. And it can be synchronized with the FortiMail CalDAV service automatically or manually.
To configure the free/busy settings in Thunderbird
  1. Go to Tools > Free/Busy.
  2. Click the Settings tab.
  3. Enter the email address and the matching free/busy URL. Thunderbird users get the FB URL from the FortiMail administrator, who gets the URL from the calendar settings on the FortiMail web UI.
  4. Create a new event and invite attendees.
  5. Enter the email address of the attendees. The free/busy information will be retrieved from FortiMail.

With the free/busy settings configured, Thunderbird users can schedule a meeting with the right time.

To schedule a meeting in Thunderbird
  1. Go to Events and Tasks > New Event.
  2. Enter the event contents and click Invite Attendees.
  3. Enter the email address of the attendees. Their free/busy information will be retrieved from the FortiMail server and displayed in different colors.

Outlook settings

Outlook users can publish and subscribe calendars to/from FortiMail WebDAV service (Outlook does not support CalDAV). They can also schedule meetings based on the free/busy information shared and stored on the FortiMail WebDAV server.

Outlook users can schedule an event or meeting based on the free/busy information shared and stored on FortiMail WebDAV server. Before scheduling a meeting, the free/busy settings must be configured.

To publish a calendar to FortiMail WebDAV service
  1. In Outlook, go to Go > Calendar.
  2. Right-click on a calendar and select Publish to Internet.
  3. Select Publish to WebDAV Server.
  4. In the popup window, enter the URL you get from the FortiMail webmail (see FortiMail webmail settings).
  5. Specify a time span and permission.
  6. Enter the user name and password required for FortiMail authentication.
  7. Click OK.
  8. Enter the user name and password required for FortiMail authentication.
  9. Click OK.
To subscribe a calendar from FortiMail WebDAV service
  1. In Outlook, go to Tools > Account Setting.
  2. Click the Internet Calendars tab.
  3. Click New.
  4. Enter the publicly shared calendar location you get from the FortiMail webmail (see FortiMail webmail settings).
  5. Specify the folder name and description.
  6. Click OK.
To configure the free/busy settings in Outlook 2007
  1. Go to Tools > Options.
  2. Then go to Calendar Options > Free/Busy Options.
  3. Enter free/busy URL. Outlook users get the FB URL from the FortiMail administrator, who gets the URL from the calendar settings on the FortiMail web UI.
  4. Not e that Publish at my location is not supported. Do not select this option.
  5. Click OK.

With the free/busy settings configured, Outlook users can schedule a meeting with the right time.

To schedule a meeting in Outlook 2007
  1. Go to New > Meeting Request.
  2. Click Scheduling.
  3. Enter the email address of the attendees. Their free/busy information will be retrieved from the FortiMail server and displayed in different colors.
  4. Click Appointment to arrange and send the meeting request.

Address book sharing

With the LDAP service enabled, users can search and download address books stored in FortiMail from within their mail clients, such Thunderbird and Outlook.

FortiMail settings

First, you need to enable the LDAP service on FortiMail.

To enable the LDAP service
  1. Log on to FortiMail CLI console.
  2. Enter the following commands (available in server mode only:

config system global

set ldap-server-sys-status enable

end7

By default, the LDAP service is enabled.

For the users to access the FortiMail address book from mail clients via LDAP, you must create a resource profile and a policy to allow the access.

To create a policy
  1. Go to Policy > Recipient Policy > Inbound.
  2. Click New.
  3. Specify the sender and recipient patterns, and other settings.
  4. For Resource profile, click New.
  5. In the resource profile configuration, select Domain address book, Global address book, or both.

Thunderbird settings

Thunderbird users can access the address books stored on FortiMail via the LDAP protocol.

To configure the address book LDAP settings in Thunderbird
  1. Open the address book in Thunderbird.
  2. From File, select New LDAP Directory.
  3. Select the General tab.
  4. Enter a name.
  5. Enter the hostname of FortiMail.
  6. Enter the base DN.
  7. Enter the port number. The default is 389.
  8. Enter the Bind DN.
  9. Click OK.

Note that SSL is not supported. Do not select Use secure connection.

To search contacts FortiMail address books
  1. Go to Edit > Advanced address book search.
  2. Specify the address book to be searched.
  3. Enter the user name.
  4. Click Search.
To download contacts from FortiMail address books
  1. Open the address book in Thunderbird.
  2. Click Properties of an address book.
  3. Click Offline.
  4. Click Download Now.
  5. Enter the password of the binding user required for FortiMail authentication.

Outlook settings

Outlook users can access the address books stored on FortiMail via the LDAP protocol.

To configure the address book LDAP settings in Outlook 2007
  1. Go to Tools > Account Setting.
  2. Select Address Books.
  3. Click New.
  4. Enter the server name or IP address of FortiMail.
  5. Enter the user name and password. For example, User name: cn=user1,ou=outlook, ou=people, dc=example, dc=com, assuming your user name is user1, your domain name is example.com. “ou=outlook, ou=people” should be constant. Password: 123
  6. Select More Settings.
  7. Select the Connection tab.
  8. Specify the display name and connection port.
  9. Switch to the Search tab, and specify the Search Base to Custom: dc=example, dc=com.
  10. Click OK.
To access FortiMail address books
  1. Open the address book in Outlook.
  2. Select the target address book.
  3. Enter the user name you want to find.
  4. Click Go.

Sharing calendars and address books (server mode only)

FortiMail v5.0 supports calendar sharing and LDAP-based address book sharing. The calendar, meeting schedule, free-busy time, and resources like meeting rooms, projectors, and other equipment usage are also supported.

To be specific, the following features are supported:

  • FortiMail internal calendar sharing from/to FortiMail webmail users
  • Internet calendar sharing from/to FortiMail webmail users
  • Calendar sharing from/to Microsoft Outlook users using WebDAV (Outlook does not support CalDAV)
  • Calendar sharing from/to Mozilla Thunderbird users using WebDAV or CalDAV
  • Address book query from Outlook using LDAP
  • Address book query from Thunderbird using LDAP

Other email clients may also be supported if they support the standard WebDAV and CalDAV protocols.

This section contains the following topics:

Calendar sharing

To share calendars, you must first enable the service on FortiMail and then configure the webmail or mail client settings.

FortiMail calendar settings

To enable the WebDAV and CalDAV services
  1. Go to Domain & User > Calendar > Settings.
  2. Select Enable WebDAV and Enable CalDAV.
  3. Click Apply.

FortiMail calendar service supports resource management, such as meeting room and equipment.

To create a calendar resource for sharing
  1. Go to Domain & User > Calendar > Resource.
  2. Click New.
  3. Fill out the information and click Create.

FortiMail webmail settings

FortiMail webmail users can perform calendar publishing, subscribing, and sharing operations with other mail clients, such as Outlook and Thunderbird Lightning.

To access the WebDAV and CalDAV service URL
  1. Log on to FortiMail webmail.
  2. On the upper right corner, click the Settings dropdown list and select Preferences.
  3. Under Account Settings > Service URL, click [View] to access the FortiMail WebDAV, CalDAV and CardDAV service URLs.

Thunderbird settings

Thunderbird Lightning users can publish and subscribe calendars to/from the FortiMail WebDAV server. They can also subscribe the shared calendar via the CalDAV protocol which facilitates calendar sharing and synchronization between FortiMail and Thunderbird Lightning.

Thunderbird users can schedule an event or meeting based on the free/busy information shared and stored on FortiMail WebDAV server. Before scheduling a meeting, the free/busy settings must be configured.

To publish a calendar to FortiMail WebDAV service
  1. In Thunderbird, go to Events and Tasks > Calendar.
  2. Right-click on a calendar and select Publish Calendar.
  3. For Publishing URL, enter the URL you get from the FortiMail webmail (see FortiMail webmail settings).
  4. Enter the user name and password required for FortiMail authentication.
  5. Click Publish.
  6. Enter the user name and password required for FortiMail authentication.
  7. Click OK.
To subscribe a calendar from FortiMail CalDAV service
  1. In Thunderbird, go to File > New > Calendar.
  2. Select On the Network.
  3. For Format, select CalDAV.
  4. Enter the publicly shared calendar location you get from the FortiMail webmail (see FortiMail webmail settings).
  5. Enter the display name and other settings, then click Next.
  6. Enter the user name and password required for FortiMail authentication.
  7. The new calendar will appear in the left calendar pane. And it can be synchronized with the FortiMail CalDAV service automatically or manually.
To configure the free/busy settings in Thunderbird
  1. Go to Tools > Free/Busy.
  2. Click the Settings tab.
  3. Enter the email address and the matching free/busy URL. Thunderbird users get the FB URL from the FortiMail administrator, who gets the URL from the calendar settings on the FortiMail web UI.
  4. Create a new event and invite attendees.
  5. Enter the email address of the attendees. The free/busy information will be retrieved from FortiMail.

With the free/busy settings configured, Thunderbird users can schedule a meeting with the right time.

To schedule a meeting in Thunderbird
  1. Go to Events and Tasks > New Event.
  2. Enter the event contents and click Invite Attendees.
  3. Enter the email address of the attendees. Their free/busy information will be retrieved from the FortiMail server and displayed in different colors.

Outlook settings

Outlook users can publish and subscribe calendars to/from FortiMail WebDAV service (Outlook does not support CalDAV). They can also schedule meetings based on the free/busy information shared and stored on the FortiMail WebDAV server.

Outlook users can schedule an event or meeting based on the free/busy information shared and stored on FortiMail WebDAV server. Before scheduling a meeting, the free/busy settings must be configured.

To publish a calendar to FortiMail WebDAV service
  1. In Outlook, go to Go > Calendar.
  2. Right-click on a calendar and select Publish to Internet.
  3. Select Publish to WebDAV Server.
  4. In the popup window, enter the URL you get from the FortiMail webmail (see FortiMail webmail settings).
  5. Specify a time span and permission.
  6. Enter the user name and password required for FortiMail authentication.
  7. Click OK.
  8. Enter the user name and password required for FortiMail authentication.
  9. Click OK.
To subscribe a calendar from FortiMail WebDAV service
  1. In Outlook, go to Tools > Account Setting.
  2. Click the Internet Calendars tab.
  3. Click New.
  4. Enter the publicly shared calendar location you get from the FortiMail webmail (see FortiMail webmail settings).
  5. Specify the folder name and description.
  6. Click OK.
To configure the free/busy settings in Outlook 2007
  1. Go to Tools > Options.
  2. Then go to Calendar Options > Free/Busy Options.
  3. Enter free/busy URL. Outlook users get the FB URL from the FortiMail administrator, who gets the URL from the calendar settings on the FortiMail web UI.
  4. Not e that Publish at my location is not supported. Do not select this option.
  5. Click OK.

With the free/busy settings configured, Outlook users can schedule a meeting with the right time.

To schedule a meeting in Outlook 2007
  1. Go to New > Meeting Request.
  2. Click Scheduling.
  3. Enter the email address of the attendees. Their free/busy information will be retrieved from the FortiMail server and displayed in different colors.
  4. Click Appointment to arrange and send the meeting request.

Address book sharing

With the LDAP service enabled, users can search and download address books stored in FortiMail from within their mail clients, such Thunderbird and Outlook.

FortiMail settings

First, you need to enable the LDAP service on FortiMail.

To enable the LDAP service
  1. Log on to FortiMail CLI console.
  2. Enter the following commands (available in server mode only:

config system global

set ldap-server-sys-status enable

end7

By default, the LDAP service is enabled.

For the users to access the FortiMail address book from mail clients via LDAP, you must create a resource profile and a policy to allow the access.

To create a policy
  1. Go to Policy > Recipient Policy > Inbound.
  2. Click New.
  3. Specify the sender and recipient patterns, and other settings.
  4. For Resource profile, click New.
  5. In the resource profile configuration, select Domain address book, Global address book, or both.

Thunderbird settings

Thunderbird users can access the address books stored on FortiMail via the LDAP protocol.

To configure the address book LDAP settings in Thunderbird
  1. Open the address book in Thunderbird.
  2. From File, select New LDAP Directory.
  3. Select the General tab.
  4. Enter a name.
  5. Enter the hostname of FortiMail.
  6. Enter the base DN.
  7. Enter the port number. The default is 389.
  8. Enter the Bind DN.
  9. Click OK.

Note that SSL is not supported. Do not select Use secure connection.

To search contacts FortiMail address books
  1. Go to Edit > Advanced address book search.
  2. Specify the address book to be searched.
  3. Enter the user name.
  4. Click Search.
To download contacts from FortiMail address books
  1. Open the address book in Thunderbird.
  2. Click Properties of an address book.
  3. Click Offline.
  4. Click Download Now.
  5. Enter the password of the binding user required for FortiMail authentication.

Outlook settings

Outlook users can access the address books stored on FortiMail via the LDAP protocol.

To configure the address book LDAP settings in Outlook 2007
  1. Go to Tools > Account Setting.
  2. Select Address Books.
  3. Click New.
  4. Enter the server name or IP address of FortiMail.
  5. Enter the user name and password. For example, User name: cn=user1,ou=outlook, ou=people, dc=example, dc=com, assuming your user name is user1, your domain name is example.com. “ou=outlook, ou=people” should be constant. Password: 123
  6. Select More Settings.
  7. Select the Connection tab.
  8. Specify the display name and connection port.
  9. Switch to the Search tab, and specify the Search Base to Custom: dc=example, dc=com.
  10. Click OK.
To access FortiMail address books
  1. Open the address book in Outlook.
  2. Select the target address book.
  3. Enter the user name you want to find.
  4. Click Go.