Configuring the SMTP Virtual Server for the SMTP Agent

Introduction

In order for the TaskCentre SMTP Agent to receive incoming emails, the SMTP Virtual Server (available as part of IIS version 6.0) must be installed. Unfortunately, later versions of IIS (from Windows Server 2008 onwards) do not have SMTP functionality as standard. But they do allow IIS 6.0 to be installed and used in compatibility mode. For such configurations, IIS 6.0 will be used only for SMTP functionality, leaving the integrated IIS version for all other web functions.

This article provides a detailed description of how to setup the SMTP Virtual Server.

Installing the Windows SMTP Virtual Server

You install the SMTP Virtual Server on the same machine running the TaskCentre Server. (Note that this is also the same server where the SMTP Agent is installed.)

  1. Launch the Server Manager.
  2. Go to Manage > Add Roles and Features.
  3. From the Add Roles and Feature Wizard, click Next until you reach the Select feature view.
  4. Select SMTP Server.
  5. From the Add Features that are required for SMTP Server? dialog, ensure Include management tools (if applicable) is selected.
    This ensures IIS 6.0 is also installed.

    Click Add Features.
  6. Click Next, accepting all default values, then click Install.
  7. Click Close when the installation has finished.

Adding an Alias Domain

SMTP domains are used for organising emails for delivery. Alias domains are an additional mail route object for your main SMTP domain. Emails received for the alias domain are stored separately for processing.

For example, if your main domain is mydomain.local, but taskcentre.local also needs processing, you would need to create an alias domain.

As part of the setup in your Exchange server, you must create an email contact for the SMTP Agent. The domain you specify must be created as an alias domain in the SMTP Virtual Server, else the incoming emails will remain in the server’s queue.

  1. Launch IIS 6.0 Manager
  2. By default, the SMTP service doesn’t automatically start.
    Start the service.
  3. From the left-hand panel, expand SMTP Virtual Server #1.
  4. Right-click Domain, then New > Domain.
  5. Specify the domain Type as Alias.
  6. Enter the relevant alias domain Name, then click Finish.

Configure the SMTP Virtual Server to Accept Incoming Traffic

  1. Right-click SMTP Virtual Server #1
  2. Select Properties.
  3. From the Access tab, click Authentication.
  4. Select and configure the appropriate authentication method for your organisation.
    Now, we lock down access to the SMTP Virtual Server.
  5. Back in the Access tab, click Connection.
  6. Select Only the list below, and click Add.
  7. Enter your Exchange Server’s IP address, and click OK.
  8. Back in the Access tab, click Relay.
  9. Select Only the list below, and click Add.
  10. Select Single computer, and enter the Exchange Server’s IP address.
  11. Click OK until you return to the IIS 6.0 Manager screen.

What’s Next?