Introduction

This is part 2 of the article series about installing Xink Exchange Connector.


We assume that the Exchange Connector is installed and is functional. See the previous article about how to install the Exchange Connector.


In this article we will install the Exchange Mobile Gateway on your Exchange Server. The purpose of this is to connect your Exchange Server with the local SQL Server which contains the imported users and their signatures. You can then set up rules e.g. "Replace 'Sent from my iPhone' with my default signature in Outlook" and when an email is sent from a mobile device connected to the Exchange Server, then the signature is replaced with the one in Xink (via Exchange Connector).


Install the Exchange Mobile Gateway

  1. Download emailsignature_exchange.zip
  2. Unzip and Install the MSI-file as administrator.
  3. You need to provide the connection string to the settings database during the install wizard. Use the connection string from the configuration of the Exchange Connector.
    Make sure that you have connection to the database from your Exchange Server: 
  4. When clicking 'Finish' the files are installed.


 Verifying that the Exchange Agent is Applied correctly


To verify that the agent is applied correctly open the command shell on your Exchange Server and run the Get-TransportAgent commandlet:



As you can see, the Exchange Agent appears on the list above and everything is installed correctly. The details shown can vary for different Exchange Server versions but the principle is the same.


Now you can start configuring rules in the Exchange Connector Configuration.


Configuring Mobile Rules in Exchange Connector 


Mobile Rules are used with the Exchange Gateway. 


When an email is sent, the filter analyses the text and finds out if a signature needs to be added or replaced.


The Exchange gateway searches the email body for text rules created in the Mobile Rules module. If a rule text is found, it will be replaced with the user’s signature by the Exchange Gateway.


You create a new rule by clicking the “Add new rule” button.  Enter a name and a description for the rule.  In the rule text field, enter the text to be replaced.  

For example, you may put “((iphonesignature))”.  The Exchange Filter will then replace “((iphonesignature))” with the user’s signature when an email is sent with “((iphonesignature))” in the email body.


Click the pencil icon or double-click and item in the list to edit it. Click the trash icon to delete the item. Your changes will not be saved until you click “Save”.




To confirm that you have set everything up correctly, you need to enable at least one rule and send an email with the rule text.


Remember: iPhone's built-in email app sends new emails in plain text format. It is therefore important that you have designed a plain text formatted signature for all your default signatures in Xink. Otherwise it will not replace the rule text with anything.



How to Uninstall the Exchange Mobile Gateway


Use remove programs in Windows control panel.



Optional:


Configuring OWA Signatures with Exchange Connector


This is where you configure signOWA. signOWA is used for setting the signatures in OWA of your on-premise Exchange server.


You need to know the version of your Exchange server, whether it is using Forms Based Authentication or Windows Authentication, and if it is using SSL. You also need to put in the internal URL of OWA. Check the “Remove images in your Outlook Web signature” checkbox if you are having problems with images not showing in your OWA signatures. This happens on some Exhange servers due to a Microsoft bug.



Click “Save” to save your settings. Run signOWA.exe to check your settings.