MM - Mail Manager
Support for Exchange Web Service (EWS) APIs for Exchange Online is being phased out by Microsoft1 in favor of OAuth 2.0 (via O365 credentials). LUCS features already use Graph API and can be reconfigured. Check in your configuration that "O365" settings are used instead of "Exchange".
AREAS TO CHECK: Mailboxes, Calendars, Voicemail, Topology Settings. Note that "Mail Manager" as an exception will not get further Graph support.
Luware ‘Mail Manager’ (MM) consists of a mandatory Service to manage your mailboxes.
MM requires Trusted Application Pool setup to be complete as an endpoint is required.
Purpose of MM Service
The MM service handles the full cycle of email activities in a contact center, for example:
- Email distribution to available agents according to their traits and responsibilities,
- Exchange integration → See Tenant Setup O365 and Exchange
- Monitoring of Mailboxes → See Essential Topology Settings
- Supply Agents with conversation context about incoming E-Mail directly within SfB
Installation
The MM service is an active – passive SfB application which is responsible for mail routing. It is to be installed on all LUCS machines.
- Run the LUCS.MM.Setup.msi
- On the Luware-LUCS-MM Configuration Settings screen of the setup pay attention to fill the
- Instance Name
- Port number
- SfB Server Version
- Configure Certificate Security
For security reason LUCS provides possibility to use certificate-based encryption and verification during the components communication. To configure certificate based authentication, select ‘Configure Certificate Security’ check box and press ‘Next’ button to open a page with server certificate settings.
MM Configuration Settings ScreenWhen the ‘Configure Certificate Security’ checkbox was selected, you'll need to configure the server and client certificate settings as the next step. The client settings specify which settings MM will use while connecting to PS. The server settings are used to validate another services when they try to connect to MM.
→ Also see Prepare Certificate ThumbprintMM Server Certificate Settings ScreenSettings Description Value Mode Transfer security modes offered by WCF to ensure a secured communication between a client and a server. None : This mode ensures that no security is applied while communication between server and client. Transport: As the name suggests, it is concerned with security of communication between a client and a service over a network protocol. It guarantees the confidentiality and integrity of messages at transport level since transport security secures the entire communication channel.
Validation Mode The mode that specifies how incoming certificate is validated and how trust is determined . None: In this mode no validation is perfomed. ChainTrust: : In this mode WCF simply validates the certificate against the issuer of a certificate known as a root authority (the expiration time is checked too).
PeerTrust: In this mode WCF simply checks if the incoming certificate is installed in the Trusted People folder in the certificate store (the expiration time is checked too).
PeerOrChainTrust: Mixed mode.
Is Dedicated The flag that defins which certificate is used for encryption. False: Encryption is done with default certificate. It means that certificate with the hostname of the machinefrom the Personal Store is used on server side. True: Encryption is done with a dedicated certificate. It means there is possibility to configure identifier (thumbprint) of the certificate.
Thumbprint The thumbprint is a hash value computed over the complete certificate, which includes all its fields, including the signature. Finish the installation.
Open Windows Services
Note: The system reports all errors related to connection or certificate issues to a log file ‘C:\Program Files\Luware AG\LUCS-MM\log\connectionIssues.log’.
- Open Services and start the installed service.
- Before running MM service, check that a valid certificate is registered on the machine where MM service is installed.
- Check that service is successfully started without any errors in Event Viewer or in the log file
In case of problems with certificate, the following exception is thrown and logged in the MM 'regular' log file. Example below:
ERROR LUCS.MM.Connector.Exchange.EwsConnectorBase [(null)] – [AssemblyVersion:2.4.7.2][551]: Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —> System. Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
Configuration
In the LUCS Topology the MM component should be configured as shown as in the example (select the MM Server Type, System Instance, Activity Order and fill the service’s Settings according to the table below):
The following settings are present on this page:
Key | Description |
---|---|
AttachementMaxSizeInKb | Enter the maximal size of the attachments in kb that an agent is able to send from the MM client. |
ConfirmHandled | If this flag is set to true, the agent has to confirm to set an email to ‘handled’ on an additional popup |
ConnectionLivenessInterval | Enter the interval time in seconds between the keep alive pings. |
ConnectionLivenessTimeout | Enter the amount of seconds the component will wait for a keep alive response. |
ConnectionReconnectInterval | Enter the amount of seconds between the retries to reestablish the connection to the service. |
DefaultAAContext | Deprecated: Will be removed in future releases. |
GruuPrefix | This value is used to identify service related conversations on SMD. This value depends on the machine where the component is installed. To get the required value 1. run Get-CsTrustedApplication command in SfB Server Management Shell 2. search for application port number 3. in the ComputerGruus string copy the sip address of the machine Example: sip:lucs01.dev.local@dev.local |
MaxReconnect | Deprecated: Will be removed in future releases. |
ReconnectTimeout | Deprecated: Will be removed in future releases. |
ShowRedBarOnImages | Enter ‘false’ for the case when the red bar on images tab will not be used. Enter ‘true’ for the case when the red bar on images tab will be used. |
ShowRedBarOnPdf | Enter ‘false’ for the case when the red bar on pdf tab files will not be used. Enter ‘true’ for the case when the red bar on pdf tab files will be used. |
UseDefaultConversationcontext | Deprecated: Will be removed in future releases. |
Further Steps
Related Topics
- Create Mailboxes → Part of Essential Topology Settings
- Configuring your Mail Services
- Define Trait and Responsibilities for Mail
- Set the Mail Service Distribution Policy
For daily use in Mails you want to configure:
Mail Manager Client
Mail Manager Client is an Agent-side installed application that allows to write E-Mails directly from within SfB.
This is a legacy application. If you need assistance or development services for this application, get in contact with Luware Support.
Refer to our legacy KnowledgeBase (credentials required) for the following topics: