Email Routing

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 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. 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, Secure Web Gateway uses that route for any domains that do not have entries higher in the table.

The order of entries in the routing table does not have an impact on which entry is used, except where two entries use the same domain name. In this case, the first entry is used.

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.

Add a route for a domain

  1. Navigate to System > Mail Settings > General Settings. The General Settings page is displayed.
  2. In the Email Routing panel, click New.
  3. In the Add Email Route dialog, enter the following information:

    • In Domain, specify the domain for which you want to provide routing information.
    • In Route, select how you want the routing to be applied:

  4. Click Add to add the entry to the routing table.
  5. To change the priority of an entry in the routing table, select the entry and click or as required.

  6. To edit the route, select an entry from the table and click Edit.

Remove a route for a domain

  1. Move the mouse pointer over the Email Routing table, select the item and click Delete. The Confirm Delete dialog is displayed.
  2. Click Yes to remove the entry from the Email Routing table.
 

If you change any configuration or policy settings, you must Apply Configuration for the new settings to take effect. You can do this either from the Changes Made panel, or System > ConfigurationApply Configuration. See Apply new configuration for more information.

If you use Peer Gateways (i.e. when multiple Gateways are peered), any configuration changes from a local Gateway can then be applied to all the peers at the same time. See Configure Peer Gateways for more information.

See also...