DirWiz Logo
Knowledgebase

Article Tags

SMTP Addresses Tab: Swap Proxy

2019-08-15 16:26:10
Active Directory AD LDS ADAM Address Manipulation Exchange 20xx UnitySync 

When you run UnitySync, you have the option to swap a proxyaddress with the primary SMTP Reply To Address. Just provide one or more domain names in the Swap Proxy field. The format is @MyDomain.com.

The swapping logic is to:

  • Read the domain part of the proxy address(s) and check it, in order, against those you have supplied.
  • When it finds a match then:
    • Swap the matching proxyaddress and make it the Primary (Reply To) address
    • Swap the Primary (Reply To) address and make it one of the proxyaddresses

This swap changes both mail, SMTP/smtp and targetaddress on the Destination contact.

Example of Standard Swap Proxy Usage

This is primarily used if the Source and Destination servers are Exchange.

Typically an Exchange mailbox is given a primary SMTP address. This address is the user’s reply-to address. Secondary (proxy) addresses can be added that allow the user to receive email using other addresses.

UnitySync’s Swap Proxy function reads through the proxyaddresses using a rule-set. If a match occurs, that address becomes the primary address and the old primary address is pushed into the proxy list.

Example:

The following records exist on your Source.

Primary: jsmith@aol.com Secondary: james@zoomit.com,support@p.com,jim@home.com

Primary: tsmith@aol.com Secondary: tom@zoomit.com, tommy@home.com

Primary: bubba@slow.net Secondary: Charles@fast.net

Let’s say the Swap Proxy field is set to: @p.com,@home.com

Resulting Destination Record:

Primary: support@p.com Secondary: james@zoomit.com,jsmith@aol.com,jim@home.com

Primary: tommy@home.com Secondary: tom@zoomit.com, tsmith@aol.com

Primary: bubba@slow.net Secondary: Charles@fast.net

Notes about Swap Proxy Syntax

It may or may not be necessary to include the @ prefix in the Swap Proxy domains you specify. An example of when it IS necessary is if you have two incoming domains that look like this:

EricN@DomainXYZ.com
Eric@XYZ.com

If you specify a Drop Proxy of simply XYZ.com, then both objects qualify for swapping. Which ever is returned first will be swapped to the primary. If you specifically want the @XYZ.com domain to be primary, then you need to specify the Swap Proxy value as @XYZ.com.

There are some guidelines to the rule-set:

  • The order of the swap proxy list sets the order of the search through the secondary addresses.
  • The swap proxy list is done by subtring matching (no wildcards)
  • If a proxy is not matched the addresses are left alone.
  • UnitySync will use the first proxy it matches.
Share this article: Twitter reddit