This FAQ is to help answer questions about installation and upgrading Dada Mail that is not covered in any of the other installation/upgrade docs. To keep those docs clean and simple, some topics are covered here, instead of in the main docs.
uncompress_dada.cgi script fails to uncompress the Dada Mail distro, you may have to complete a few steps, yourself. This usually is because the
gunzip utility just isn't available to whatever is running the
uncompress_dada.cgi script. Shucks.
The tar.gz distribution you just downloaded to your Desktop Computer should uncompress to one folder/directory called, dada.
There are a lot of files and this may take a few minutes.
(If you're familiar with accessing your hosting account via ssh, feel free to simply upload the distribution to your hosting account and uncompress from there.)
By default, the installer is disabled, so not to pose as a security issue. Rename the, dada/installer-disabled directory to, dada/installer.
BOTH of these scripts need to have their permissions changed to, 755
install.cgi script should take over from there.
You can now jump back to the installation instructions at, Configuring Dada Mail with the, "install.cgi" Script
It used to be common practice that CGI scripts could only be installed in a hosting account that had a, cgi-bin directory which itself had the correct server configuration to allow the execution for CGI scripts, like Dada Mail.
This is really not the case anymore and usually one can install CGI scripts wherever one want with little or no additional configuration. Our directions still tell you to install Dada Mail in your
cgi-bin to be as universal as possible.
If additional configuration is needed, you may simply need to create an
.htaccess file inside the directory you decide to place Dada Mail in. The
.htaccess file should have the following, "configuration directives":
Options +ExecCGI AddHandler cgi-script cgi pl
It may be helpful to still install Dada Mail inside some other directory, instead of right inside your public html directory. This should make upgrades easier. For example, if your public html directory is located at:
You may want to set up an additional directory called, "apps" (or, whatever you'd like it to be called):
and place the,
.htaccess file, with the configuration directives listed above in that directory. Then while installing, upload both the,
uncompress_dada.cgi script and Dada Mail
dada-x_x_x.tar.gz distro in that same directory. The,
uncompress_dada.cgi script should be allowed to execute, creating the,
dada directory inside your,
Upgrades would also be simple and you'll be able to follow the directions of the Upgrade docs - renaming the,
dada directory to get it out of the way, etc.
This would give you a URL similar to:
Clean and simple.
You may also want to think about creating a subdomain just for Dada Mail, allowing you to easily separate Dada Mail from the rest of your website. A suggest would be to call it:
ml standing for, mailing list. Your URL would then be:
The directory your mapping your subdomain onto would then be that, "extra" directory to install Dada Mail in, complete with
.htaccess file (if needed). For example, you could map your subdomain to a directory in your home directory:
or a directory in your public html directory:
.dada_files directory really needs to be created in a secure location, so if at all possible, have it created somewhere outside of your public html directory, so as to not be accessable easily via a web browser.
By default, the Dada Mail Installer tries to find your home directory and sets this directory as the location it will automatically create the
It is possible that the Dada Mail Installer will not have permissions to create the
.dada_files directory in your home directory, or that it will not be able to correctly find your home directory. In this case, you will want to set another directory location.
See if there's a directory called,
files or even,
etc that already exists in your home directory and give the Dada Mail Installer the full, absolute path to that directory.
If those directories do not exist, see if you cannot create your own new directory, within your home directory.
Change this new directory's permissions to,
777, give the Dada Mail Installer the full, absolute path to this new directory and see if its accepted. We suggest that you reset the permissions to the new directory you created to,
755, to be less of a security problem, once the installation is complete.