DirWiz Logo

Article Tags

SMTP Addresses Tab: Swap Proxy - SwapTargetOnly

2019-08-15 16:26:43
Active Directory Address Manipulation Custom Mapping Features UnitySync 

SwapProxy allows you to swap mail, targetaddress and proxyaddresses in favor of a specific email domain.

There may be a circumstance, however, where you want to swap just the targetaddress at Sync time.

To do so, implement SwapProxy as usual, and customize your map file to control mail and proxyaddresses, ensuring they do not get swapped.

  1. Create a custom object map file

  2. Change the mail mapping to use ^mail^ instead of ~mail~

  3. Change the proxyaddresses mapping to use [allmail] and add a new proxyaddresses line above it to define SMTP. Exact syntax is:

  4. Save the file.

Run a new Simulation. You should see that with the above modifications, only targetaddress gets modified.

Share this article: Twitter reddit