Configuring mail settings : Managing the address book (server mode only) : Adding contacts (server mode only)
Adding contacts (server mode only)
Go to Mail Settings > Address Book > Contacts to add contacts to a global or domain-based address book in server mod. You can also create contact groups using the contacts. For more information, see “To add or remove users from contact groups”.
The address book contains the contacts you add, the contact groups created, and the contact list retrieved from your LDAP server based on the LDAP mapping configuration. For information on LDAP mapping configuration, see “Configuring LDAP attribute mapping template (server mode only)”.
Individual FortiMail webmail users can access the global or domain-based address books for a common set of contact information when composing email messages. For more information, log in to FortiMail webmail and click Help.
To view and edit the address book
1. Go to Mail Settings > Address Book > Contacts.
 
GUI item
Description
Export
(button)
Click to download a copy of the address book in comma-separated value (.csv) or vCard (.vcf) file format.
Exporting the address book can be useful for backup purposes, or when using a spreadsheet application such as Microsoft Excel to make large numbers of changes to the address book before importing it again.
Import
(button)
Click to select a comma-separated value (.csv) or vCard (.vcf) file format. Then click Browse to import address book entries. Click OK to upload the file.
Click and select LDAP allows you to import contacts from your LDAP server. For details, see “To import contacts from the LDAP server”.
Note: An LDAP attribute mapping template must be set up before you can import contacts from the LDAP server. For details, see “Configuring LDAP attribute mapping template (server mode only)”.
Importing the address book can be useful when restoring a backup of the address book, or when importing large numbers of address book entries.
Note: To replace existing entries, first delete those entries, then import the address book file. The FortiMail unit compares the Webmail_ID value of each entry in the address book file, and will not overwrite existing address book entries.
Manage Group
(button)
Select a contact and click this button to add a contact to or remove a contact from a contact group. To do so, you must first add contact groups. For more information on managing groups, see “To add or remove users from contact groups”. For more information on adding group names, see “Adding contact groups (server mode only)”.
Domain
(drop-down list)
Select System to display a contact in the global address book, or a domain to display a contact in the domain address book. For information on creating domains, see “Configuring protected domains”.
Search
Enter a search value for a contact, such as the first name, last name, or email address, and click this button to find the contact from the list.
Display Name
Displays the contacts display name.
First Name
Displays the first name of the contact.
Last Name
Displays the last name of the contact.
Email
Displays the email address of the contact.
2. Either click New to create a contact or double-click a contact to modify it.
A dialog appears.
3. Enter information for the contact.
You must enter an email address (Email). Other fields are optional.
4. Click Create or OK.
5. To add additional contact information, click the Address, Custom, and Advanced tabs.
To import contacts from the LDAP server
1. Go to Mail Settings > Address Book > Contacts.
2. Click Import and select LDAP.
A dialog appears.
 
GUI item
Description
Select LDAP profile
Select an LDAP profile that contains the configuration for the LDAP server from which you want to import the contacts. For information on creating LDAP profiles, see “Configuring LDAP profiles”.
Select LDAP mapping
Select an LDAP attribute mapping template. The FortiMail unit will import the contacts from the LDAP server based on this template. For information on creating the template, see “Configuring LDAP attribute mapping template (server mode only)”.
New
(button)
Click to create a new LDAP attribute mapping template. For details, see “To view and configure an LDAP mapping list”.
Edit
(button)
Click to modify the LDAP attribute mapping template you selected in the Select LDAP mapping field.
Overwrite existing contacts
Select if you want to overwrite the same contacts in your current address book with the imported contact list. This is especially useful when you want to update the imported list.
Delete nonexistent contacts
Select if you want to remove the contacts that were in a previous imported list but are not available in the updated list. This is especially useful when you want to update the imported list.
3. Select OK.
The FortiMail unit starts importing contacts from the LDAP server. When complete, a Status field appears with information on whether the import was successful.
To add or remove users from contact groups
1. Go to Mail Settings > Address Book > Contacts.
2. Select one or more contacts to add or delete from an existing group.
3. Click Manage Group and do one of the following:
Select Add to Group from the pop-up menu to add users.
Select Delete from Group from the pop-up menu to remove users.
In either case, a dialog appears. Only the title varies.
4. In Domain, select System to display all system-wide contact groups, or a domain name to display all contact groups under that domain. For information on creating domains, see “Configuring protected domains”.
5. Whether adding or removing users, both dialogs work the same.
To add the users to a group or groups, select one or more groups under Available group(s) on the Add to Group dialog and click -> to move them to the Selected group(s) field.
To remove the users from a group or groups, select one or more groups under Available group(s) on the Delete from Group dialog and click -> to move them to the Selected group(s) field.
Users are not removed from the contacts list, just removed from a group.
6. Click OK.