Upgrade Dada Mail



Upgrading Dada Mail


Before We Get Started

Before upgrading Dada Mail, find out how you installed and configured Dada Mail before. If you don't know or aren't sure, don't upgrade Dada Mail: you will run into major headaches.

"Basic", or, "Contemporary"?

We're going to only differentiate between two types of installations: "Basic" and, "Contemporary"

Basic Installation

A, "Basic" installation changes the configuration variables right in the, dada/DADA/Config.pm file - usually you want to be very much aware of the following variables:

You'll know if you have a, "Basic" installation of Dada Mail, if the, $FILES variable in the, dada/DADA/Config.pm file is filled out to a directory that actually exists and that directory holds files/directories that have something to do with Dada Mail.

If you are running a "Basic" Installation of Dada Mail, we really suggest upgrading by taking note of where your $FILES variable is located and importing the old information after a clean installation.

More Information

http://dadamailproject.com/support/documentation-4_2_0/basic_two_contemporary_installation.pod.html

Contemporary Installation

A Contemporary Installation uses an outside configuration file to set the configuration variables in.

You'll know if you have a Contemporary Installation, if those same four variables in the, dada/DADA/Config.pm file:

  • $PROGRAM_ROOT_PASSWORD
  • $FILES
  • $MAILPROG
  • $PROGRAM_URL

Are still in their default values and your Dada Mail seems to be functioning fine. This probably means that your config variables are being read from an outside config file.

For upgrade purposes, note what the, $PROGRAM_CONFIG_FILE_DIR in the, dada/DADA/Config.pm is set to. It's OK if it's only set to, auto.


Step #1 Move The Old Program Files Out of the Way

Dada Mail, "The Program" is the collection of files and directories that are in the directory called, dada.

This directory is most likely located in your cgi-bin. It's directory structure like this:

 cgi-bin (directory)
    - dada (directory, _lower_ case)
        - mail.cgi 
        - DADA (directory, UPPER case)
            - App (directory)
            - Config.pm
            - etc, etc, etc

This is Dada Mail, "The Program"

Simply rename this directory on the server from:

 dada

to something like:

 dada-old_ver

Moving the directory:

Step #2 Install the new Dada Mail

Now, you can just follow the instructions for an installation of Dada Mail:

http://dadamailproject.com/support/documentation-4_2_0/install_dada_mail.pod.html

Changelog

It's a very very good idea to look at the changelog and not any incompatibilities> between versions. It's possible that incompatibilities could break your installation, when you upgrade.


Loading