Using Connector
Learn to configure the connector, and to add and manage users on it.
After installation you need configuration the connector application using a configuration console (SynchroConnectorConfigurator.exe). After this you can define the basic settings regarding connecting to the messaging system and configuration of CRM.interface.
create users and master user and configure credentials for them. Such users need to have certain settings enabled on them for mail synchronization to happen successfully for them.
Below are required configuration and settings:
Connection Settings
In this dialog you can define the basic settings regarding connecting to the messaging system and configuration of CRM.interface.
Connection Settings Dialog
Set the Configuration for the CRM.Connector universal as per the table below:
Fields | Description |
---|---|
Server type | The Server type can be either "Gmail" or "Universal". See chapter Authentication - Access of mailboxes, User management for further details. |
Hosting Domain or Server name |
Depending on the value you have selected for "Server type", you either have to specify the Hosting Domain (in case of Gmail) or the Server name (in case of all other systems). See Example Configuration below. |
IMAP/SMTP settings |
Supported Authentication Methods are:
What method to choose depends on what the target system supports and on how the target
system is configured. E.g. Gmail supports solely port 993 and SSL/TLS for
IMAP. See Example Configuration below.
Note:
|
Setting "Mail address spaces to be synchronized" | Add all mail address spaces you want to synchronize. If connector comes across e-mail
addresses of a mail space which is not defined to be synchronized, you can find information
concerning this matter in the log
file.
|
URL of CRM.interface | CRM.interface can be either installed on the same or a different machine as connector. |
Port Number | This setting specifies the port number of CRM.interface; since CRM.interface is running in IIS, the port number is either 80 (or 443 when using HTTPS) by default. |
Automatically update list of mailboxes to synchronize n time(s) a day |
Updating the list of mailboxes requires re-initialization of connector -which may take a while in a scenario with many users- and therefore can have a huge impact on the duration of synchronization cycles. Therefore it might make sense to consider doing this update only once a day or even switch it off in a scenario in which the user list (users whose mailboxes are supposed to be synchronized) doesn’t change often. If this setting is set to "1" you can additionally schedule when the list should be updated. |
Connection string to synchronization data base |
The connection string must be built in the following
form:
Note: The attributes
server, database, Trusted_Connection are mandatory;
the connection timeout parameter is optional.
Trusted_Connection must always be set to no. The credentials of the
user are read from users.xml and therefore must not be provided in
the connection string.Examples
|
Example configurations
Connection Settings for Zimbra Collaboration Suite
Connection Settings Open-Xchange
Connection Settings for Zarafa
Connection Settings for Gmail
Starting/Stopping Service and applying changed settings to the running service
Starting and Stopping of the Service: Connector service cannot only be restarted using Microsoft Tools but also via the administrative console ("configurator") of the application as well.
At the bottom of the administrative console the "state" of the service is displayed. Possible values are "unknown" or any of the regular states of Windows services (starting, started, stopping, stopped, etc.).
Connection Settings Dialog - Status information
Applying changed settings to running service: It is possible to apply changed settings to the running service, which means that the service doesn’t need to be restarted to use the new settings. Depending on which configuration has changed, the injection of the new settings causes a full, a partly or even no re-initialization of the service. For example changing the messaging server endpoint causes a full re-initialization.
After the injection the configuration changes are added to the command queue of connector and processed after the connector has finished its current tasks. Typically it won't take more than a few seconds until the new settings are applied by connector. Information on the (re-)initialization progress and result are displayed at the bottom of the dialogue box along with a progress bar.
Managing Users
With this functionality you can either manually add users or import users from a *.csv file.
Adding/Importing user
- E-mail Address (SMTP Address)
- Password Note: When synchronizing with Gmail only the SMTP addresses of the users are required. See Authentication - Access of mailboxes, User management for further information.
- Synchronize (boolean flag: either
TRUE
orFALSE
, case-insensitive). If this field is set toTRUE
(respectively checked in the user interface) then the user's mailbox is synchronized. Instead ofTRUE|FALSE
you also can use 1|0.
At first glance, this logic might look like overkill, but for several considerations, we do not want to hold the users’ passwords for the messaging system in Aurea.CRM.
Additionally, it might be quite helpful for testing purposes, because it allows for limiting the number of synchronization users without any need to change the settings in Aurea.CRM.
Example of a user import file
sync.one@test.local;mypassword1;FALSE
sync.two@test.local;mypassword2;TRUE
sync.three@test.local;mypassword3;TRUE
Configuration of users
The credentials (username or e-mail address and password) of the technical users are stored in
an encrypted XML file - users.xml
. Use the file
update.Users.exe
– which is installed in the installation directory of
connector- to create or modify the users.xml
file.
Sections users.xml
Section in users.xml |
Description | Necessary input | Required? |
---|---|---|
Universal Connector Master | Impersonation user for Aurea.CRM. Username, password. | Mandatory for all systems |
Connector Technical User | used by connector to send warning and error e-mails. SMTP address, password. | Mandatory for all systems. |
2-legged Authentication User | Impersonation user for Gmail. SMTP address and password. | Mandatory for Gmail. |
Synchronization Database Admin | Used to access the synchronization database. Username, password. | Mandatory for all systems. |
User Password Encryption | Secret phrase used for the encryption of user passwords in the synchronization database. | Optional |
Creating a Master User
Create an Aurea CRM user matching the credentials of the master user specified in the step Configuration of users, creation of users.xml above.
Creating User Settings
On start-up, connector requests a user list from Aurea.CRM. This list is based on the "Enable Connector settings" flag in the rep table.
- A KP record for Simon Seller,
- An ID record for Simon Seller,
- A Login for Simon Seller with the "groupware connector" module right and the "Enable Connector settings" option for the rep Simon Seller activated.