Specifying Routing of Email

You can route email destined for particular email domains either to a specific mail server, or by using DNS MX records. This mechanism allows you to specify where Clearswift Gateway is to direct:

You can use a wildcard * when specifying a domain name, for example to specify a mail server for external delivery if you are not using DNS. If you include wildcards, the order of the entries in Clearswift Gateway's routing table determines their relative priority. See these Closedexample uses of wildcards.

Use of wildcards when specifying domains

You can specify a wildcard * in a domain name in the routing table, as a prefix only, for example *.yourcompany.com.

If you enter just * as the domain, Clearswift Gateway uses that route for any domains that do not have entries higher in the table.

Any entries below a * entry in the table are ignored. You can use this feature to disable an entry in the table temporarily, if required: simply move it below the * entry.

For example, consider the following routing table:

Domain

Route

inside.yourcompany.com

To server at <hostname:port>

inside2.yourcompany.com

To server at <hostname:port>

*

To server at <external server hostname:port>

somegateway.com

Use DNS mx record

In the above example, mail for all domains except inside.yourcompany.com and inside2.yourcompany.com is routed to the external mail server specified by the * entry. The routing entry for somegateway.com is ignored.

To add a route for a domain:

  1. From the System Center Home page, click SMTP Settings. The SMTP Settings page appears.
  2. Select Mail Domains and Routing to display the Mail Domains and Routing page.
  3. Click the Email Routing tab. The Email Routing area contains a table listing current routing information.
  4. Click New. The Add Email Route dialog appears.
  5. In the Add Email Route dialog, enter the following information:
  1. Click Add to add the entry to the routing table.
  2. To change the priority of an entry in the routing table, select the entry and click or as required.

To edit a route for a domain:

  1. From the System Center Home page, click SMTP Settings. The SMTP Settings page appears.
  2. Select Mail Domains and Routing to display the Mail Domains and Routing page.
  3. Click the Email Routing tab. The Email Routing area contains a table listing current routing information.
  4. Select the entry you wish to edit in the Email Routing area and click Edit. The Edit Email Route dialog appears.
  5. In the Edit Email Route dialog, modify the following information as required:
  1. Click Update to modify the entry in the routing table.
  2. To change the priority of an entry in the table, select the entry and click or as required.
  If the Gateways are configured as a group, any group changes should be applied to each Gateway. If you change any configuration settings you must apply the new configuration for the new settings to take effect.

© 1995–2018 Clearswift Ltd.