Email Address Policy format - Replace characters
Hi,
We have an Email address policy that lowercase all characters and skipped the dash:
New-emailaddresspolicy -Name "My Policy" Recipients 'MailboxUsers' -EnabledEmailAddressTemplates "SMTP:%r--%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%
rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g%s@mydomain.com"...
So that John DOE-WHO will have: jdoewho@mydomain.com as an internet address.
That works fine.
But, for external people we have to add a suffix containing a dash. If John DOE-WHO is external, is internet address should be: jdoewho-ext@mydomain.com
But since I have the %r-- that skipped all dash, I didn't find a way to achieve that.
If someone can help me, that will be greatly appreciated.
July 11th, 2012 10:09am
Hi
You could create a second email address policy and scope it to the external users that does not contain the %r.
Cheers, Steve
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2012 10:18am
Hi
You could create a second email address policy and scope it to the external users that does not contain the %r.
Cheers, Steve
I did, but I still want to skip the dash contains in the last name.
July 11th, 2012 10:32am
Hi,
Then you may try to use
"SMTP:%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%
rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g%r--%s@mydomain.com"...
Xiu Zhang
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2012 4:19am
Hi,
Then you may try to use
"SMTP:%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%
rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g%r-%s@mydomain.com"...
Xiu Zhang
TechNet Community Support
Hi, that just put an 's' instead of his last name and I don't have my suffix "-ext".
July 12th, 2012 8:37am
Hi,
Then you may try to use
"SMTP:%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%
rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g%r-%s@mydomain.com"...
Xiu Zhang
TechNet Community Support
Hi, that just put an 's' instead of his last name and I don't have my suffix "-ext".
Sorry, it is a typo.
It should be %1g%r--%sXiu Zhang
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2012 11:25pm
Thanks, but with that I still can't put my suffix -ext at the end of the leftpart.
July 17th, 2012 11:30am