Before starting this procedure, complete the initial Mail Gateway setup steps.
When using Telligent Enterprise with Exchange, we recommend having your site running on a subdomain from your main email accounts - for instance, @groups.company.com. This allows you to easily delegate control for the entire subdomain to Mail Gateway - without need for extensive configuration.
In order to use addresses with the main domain, the only route is to create accounts for each of the addresses you'll need, and then configure Mail Gateway to download messages from them. You cannot use aliases because Outlook with often override the alias address with the main account address, causing undesired behavior.
Within your network, you will need to create a DNS entry for the subdomain on which you will be running Telligent Enterprise.
- Open the DNS Manager, navigate down to your domain.
- From the
menu, select .
- Enter just the portion of the subdomain before your main domain (so in our example of evodemo1.evodemo.com, we would enter demo).
- Under the fully qualified domain name, it will show you the corresponding full name of groups.company.com.
- Enter the IP address for the server that will be running Telligent Enterprise.
To configuring Exchange, you will need to create an Accepted Domains entry for groups.company.com. Exchange will automatically route emails based on the DNS for the accepted domain. So in our example, when it will receives an email for firstname.lastname@example.org, it will find groups.company.com in the Accepted Domains list; then look up the DNS entry for groups.company.com, and then forward the message to that server via SMTP.
To add an accepted domain:
- Open the Exchange Management Console.
from the side menu and select .
- Go to the
tab to see a list of existing entries.
- From the
menu or sidebar, select .
- Pick a name for the entry.
- Set the groups.company.com in our example).
to the subdomain for Telligent Enterprise (
- Select the type of Internal Relay Domain.
for it to be created. The result should resemble the following screen shot.
After updating, the list will refresh with the new entry:
Configure SMTP on the Telligent Enterprise server
We usually recommend running default IIS Virtual SMTP server on the server where Telligent Enterprise will be running in order to receive messages coming from the main Exchange server. By using the built-in SMTP server, it gains additional security options such as supporting SPA, TLS/SSL, and much more.
To install the SMTP server:
- Open the Server Manager.
- Navigate to
and choose .
- Select the SMTP Server feature. To manage the SMTP server, you will also need to ensure you have the IIS 6 Management Console installed from the Role Services for the Web Server (IIS) role.
- To configure it:
- Go to the
, choose .
- Expand the sidebar and you will see SMTP virtual server.
- Open the server's properties by right-clicking it and navigating to
- Ensure it is configured to use the IP address that we previously set up for the domain (groups.company.com in our case).
- Next, go to the
item in the sidebar under the SMTP virtual server. The default entry likely corresponds to the computer's name. If it isn't the subdomain for Telligent Enterprise, navigate to
- Create a new alias entry for the Telligent Enterprise subdomain. This will allow it to receive email for both the default name, and the Telligent Enterprise subdomain.
- Finally, open the Dropdirectorysetting. This is the location where the SMTP server will write all of the messages it receives, so this will be where Telligent Enterprise reads messages.
on the default domain entry and take note of the
Configure the Mail Gateway service for Telligent Enterprise
Install the Telligent Enterprise Mail Gateway following the normal instructions for Mail Gateway, but when configuring the mailgateway.config file, add an additional attribute for readFromDirectory to the <Site /> line. The entry should correspond to the drop directory setting that was configured in the SMTP virtual server.
If using Windows Auth on the website, add the useDefaultCredentials attribute to the <Site />.
It is also recommended that you adjust the pollMessagesInterval. This will set Mail Gateway to read the messages from the directory more frequently for a speedier response. The setting is in minutes, with the default being 5, but you can lower it to 1.
<?xml version="1.0" encoding="utf-8" ?>
After finishing these steps, continue with the final configuration steps for Mail Gateway.