Startbootstrap Modern Business

1.9.3 and 2.0 Only – NT Only – What should I do if I was unable to upgrade successfully to version 2.0 and I don’t have a standard, full system backup, just the registry backup made during the upgrade with Setup.exe?

You should have made a complete backup of your Post.Office system before upgrading (as instructed in the README.TXT and RELNOTES.TXT files). If you did not make a standard, full system backup as instructed, you will need to rely on the partial backup which was made during the upgrade.

Note: The registry backup made during the upgrade copies registry information only. Your mailbox directories and the executable directory were not backed up, and some 2.0 conversion tasks may have been performed on them. The converted executable directory cannot be used; it should be moved and replaced with the 1.9.3b version of the executables which can be downloaded directly from our ftp site. You can still use the converted mailbox directories, but with the following caution: those users whose mail clients utilize the POP3 command “last” (i.e. Zmail) may experience the re-downloading of mail stored on the server the first time that their client contacts the server after the restoration.

The instructions that follow will guide you through the restoration process. They assume that you are using the registry backup files created during the upgrade. After your system is restored and working, please contact for assistance with the 2.0 upgrade.

  1. Make sure that you are logged in as the Local Administrator of your host. Logging in as the Domain Administrator is not sufficient unless the machine you are using is a Primary Domain Controller.
  2. Shutdown the Post.Office Service from within Program Manager:
  • Double click on the Control Panel icon.
  • Double click on the Services icon.
  • Locate and select the list entry for the post.office MTA.
  • Click on the Stop button.
  1. Set permissions on the Post.Office Registry key to allow Full Control to Everyone:
  • Launch a DOS shell.
  • Change directory to the location in which the Post.Office executables reside.
    Note: The poperms script must reside there as well.
  • Type: poperms -r -Everyone -u
  1. Back up the 2.0 version of the Post.Office Registry key:
  • Launch REGEDT32.exe.
  • Follow the path HKEY_LOCAL_MACHINE/SOFTWARE/software.com
    to locate the Post.Office key.
  • Select the Post.Office key.
  • Pull down the Registry menu and choose the Save Key command.
    (suggested name to save under: Post.OfficeRegKey2.0)
  1. Restore the prior version of the Post.Office Registry key that was saved during the upgrade:
  • Make sure that the Post.Office key remains selected (highlighted).
  • Pull down the Registry menu and choose the Restore command.
  • Locate and select your automatic backup copy of the prior Post.Office Registry key (post-office-Reg) then click on the OK button.
    (It’s located by default in \winnt35\system32\spool\PostOfficeBackup.)
  • Confirm your desire to overwrite the current key by clicking on the YES button of the alert box that appears.
  1. Set permissions on the Post.Office Registry key back to the default permissions for your Post.Office-User:
  • Return to the DOS command line (within the Post.Office executables directory) and type:
    poperms -r -u
  1. Download the 1.9.3b executable archive file by following the ftp instructions below:
  • From the DOS prompt, change to the directory immediately above the Post.Office executables directory. For example, if your Post.Office executables directory is \win32app\post.office, please cd to \win32app.
  • Type: ftp ftp.software.com
  • Log in as anonymous.
  • Use your e-mail address as the password.
  • Change directory to the location of the appropriate package by typing
    cd ftp\po20utils\nt\
  • Download the executables in binary mode by typing:
    bin
    get poexec--1.9.3b.zip
  1. Set file system permissions for your Post.Office Executables, Configuration and Mailbox directories to allow Everyone to have Full Control.Note: The exact location of the Configuration and Mailbox directories can be found via the Program Manager by double clicking on the Main\Control Panel\Post.Office icons in the order indicated. When the Post.Office applet window appears look at the bottom to determine the locations of the Post.Office Directory containing configuration information and the Mailbox Directory containing your mailbox information . (Do not use the Post.Office executables contained in the Program Directory listed here. Instead use the 1.9.3b executables obtained via ftp.)
  • type: poperms -f -Everyone -u
  1. Back up the Post.Office 2.0 executables you have now.
  • Launch the File Manager.
  • Locate and select the Post.Office directory.
    (the default location is \win32app\Post.Office)
  • From the File menu choose the Move command.
  • Type the new name and location in the To: field provided, then click on the OK button.(suggested name and location is anotherhost\temp\Post.Office2.0exec)
  1. Restore the 1.9.3b Post.Office executables (the ones you just downloaded).
  • From the File Manger, locate the Post.Office 1.9.3b executables archive file and unzip it.
  • This will create a new Post.Office directory containing 1.9.3b executables.
  • You will need to move your poperms script from the backup directory made in Step 9 (suggested name and location was anotherhost\temp\Post.Office2.0exec)
    to the restored directory.
  1. Run the poperms tool to set file system permissions for your Post.Office Executables, Configuration and Mailbox directories back to the secure default settings where your Post.Office-user has Full Control by typing:
    poperms -f -u
  2. Startup the Post.Office Service by returning to the Services window, selecting the post.office MTA entry from the list, and clicking on the Start button.Note: This procedure does not alter the Post.Office applet icon. You’ll see the new 2.0 icon, but all other indications will correctly reflect the fact that you are running Post.Office version 1.9.3b.

1.9.3 and 2.0 Only – UNIX Only – I was unable to upgrade successfully to version 2.0. How do I restore Post.Office from my standard, full system backup files?

If you attempted to install the 2.0 release of Post.Office and received the following error message:

pkgadd: ERROR: preinstall script did not complete successfully

Installation of failed.

you will be left in the pkgadd utility. Please type quit or it could attempt your conversion again. This message indicates that the conversion of your account database did not succeed. You will have to restore your system to the previous 1.9.3 version of Post.Office. After your system is restored and working, please contact [email protected] We will need to evaluate your problem and then assist you with the 2.0 upgrade.

Restoration Instructions for Solaris:

The easiest way to restore is if you have made a total backup of your Post.Office including:

  • Post.Office Configuration information: Post.Office
  • Post.Office Mailbox information: Mailbox
  • Your Configuration File: /etc/post.office.conf

Assuming you took that precaution (as instructed in the README.TXT and RELNOTES.TXT files), please do the following:

  1. If Post.Office is running please shut it down by typing:
    /Post.Office shutdown
  2. Copy the existing, half-upgraded versions of the directories and files listed above to another location before attempting restoration.
  3. Restore the two file system directories containing Post.Office Configuration information and Post.Office Mailbox information, as well as the Configuration file from your backup on top of the existing half- upgraded versions.Note: You might run into ownership or permission problems if you didn’t back up or restore with the original permissions. It’s possible that executing a chown on the copied files and assigning ownership to your post.office user (mta) will be enough. (The standard permissions for UNIX are listed elsewhere in this FAQ for your review.)
  4. Remove the 2.0 executables with pkgrm:
    pkgrm SCOM-MTA
  5. Download the 1.9.3b version of Post.Office for Solaris from our web site to a temporary directory.
  6. Uncompress the file you downloaded and expand the resulting archive file to create the Post.Office package (SCOM-MTA) by typing :cd /var/tmp/PO1.9.3b
    uncompress post_office-solaris2-v1_9_3b_tar.Z
    tar xvpf post_office-solaris2-v1_9_3b_tar
  7. From the location in which you stored it, install the 1.9.3b package by typing:
    pkgadd -d . SCOM-MTACaution: The upgrade program will ask if you wish to change configuration information. You should answer “no”.
  8. If you are currently using Program Delivery you will need to re-enable that feature by typing:

chmod u+s /opt/post.office/local/Program-Deliver

rm /opt/post.office/trusted/NO-PROGRAM-DELIVERIES

Caution: There are security issues associated with the use of Program Delivery. Please read Appendix G of the Post.Office manual to ensure you understand those issues before enabling this feature.

  1. Run the Post.Office configuration program: /opt/post.office/Install

This will restore your account information and upgrade your executables back to the 1.9.3b version of Post.Office.

Restoration Instructions for SunOS/Irix:

The easiest way to restore is if you have made a total backup of your Post.Office including:

  • Post.Office Executables: Post.Office
  • Post.Office Configuration information: Post.Office
  • Post.Office Mailbox information: Mailbox
  • Your Configuration File: /etc/post.office.conf

Assuming you took that precaution (as instructed in the README.TXT and RELNOTES.TXT files), please:

  1. If Post.Office is running shut it down by typing:
    /local/Post.Office shutdown
  2. Copy the existing, half-upgraded versions of the directories and files listed above to another location before attempting restoration.
  3. Restore the three file system directories containing Post.Office Executables, Post.Office Configuration information, and Post.Office Mailbox information, as well as the configuration file from your backup on top of the existing half- upgraded versions.

Note: You might run into permission problems if you didn’t backup or restore with the original permissions. The standard permissions for UNIX are listed elsewhere in this FAQ for your review. Once you are restored and your permissions are properly set, start the Post.Office server (i.e. Post.Office/Post.Office startup).

1.9.3 and 2.0 Only – UNIX Only – What should I do if I was unable to upgrade successfully to version 2.0 and I don’t have a standard, full system backup, just the backup made during the upgrade?

You should have made a complete backup of your Post.Office system before upgrading (as instructed in the README.TXT and RELNOTES.TXT files). If you did not make a standard, full system backup as instructed, you will need to rely on the partial backup which was made during the upgrade.

Please be aware, however, that your mailbox directories and the executable directory were not included in the partial backup. The half-converted executable directory cannot be used; it should be replaced with the 1.9.3b version of the executables which can be downloaded directly from our ftp site. You can still use the mailbox directories, but with the following caution: those users whose mail clients utilize the POP3 command “last” (i.e. Zmail) may experience the re-downloading of mail stored on the server the first time that their client contacts the server after the restoration

After your system is restored and working, please contact [email protected] for assistance with the 2.0 upgrade.

Restoration Instructions for Solaris:

To restore your system with the 1.9.3b version of Post.Office, you will need to:

  1. Shutdown Post.Office
    /Post.Office shutdown
  2. For safety’s sake please copy the existing, partially modified versions of the mailbox directories and the executables directory to another location before attempting restoration.
  3. Remove the 2.0 executables with by typing: pkgrm SCOM-MTA
  4. Copy the original file and then replace the half upgraded version of your MTA-Accounts file with the backup of the file made during upgrade. If you attempted to run the upgrade more that once, make sure to restore the “first” backup made so that you restore the working 1.9.3b version of your MTA-Accounts database file:
    cd Post.Office/config
    cp MTA-Accounts MTA-Accounts.bad2.0
    cp MTA-Accounts.bak.yymmddhhmm MTA-AccountsNote: You might run into ownership or permission problems if you didn’t back up or restore with the original permissions. It’s possible that executing a chown on the copied files and assigning ownership to your post.office user (mta) will be enough. (The standard permissions for UNIX are listed elsewhere in this FAQ for your review.)
  5. Copy the original file and then replace the half upgraded version of your configuration files with the backup of the files made during the upgrade. You might have old ones there that you DON”T want to use, so only use the *.backup files with today’s date:
    cd Post.Office/configFor each *.backup file with today’s date:cp .bad2.0
    cp .backup

    Note: You might run into ownership or permission problems if you didn’t back up or restore with the original permissions. It’s possible that executing a chown on the copied files and assigning ownership to your post.office user (mta) will be enough. (The standard permissions for UNIX are listed elsewhere in this FAQ for your review.)

  6. Download the 1.9.3b version of Post.Office for Solaris from our web site to a temporary directory.
  7. Uncompress the file you downloaded and expand the resulting archive file to create the Post.Office package (SCOM-MTA) by typing:cd /var/tmp/PO1.9.3b
    uncompress post_office-solaris2-v1_9_3b_tar.Z
    tar xvpf post_office-solaris2-v1_9_3b_tar
  8. From the location in which you stored it, install the 1.9.3b package by typing:
    pkgadd -d . SCOM-MTACaution: The upgrade program will ask if you wish to change configuration information. You should answer “no”.
  9. If you are currently using Program Delivery you will need to re-enable that feature by typing:
    chmod u+s /opt/post.office/local/Program-Deliver
    rm /opt/post.office/trusted/NO-PROGRAM-DELIVERIESCaution: There are security issues associated with the use of Program Delivery. Please read Appendix G of the Post.Office manual to ensure you understand those issues before enabling this feature
  10. Run the Post.Office configuration program: /opt/post.office/Install

This will restore your account information and upgrade your executables back to the 1.9.3b version of Post.Office.