Unable to delete an Internet Domain in the GroupWise Administration Console
When trying to delete an internet domain in the GroupWise Administration Console you could receive an error indicating that the internet domain name is still being referenced:
Figure 1: Deletion of Internet Domain failure
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:
The script does not check GWIAs for legacy gateway aliases. This needs to be done manually.
To check for legacy gateway aliases, in the GroupWise Administration Console go to the GWIA 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.
Figure 2: Gateway Alias listed in the GWIA
To remove a gateway alias from the object identified above, refer to Figure 2, 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.
Figure 3: Removing a GatewayAlias
In order to use the script, attached (rename from .txt to .sh), copy the script to your GroupWise server. Make the script file executable. 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.
Figure 4: Internet Addressing Overrides on a GroupWise object
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.