E-Mail Address Policies - Lastname
Hello, I use Exchange 2007 and I would need to create a new e-mail address policy for some users. I know how to create the E-Mail Address Policies that would be based on the custom attribute equal to spain. The thing is that those spanish users have got a long last name (e.g: first name: Juan Carlos last name:perez martinez). And I would like to conserve the entire first name field but would like to keep only the first users' last name --> So from the above exemple, it would read like Juan-Carlos.perez@company.com).. I though about %g.%s@company.com but I am not sure it would only take the first last name part. Could you please tell me if there is any way to manage that?? Thanks, Graig
November 17th, 2010 5:16am

Hi, You can place a number in front of any of the preceding switches to define how many characters of the switch should be used, for example: %s = surname (last name) %5g = Uses the first five letters of the given name E2K7: Creating Custom SMTP E-mail Address Policies Utilizing Various Replacement String Combinations:: http://blogs.technet.com/b/ericnor/archive/2009/04/30/e2k7-creating-custom-e-mail-address-policies-utilizing-various-replacement-string-combinations.aspx Anil
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2010 5:22am

Thanks but I have seen that before and I would need to have the entire first lastname part. There is a space between the first lastname and the second last name and this could serve to answer my question. But if I set 5 characters, what about the user with longest last name than "perez". If possible I would like to get the first entire word in the last name field. Thanks, G
November 17th, 2010 6:05am

Use the first letter form lastname ...
Free Windows Admin Tool Kit Click here and download it now
November 18th, 2010 3:07am

:) Thanks rootiks (It thought about it b4). I just wanna know if it is possible or not to set such a rule on the email address policy. If not Microsoft should re thought about that funcion as for Spanish people it does not suit. Thanks, G
November 18th, 2010 3:54am

Yeah, you can write a powershell script and do whatever you want :) But it takes time ...
Free Windows Admin Tool Kit Click here and download it now
November 18th, 2010 7:29am

On Thu, 18 Nov 2010 08:54:43 +0000, Graiggoriz wrote: >:) Thanks rootiks (It thought about it b4). > >I just wanna know if it is possible or not to set such a rule on the email address policy. > >If not Microsoft should re thought about that funcion as for Spanish people it does not suit. From our Mexico City office I was given 10 of the most common combinations of the folowing names that people use: Legend: 1st name = 1st 2nd name = 2nd 3rd name = 3rd 4th name = 4th fathersname1 = f1 fathersname2 = f2 mothersname1 = m1 mothersname2 = m2 Combinations: 1. 1st,f1,m1 2. 1st,2nd,f1,m1 3. 1st,f1,f2,m1 4. 1st,f1,m1,m2 5. 1st,2nd,f1,f2,m1 6. 1st,2nd,f1,m1,m2 7. 1st,f1,f2,m1,m2 8. 1st,2nd,3rd,4th,f1,m1 9. 1st,2nd,3rd,f1,f2,m1 10. 1st,2nd,3rd,f1,m1,m2 From that set of names, only two names will be selected to appear in the GAL. We let them tell us which of them to use and then adjust the display name, account name and e-mail addresses accordingly. I suppose that the on-boarding process for that office could supply a number (from 1 to 10) that told us which of the names were present, and then another code that told us which two to select (maybe something like "1,5,7" or "1,2,5,7". And that's just for names in one country! --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
November 18th, 2010 3:18pm

Correct, Agree with Rich, Graig: You have to set it in same way Rich suggested and use number valus to set policy as i told you. Anil
Free Windows Admin Tool Kit Click here and download it now
November 18th, 2010 10:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics