I am using the LDIFDE utility to add additional SMTP addresses to users. The challenge I am having is the addresses get added as additional PRIMARY SMTP addresses. So if I use the utility to add 5 SMTP addresses I end up with 5 primaries. As they are all primaries I am unable to remove them other than using the utility to do a delete.

Is there a switch or some way to add them as secondary smtp's rather than more primaries....didnt even know that was possible.
dn: CN=Test,OU=Test,DC=Test,DC=com
changetype: modify
add: proxyAddresses
proxyAddresses: SMTP:xxxxx@xxxxxx.com

Open in new window

Who is Participating?
Britt ThompsonConnect With a Mentor Sr. Systems EngineerCommented:
I believe the secondary addresses just need a lowercase "smtp" as opposed to the primary address having "SMTP"
lowercase smtp is secobdary addresses and uppercase is primary.

You can also remove additional primaries by overtyping or editing.  Make them both match and one will disppear.

You may also want to look at the csvde utility.  It allows you to import from and csv file (whcih you can easily edit with excel).
Here's a reference to reflect the SMTP / smtp primary and secondary.


quote ---
When you apply a policy, the gatewayProxy attribute on your Recipient Update Service objects is populated with a list of values similar to the following list:
{667A1454-FCD1-434F-B3C6-D9B6D2B4A336}X400:c=us;a= ;p=Organization;o=Exchange;
These values contain the objectGUID attribute of the policy followed by the addresses on the policy. Notice that three of the address types are in uppercase text. This means these three are primary proxy addresses. The one address type that is in lowercase text is a secondary proxy address.
endquote ---
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.