Link to home
Start Free TrialLog in
Avatar of Exch10
Exch10Flag for France

asked on

Exchange proxy mail


I have a problem to build the SMTP adress of my users, after a lotus migration:

Within my exchange 2007, my Email Adress policy gives

All exchange users email adresses are like "" because in my AD, lastnames are uppercase.
I'd like to give proxies smtp like ""
How could I do?
Avatar of mmicha
Flag of United States of America image

If I read what you are saying...  You have an issue with the system capitalzing the lastname portion of the email addresses when using a policy.

Check out the following article:

You have to add the following in front of your address structure to keep it all lowercase:


Hope that helps!
Avatar of mmicha
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This might help:

Script to pull the current primary, change it to all lowercase, drop it back in, and turn off email address policy for the user account (so that policy doesn't revert these changes).

Couple of problems with that: One, it only addresses existing accounts, not new ones. Two, if you change your email address policy in the future, you'll have to run something to re-enable it for most of your users.
Exch10, even if the method I linked to is the one you used, mmicha's information is much better, because it doesn't create the problems I mentioned in my comment above.

Please have a moderator adjust the accepted solution. mmicha provided an A+ answer.
Avatar of Exch10


Thanks to you. My research arrive to the good solution for me:

Have to install QuestAD commandlets

Get-QADUser -SearchRoot "OU=Users,OU=TestOu,DC=MyDomain,DC=Net" | Select Name, sAMAccountName | Export-csv -path c:\temp\username.csv -NoTypeInformation

Import-Csv c:\temp\username.csv | foreach{Set-QADUser -identity $_.Name -samAccountName ($_.sAMAccountName).Tolower()} | Select-Object Name, samAccountName