Configuring mail settings : Sharing calendars and address books (server mode only) : Address book sharing
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:
config system global
set ldap-server-sys-status enable
end
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 > Policies > Recipient Policies.
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=mozilla, 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.