Restoring lost email with post office set to Client/Server Only.

  • 3018635
  • 04-Feb-2008
  • 27-Apr-2012


Novell GroupWise 5.2
Novell GroupWise 5.5
Novell GroupWise 6.0
Client/server only mode
Formerly TID 2951004


The GroupWise client, although set with the correct /@u- and /ph- switches, logs in to the user's current post office.
Restoring lost email with post office set to Client/Server Only.


Steps to restore lost items:

1. Restore from tape the entire post office directory (the post office directory and all its sub-directories are needed to be sure you get what you need). Restore it to a temporary directory; don't overwrite the actual post office.

There are two options for Step 2:

2A. Run a POA against the post office at the restored location with the /NOCONFIG switch. For example, if the post office directory were restored to a UNC path of \\TestSvr\VOL1\GWBACK, then a POA could be loaded against it as follows: Load gwpoa /home-\\TestSvr\VOL1\GWBACK /NOCONFIG. With this POA running, start a GW Client with the /@u-? switch, choose to make a TCP/IP connection, enter the IP address of the server this POA is running on, and enter 1677 for the port. This should allow you to make a Client/Server connection to the restored post office. (NOTE: If you must restore the post office to a production server that's already running a POA, exit the production POA (and keep it down) before loading the POA against the resotored post office.)

Or 2B. a. Change the live post office mode from "Client/Server Only" to "Client/Server and Direct" by going into Nwadmin, double-clicking on the post office object and in the information tab in the Access Mode box changing it to Client/Server and Direct. Also, change the Post Office security to Low.
b. Rebuild the post office to a temp location off-line. To do this, right click on the post office object in the GW View and hit System Maintenance. Hit the Rebuild Database radial button and hit Run which will bring up a "Rebuild Destination Path" box. Hit the folder icon to browse to a temporary directory (it's best to use a directory on the workstation's hard drive from which Nwadmn32 is being run), then hit OK. The rebuild runs and creates the WPHOST.DB in the temporary directory.
c. Change the live post office mode back to "Client/Server Only". Also, if you have changed the Post Office security to Low, return it to the previous security level.
d. In the directory the post office was restored to, rename the WPHOST.DB to WPHOST.OLD
e. Copy in the rebuilt post office (the WPHOST.DB from the redirected rebuild in Sub-step b) to the restored directory.
f. Modify the GW icon to look to the temp post office for it's data. This is done using the /ph- switch and the /@u-? switch. Add these switches to the end of the command line of the icon.

3. Launch GW. You will be looking at the messages, attachments, and appointments as of the date of the backup.
4. If GW seems to be prompting for a password, run GWcheck, Reset Client Options on the user.
5. Archive the items you need or print out the messages if that's all you require. Get all the messages at once, as you don't want to be jumping back and forth between the real and temp post office. As you would guess, the temp post office does not contain any items received/sent after the backup.

6. Exit GW, remove the /ph- switch from the icon. This points you back at the real post office.

7. Start GW. You will have your latest messages in your inbox, and the recovered messages in your archive. If you wish, you can unarchive messages back into your inbox. Once you're sure everything is OK, delete the temp post office directory.

NOTE: The following information may be helpful if even using the switches, user is not prompted for the user ID and password:

1. Add to HOSTS file server DNS name, pointing to local loopback, so that the client looks at the workstation to find the post office.
2. To open port 1677 and allow the IP connection, load the POA [for NT on the NT workstation].
3. This works even though the restored post office comes from a Novell box, and points it to the restored post office directory.
4. This allows the workstation to answer to the request for the server DNS name and allow the IP access through port 1677.
5. This allows to login as the user and archive user's mail.
6. Remove the line from the HOSTS file to resolve the user's DNS name to its true address.
7. Log into the user's new account and un-archived mail.


Additional Information

The post office uses the IP address primarily to log into GroupWise. A /ph- switch cannot overwrite a Client/Server only mode. By switching to Client/Server and direct, the issue can be avoided.

Formerly known as TID# 10011040