Startbootstrap Grayscale

1.9.3, 2.0, 3.0 Only – UNIX Only – What should I do if I was unable to upgrade successfully to version 3.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. We are performing mailbox conversions during this upgrade and the half-converted directory can not be used. Part of these instructions will be to run a utility that will take your converted mailbox directories and files and restore them to the prior versions structure. The half-converted executable directory also cannot be used; it should be replaced with your prior version of the executables which can be downloaded directly from our ftp site.

After your system is restored and working, please contact for assistance with the 3.0 upgrade.

Restoration Instructions for Solaris:

To restore your system with your prior 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.
    -r /opt/post.office /tmp/POexecBad3.0
    -r /var/spool/mailbox /tmp/POmailboxBad3.0
    -r /var/spool/post.office /tmp/POspoolBad3.0
  3. Remove the 3.0 executables with by typing: pkgrm SCOM-MTA
  4. Copy the half upgraded versions of your account files. 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 prior version of your MTA-Accounts database file:cd Post.Office/configcp MTA-Accounts MTA-Accounts.bad3.0
    cp BTAccounts.i BTAccounts.i.bad3.0
    cp BTAccounts.a BTAccounts.a.bad3.0
    cp MTA-Accounts.backup.yymmddhhmm MTA-Accounts

    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. (Thestandard permissions for UNIX are listed elsewhere in this FAQ for your review.)

  5. Copy the half upgraded versions of your configuration files. 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 and time:

    cp .bad3.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. (Thestandard permissions for UNIX are listed elsewhere in this FAQ for your review.)

  6. We have written a perl script to help convert your mailbox directories from the new 3.0 structure to the old structure. (Note: You can download perl from the ftp site ntperl.hip.com.) Download from our ftp site a utility called unbucket.pl and run it using the following instructions:
    • Type: ftp ftp.software.com
    • Log in as anonymous.
    • Use your e-mail address as the password.
    • Change directory to the location of the utility by typing
      cd ftp\postoffice\archive\\unix\\utilities\
    • Download the executables in binary mode by typing:
      bin
      get unbucket.pl
    • Move the unbucket.pl utility to your mailbox directory.
    • Run the command by typing the following:
      cd winnt\system32\spool\post.office\mailbox
      perl unbucket.pl
    • The bucketed mailboxes will be copied back up to the unbucketed structure.
  7. Download your prior version of Post.Office for Solaris (1.9.3 or 2.0) from our web site to a temporary directory.
  8. Uncompress the file you downloaded and expand the resulting archive file to create the Post.Office package (SCOM-MTA) by typing:cd /var/tmp/PO
    uncompress .tar.Z
    tar xvpf .tar
  9. From the location in which you stored it, install the package by typing:
    pkgadd -d . SCOM-MTACaution: The upgrade program will ask if you wish to change configuration information. You should answer “no”.
  10. If you are currently using Program Delivery, you may 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
  11. Run the Post.Office configuration program:
    1.9.3: /opt/post.office/Install
    2.0: /opt/post.office/Setup