Novell Home

Cool Tool: Personal Address Book Search & Replace

Novell Cool Solutions: Trench
By Jeff Brusoe

Digg This - Slashdot This

Posted: 2 Apr 2003
 

This program will search through a GroupWise user's personal address books looking for a specified search string and replace it with another one. For example, if there are addresses of the form @domain1.com, it can replace those with addresses of the form @domain2.com.

This program was written when we removed an Exchange connector from our GroupWise system. All the Exchange addresses in the personal address books had the form of Username.ExternalPostOffice.ExternalDomain. Obviously, this would have created problems trying to send to these Exchange users without the connector. To solve this, this program was written that searched all personal address books, looking for the .ExternalPostOffice.ExternalDomain string and replace it with a valid @thecorrectdomain.com.

In our implementation, the search and replace strings were hard coded. To configure the program now, a separate text file, gwabfix.conf must be copied into the same directory as the executable, gwabfix.exe. In the configuration file change the SearchAddress and ReplaceWith fields to whatever is needed. Then run the program. The user must be logged into GroupWise for the program to work. Also, if the address book is open at the same time as the program is run, the user will need to refresh the address book before the changes will be seen. For this reason, it is recommended to run the program with the address book closed. Step by step instructions on its use are included in the readme.txt file as well.

Download the tool here: http://www.novell.com/coolsolutions/tools/1658.html


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell