GroupWise Trusted Application Test Script

GroupWise Trusted Application Test Script

Inspired by Marvin Huffaker's excellent article about how to test a GroupWise Trusted App login via IMAP (see, we created this bash script to help administrators test Trusted App authentication directly from a Linux server.

When you run the script, it will prompt you for your trusted app name and Trusted App key, and then automatically generate the Base64-encoded Trusted App authentication key. It will then prompt you for the IP address and port of your IMAP server and connect and attempt to perform the XGWTRUSTEDAPP authentication to verify that your Trusted App authentication is working correctly (or not).

The script should work on SLES and OES servers, and will verify both plain-text and SSL-enabled Trusted App connections to IMAP on either a POA or GWIA. One note, if you want to run this on an OpenSuSE server, you will first need to install the "expect" package (expect is not installed by default on OpenSuSE).

Thanks to Tyler Harris and Shane Nielson in Novell Technical Services and Morris Blackham in Novell Engineering for their help in creating and testing the script.


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-08-06 23:51
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.