When trying to delete an internet domain in the GroupWise Administration Console you may receive an error indicating that the internet domain name is still being referenced, as illustrated below.
You need to identify each object in your GroupWise system that has a reference to the internet domain name you wish to delete. This can be time consuming and cumbersome in large GroupWise systems.
There is a script that may assist you with finding what object/objects are referencing that internet domain. The script will check:
- Users
- Groups
- Resources
- Nicknames
The script does not check GWIAs for legacy gateway aliases. This needs to be done manually. To do this, go to a GWIA object in the GroupWise Administration Console and on the GroupWise tab select the “Gateway Aliases” option from the menu on the left-hand side. Here you will find the gateway aliases listed.
To remove the gateway alias from the object identified above, go to the object in the GroupWise Administration Console. On the “Objects” tab select “Gateway Aliases” from the menu on the left-hand side. Select the gateway alias you wish to delete and click on the Remove button.
Script
In order to use the script, found at the end of this article, copy the script into a file on your GroupWise server with a .sh extension. Make the script file executable and run the script, providing the answers to the questions. I recommend running the script on the primary domain server and pointing the IP/Hostname field to the gwadminservice on that server.
The end result of running the script is a file called output.csv in the same directory that you run the script from.
The comma separated file will contain a list of object names, including the Post Office and Domain name that reference the internet domain name you wish to delete.
In the GroupWise Administration Console go to the properties of the objects identified in output.csv and on the “Internet Addressing” tab remove any Overrides that exists.
Once each of the objects identified in the output.csv file have had their references to the internet domain removed you can then go back to Internet Addressing in the System properties of your GroupWise system and delete the internet domain you no longer wish to have.