FastCGI Support

FastCGI Support

Dada Mail can be run under FastCGI.

Configuring Dada Mail to run under FastCGI

When installing Dada Mail via the web-based interface, look under Advanced Configuration (Optional)

Check the option, Configure Deployment Options. In the option labeled, Run Dada Mail under: select, FastCGI. Done!

When installing Dada Mail via the command line interface, pass the --deployment_running_under flag with the value, FastCGI:

    --deployment_running_under FastCGI

Doing so will run Dada Mail using the included, mail.fcgi script, rather than mail.cgi

Requirements

Dada Mail running under FastCGI does have additional requirements, which can usually be detected by Dada Mail during installation. The following CPAN Modules will need to be installed - they're not bundled with Dada Mail:

Your web hosting account also needs to support running Perl apps under FastCGI. FastCGI support for Dada Mail is set up to use an environment similar to having Apache configure with support for the mod_fcgi/mod_fastcgi module: simply accessing the script starts up an FastCGI process, which persists for a specified amount of time (more requests may create a specified pool of processes). If you make global configuration changes to Dada Mail, you will want to manually kill these processes, before you will see your configuration changes.

Hosting companies that provide support for running Dada Mail under FastCGI in this configuration include:

If you want to run Dada Mail under a different environment, for example: you're running the nginx webserver with a reverse proxy to a fastcgi server, you most likely want to run Dada Mail under PSGI/Plack, where one of the PSGI server options is to run as a FastCGI server.

Feedback

FastCGI support for Dada Mail is new! We expect some growing pains. We would love to hear your feedback on how Dada Mail is running under FastCGI. Please contact us directly:

https://dadamailproject.com/contact/

sign up and post to the dadadev mailing list:

https://dadamailproject.com/cgi-bin/dada/mail.cgi/list/dadadev/


Dada Mail Project

Download

Installation

Support