Using Attribute Based Delivery Routing

Document created by user.oxriBaJeN4 Employee on Sep 24, 2015Last modified by user.Yo2IBgvWqr on Jul 13, 2017
Version 4Show Document
  • View in full screen mode

One of the Mimecast policy options allows attributes to be used as a FROM or TO variable. This can be very helpful specifically when using delivery routing policies and migrating user accounts.

To configure your email routing, you will need to create a Delivery Routing Definition and apply this to a flow of traffic by using a Delivery Routing Policy.

Before you begin:

  • Ensure that you have configured and tested your Directory Synchronization.
  • Determine which Attribute is available for all users. For this example, we will use the attribute “msexchhomeservername”. This attribute is created as soon as a mailbox is generated for a user.

 

Creating the Attribute

 

To create the attribute

  1. Log in to the Administration Console.
  2. Click on the Administration menu item.
  3. Click on the Directories | Attributes menu item. A list of existing attributes is displayed.
  4. Select the Add New Attribute button.
  5. Complete the Attribute Properties to match the example displayed, ensuring that the:
    • Description and Prompt fields match the exact name of the attribute in the directory.
    • Prompt Type field is changed to Directory Linked Attribute.
    Directory Linked Attributes
  6. Select the Save and Exit button. The attribute will now be displayed in the list.

 

Performing a Directory Synchronization

 

The next steps ensure that the attribute results are picked up from the Directory:

  1. Log in to the Administration Console.
  2. Click on the Administration menu item. A drop down menu is displayed.
  3. Click on the Services | Directory Synchronization menu item.
  4. Click the Sync Directory Data button and allow the sync to complete for a few minutes. A summary of the results is displayed once complete.
  5. Select the Directories | Internal Directories menu item.
  6. Select the Domain.
  7. Select a User from the domain listing.
  8. Navigate to the Attributes section, and ensure that the Exchange server attribute with relevant value is listed.

 

Browse Your LDAP

 

If you are not sure of the values for your new attribute field, you can use the Mimecast LDAP browser and copy the results.

  1. Log in to the Administration Console.
  2. Click on the Administration menu item. A drop down menu is displayed.
  3. Click on the Services | Directory Synchronization menu item.
  4. Select the Directory Connector.
  5. Click on the Directory Browser button.
  6. In the Directory Search Options, complete the filters to match the example entries shown below:

    dir_sync.png
  7. Select the Search button to start the search. The results for every mailbox on the your Exchange server is displayed.
  8. Copy the search results to a text file and save it for later use.

 

Configuring the Delivery Routing Policy

 

To configure the Delivery Routing Policy:

  1. Log in to the Administration Console.
  2. Click on the Administration menu item. A drop down menu is displayed.
  3. Click on the Gateway | Policies menu item.
    A Delivery Routing definition is required prior to creating the policy.
  4. Create a Delivery Routing policy using the following details:

    del_att1.png
  5. In the Select Route field, specify the Delivery Route definition where emails should be sent when the attribute finds a match.
  6. Leave the Applies From fields with the default settings (i.e. Everyone).
  7. Change the Applies To option to Address Attributes.
  8. An additional Where Attribute field is displayed.
  9. Set the Where Attribute field to the "msexchhomeservername" attribute.
  10. Paste the copied Attribute result from the text file created earlier.
  11. Select the Save and Exit button in the top toolbar.
  12. Complete additional policies (if required) for all variations of the attribute results.

Attachments

    Outcomes