locked
eMail Address Policies spaces within an SMTP address RRS feed

  • Question

  • I know that SMTP addresses cannot have spaces.

    However, when creating an email address policy, I am trying to use the %r to replace spaces within the PrimarySMTPAddress. 

    We have displaynames which require spaces in the last name so within the Global Address List, the user shows a space in the displayName but I have to eliminate the space when the PrimarySMTPAddress is generated.

    I have tried %r<space><space> but it does not work.

    Please any suggestions would be most appreciated.

    thanks

    Monday, April 8, 2013 8:04 PM

Answers

  • Hi  ,

    What version is your exchange ?

    I test in my lab(exchange 2010), it can be created when the last name with a space.

    You can try it .


    Wendy Liu
    TechNet Community Support

    • Proposed as answer by wendy_liu Thursday, April 18, 2013 2:08 AM
    • Marked as answer by wendy_liu Friday, April 19, 2013 2:13 AM
    Wednesday, April 10, 2013 9:42 AM
  • Exchange should handle the spaces in the name for you.  My recipient policy is %1g%s@domain.com and it removes the space in the last name so it takes "User Last Name" and makes it ULastName@domain.com.  It's worked the same since we first installed Exchange and we're on SP3 now.

    • Proposed as answer by wendy_liu Thursday, April 18, 2013 2:08 AM
    • Marked as answer by wendy_liu Friday, April 19, 2013 2:13 AM
    Wednesday, April 17, 2013 1:48 PM
  • Hi,

    I mean you can add space in last name when you create mailbox, or modify last name on mailbox's properties.

    But if you want to use email address policy to show the lastname as email address , as Corey said, the space will disappear in SMTP address.


    Wendy Liu
    TechNet Community Support


    • Edited by wendy_liu Thursday, April 18, 2013 1:48 AM
    • Proposed as answer by wendy_liu Thursday, April 18, 2013 2:08 AM
    • Marked as answer by wendy_liu Friday, April 19, 2013 2:13 AM
    Thursday, April 18, 2013 1:47 AM

All replies

  • Hi  ,

    What version is your exchange ?

    I test in my lab(exchange 2010), it can be created when the last name with a space.

    You can try it .


    Wendy Liu
    TechNet Community Support

    • Proposed as answer by wendy_liu Thursday, April 18, 2013 2:08 AM
    • Marked as answer by wendy_liu Friday, April 19, 2013 2:13 AM
    Wednesday, April 10, 2013 9:42 AM
  • Thank you

    I have E2K7 SP2 and when I used %r<space><space>%s it did not work. Are you saying it worked for you?

    thanks

    Wednesday, April 10, 2013 12:47 PM
  • Exchange should handle the spaces in the name for you.  My recipient policy is %1g%s@domain.com and it removes the space in the last name so it takes "User Last Name" and makes it ULastName@domain.com.  It's worked the same since we first installed Exchange and we're on SP3 now.

    • Proposed as answer by wendy_liu Thursday, April 18, 2013 2:08 AM
    • Marked as answer by wendy_liu Friday, April 19, 2013 2:13 AM
    Wednesday, April 17, 2013 1:48 PM
  • Hi,

    I mean you can add space in last name when you create mailbox, or modify last name on mailbox's properties.

    But if you want to use email address policy to show the lastname as email address , as Corey said, the space will disappear in SMTP address.


    Wendy Liu
    TechNet Community Support


    • Edited by wendy_liu Thursday, April 18, 2013 1:48 AM
    • Proposed as answer by wendy_liu Thursday, April 18, 2013 2:08 AM
    • Marked as answer by wendy_liu Friday, April 19, 2013 2:13 AM
    Thursday, April 18, 2013 1:47 AM