Requirements to Run Dada Mail

REQUIREMENTS

Requirements needed to run Dada Mail

Dada Mail is designed to be fairly flexible in the type of environment you run it in, so long as that environment is Unix/Linux-like, you have access to Perl v5.8.1 or later and your web server can execute CGI scripts.

Environment

For the most part, Dada Mail is a web application; you interact with it via a web browser and it lives on top of a web server. Dada Mail is a simple CGI app for the most part, it does not currently support mod_perl or even Fast CGI, so those are not prerequisites.

Dada Mail is not a desktop application.

When we talk about what operating system, version of Perl, etc that's needed for Dada Mail to run - we're talking about what's needed on the server end. All you need to use Dada Mail is a modern web browser (we suggest Mozilla Firefox) and because of this, any operating system that can run a modern web browser can be used.

Supported Operating Systems

Linux, Free BSD and Mac OS X should all work well.

Solaris should also work well, but there are some issue with Sun's file locking system and Dada Mail. There may be workarounds.

Dada Mail isn't ever tested on a Windows Server or even Apache running on top of Windows.

Fair warning.

One major stumbling block is Perl for Windows lack of support for the fork() built-in, but this support has gotten better in time. We still don't test Dada Mail on Windows, though.

You'll also want to use the SQL backend if you ever attempt to run Dada Mail on a Windows-based server

Perl 5.8.1

Since Dada Mail is a CGI app, you'll need support for Perl CGI scripts within your web server environment.

Dada Mail is not a PHP script, so the version of PHP that you have available will not make much of a difference.

Perl v5.8.1 is the lowest version of Perl that Dada Mail requires to run, and corresponds to two things: the least version of Perl that has good-enough UTF-8 support, as well as the lowest common denominator when it comes to the vendor-supplied version of Perl.

Saying that, v5.8.1 is freakin' old - released on September of 2003, and we don't suggest using it if a much more recent copy of Perl is available to you, either something you've installed yourself, or another version of Perl available in your hosting environment.

For example, cPanel-powered hosting environments, which run a good majority of shared hosting accounts usually have vendor supplied copy of Perl of v5.8.1, v5.8.8 or v5.10. All these will work with Dada Mail, but they may also have a copy of v5.14 of Perl available at the following path:

"usr/local/cpanel/3rdparty/perl/514/bin/perl"

See:

http://docs.cpanel.net/twiki/bin/vief/AllDocumentation/AllFAQ/PerlFAQ

For more information.

To utilize this version of Perl, you'll need to change the shebang line (first line of the scripts, bundled with Dada Mail) to this path, rather than what Dada Mail ships with (/usr/bin/perl)

Mail Transport Agent

Dada Mail can pass messages to send to a sendmail-like command that applications like sendmail, qmail, postfix, exim, etc come with, or it can pass messages using the SMTP protocol. Amazon SES support is also avaiable. You will need one of these. Dada Mail is not an SMTP server itself.

Backend Options

SQL Backend

Dada Mail is tested with MySQL 5, PostgreSQL 8 and SQLite 3. We highly suggest using Dada Mail with either MySQL or PostgreSQL.

To utilize these backens, not only will you have to have these databases installed, you will need the Perl driver for these databases:

If these modules are not available, you'll need to install them using the operating system package management system, or using the cpan or cpanm command line tool, which should be installed when Perl is installed, or some hosts (like Cpanel) may have a way to install Perl modules through Cpanel. See:

http://dadamailproject.com/support/documentation-6_8_1/FAQ-general.pod.html#How-do-you-install-CPAN-Perl-Modules

Configuration

Dada Mail is shipped with an installer. It can also upgrade your Dada Mail.

Guide to Hosting Companies

This:

http://dadamailproject.com/support/hosting.html

is a very incomplete list of hosting companies that seem to work well with Dada Mail.


Loading