How to Login to GroupWise via IMAP Using a Trusted Application

  • 7015223
  • 18-Jun-2014
  • 06-Aug-2014

Environment

Novell GroupWise 2014
Novell GroupWise 2012
Novell GroupWise 8

Situation

How to Login to GroupWise via IMAP Using a Trusted Application
How to properly encode the XGWTRUSTEDAPP credentials

Resolution

To test an authenticated login with IMAP, see the following utility:
Novell Cool Solutions - GroupWise Trusted Application Test Script

To create the encrypted authentication-login key, see one of the following options:

  • For Linux, from a terminal window:
    printf "trustedAppName\x00trustedAppKey" | openssl base64 -A
    Note: Replace trustedAppName and trustedAppKey appropriately - keeping \x00 in between. See the Additional Information section below for more details.

  • For Windows, an excellent article for this can be found:
    http://www.redjuju.com/login-groupwise-via-imap-using-trusted-application/



Additional Information

In case the link above breaks, a general overview of the process is as follows:

First, initiate the sequence:  A002 AUTHENTICATE XGWTRUSTEDAPP
Second, supply the credentials sequence:  XGWTRUSTEDAPP <ENCODED KEY>

Convert from Raw Data: <trustedAppName><nullCharacter><trustedAppKey>
Convert to Base 64 Encoded String: <Encoded Key>

The sequence is as follows:
TELNET xx.xx.xx.xx 143 (Use the IP Address where IMAP is configured for GroupWise)
A10 AUTHENTICATE XGWTRUSTEDAPP
+
XGWTRUSTEDAPP Q3VzdG9tS2V5ADYzNTZBNDAwMERFRTAwMDA5QTEzMUUwNUMwQzBCRDE0NjM1NkE0MDEwREVFMDAwMDhDNkUxQkZFQTUzOTAyNEQ=


On Success, you receive a response OK XGWTRUSTEDAPP Authentication Successful

Feedback service temporarily unavailable. For content questions or problems, please contact Support.