GroupWise allows for spaces in the SMTP addresses of objects. Spaces are not allowed per SMTP address standards.
WORKAROUND 1
Typically, the SMTP address for GroupWise resources is derived from the object display name in ConsoleOne. If the GroupWise resource object is renamed in ConsoleOne to remove the spaces, then the CMG Directory Connector should create the contact in Exchange without spaces in the SMTP address.
WORKAROUND 2
If Workaround 1 is not an option, then you can replace the attribute mapping logic in the Advanced Settings of the CMG Directory Connector in question to remove the spaces.
1.) Open the CMG Management Console.
2.) Locate the Directory Connector in question.
3.) Right-click and select Advanced Settings.
4.) Click Resources | Provision Attributes
5.) Locate the mapping for "mail"
6.) Click Remove
7.) Click Add Script
8.) Select Target Attribute: mail
9.) Paste the following script:
$parts=$srcObj["mail"]
$parts -replace "#032#","_"
Note: The underscore in line 2 of the script above can be replaced by another valid character if desired. (e.x. ".")
10.) Add a new a new empty attribute by clicking the "Add Empty" button, "adminDescription" is fine.
11.) Click OK.
12.) Click OK.
13.) Repeat steps 5 - 12 for the Update Attributes tab, if applicable.
14.) Locate the mapping for "targetAddress".
15.) Click Edit.
16.) Scroll down to the very last line in the script and replace "$values" with the following:
$values -replace "#032#","_"
Note: The underscore in the script above can be replaced by another valid character if desired. (e.x. ".")Note: The underscore in line 2 of the script above can be replaced by another valid character if desired. (e.x. ".")
17.) Click OK.
18.) Repeat steps 14 - 17 for the Update Attributes tab, if applicable.
19.) Locate the mapping for "proxyAddresses"
20.) Click Edit.
21.) Scroll down to the very last line in the script (use the cursor and down arrow to scroll to the bottom) and replace "$values" with the following:
$values -replace "#032#","_"
Note: The underscore in the script above can be replaced by another valid character if desired. (e.x. ".")Note: The underscore in line 2 of the script above can be replaced by another valid character if desired. (e.x. ".")
22.) Click OK.
23.) Repeat steps 19 - 22 for the Update Attributes tab, if applicable.
24.) Click OK.
25.) Save | Activate | Run the Directory Connector.