For many reasons, you may want to upgrade, while also switching a Basic Installation to an Advanced Installation.
A Basic Installation means simply changing the first four variables in the Config.pm
file itself. One of these variables is the $FILES
variable,
which is set to a directory where all the files/directories Dada Mail creates that represent a Mailing List in Dada Mail are stored.
Instructions on installing Dada Mail using a Basic Installation can be found here:
http://dadamailproject.com/installation/installation_basic.html
An Advanced Installation is an installation where only one variable in the Config.pm
file is changed, called, $PROGRAM_CONFIG_FILE_DIR
and putting all other configuration changes in an outside configuration file called, .dada_config
.
The Advanced Installation also uses a different directory structure for the files Dada Mail creates.
Instructions on installing Dada Mail using an Advanced installation can be found here:
http://dadamailproject.com/installation/installation_advanced.html
The instructions below will try to guide you from changing between and Basic and Advanced Installation.
What we suggest is that you do this during an upgrade, by first installing the new version of Dada Mail using an advanced installation and then moving over the files from the old installation into the directory structure of the advanced installation.
Before performing an advanced installation for your new Dada Mail, find the directory used for the, $FILES
variable in your old installation.
This directory should hold most all the files/directories that represent your Mailing Lists.
Instructions on how to do so can be found here:
http://dadamailproject.com/installation/installation_advanced.html
Once you've done the install/upgrade, you probably won't see any of your old lists yet. This is OK.
The advanced installation method should leave you with a directory struture within your .dada_files
directory that looks like this:
.archives .backups .configs .lists .logs .templates .tmp
All that's needed now to do is to move your old files in the old directory (saved in the old $FILES
location into this new directory structure:
Any directories named after the list short name are probably backups. Move those into, .backups
Any files that start with, mj-
and end in, archives
are archives. Move those files into, .archives
Any other files that start with mj-
are your list settings. Move those files into, .lists
Any files that end in, .list
, or black_list
, or something similar, basically: a dot (.
), (something else) and then, list
are your subscribers. Move those files into, .lists
Any file with the ending of, .txt
or, .log
are probably logs, Move those files into, .logs
Any file that ends in, .template
goes in, .templates
Most anything else is probably a temporary file, you may put them into, .tmp
and when you're sure they're not useful, you may remove them.