Differences between revisions 24 and 25
Revision 24 as of 2020-09-28 12:38:56
Size: 3327
Editor: ?Beuc
Comment: How to bootstrap admin access; update for newer versions
Revision 25 as of 2020-11-06 17:15:12
Size: 3326
Editor: ?Beuc
Comment: fastcgi mandatory / cgi dropped in 6.2.24
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:
== FastCGI Setup (All Debian versions) == == FastCGI Setup (up to stretch) ==
Line 39: Line 39:
Enable fast CGI in the {{{/etc/sympa/sympa/sympa.conf}}} ({{{/etc/sympa/wwsympa.conf}}} before stretch) file. Enable fast CGI in the {{{/etc/sympa/sympa/sympa.conf}}} (stretch) or {{{/etc/sympa/wwsympa.conf}}} (before) file.

Translation(s): English - Italiano


Sympa is mailing list management software.

Sympa

Installing and Configuring

Prerequisites

  • A web server: Apache
  • A database: MySQL or PostgreSQL
  • Locales used in web interface

Installation (All Debian Versions)

Install the sympa package.

Sympa creates all the tables during installation. Thus, you may need provide the root password of MySQL (before Stretch) or PostgreSQL.

The package in wheezy and later configures the logging to /var/log/sympa.log.

WWSympa

WWSympa is the web interface of Sympa. Sympa and WWSympa are in the same package : sympa. When installed, the Web interface is accessible at this URL: http://localhost/wws/

WWSympa installation

Install the wwsympa package.

For the package in wheezy and later, WWSympa is automatically setup to run using FastCGI. The package installer will create the necessary .fcgi scripts below.

FastCGI Setup (up to stretch)

Enable fast CGI in the /etc/sympa/sympa/sympa.conf (stretch) or /etc/sympa/wwsympa.conf (before) file.

## Is fast_cgi module for Apache (or Roxen) installed (0 | 1)
## This module provide much faster web interface
use_fast_cgi    1

Accessing the WWSympa interface

You can browse, send the listmaster password and send messages with the web interface (http://example.com/wws).

To enable the admin menu, you can use the First login? feature, send mail to e.g. root@localhost.localdomain (FQDN), follow the e-mailed link to change the password, add the new user to sympa.conf:listmaster and restart apache:

listmaster      listmaster@myhost,root@localhost.localdomain

If apache returns an error, look at logs: /var/log/apache2/error.log and /var/log/apache2/suexec.log

If you receive an error like: mod_fcgid fails with "Premature end of script headers: wwsympa-wrapper.fcgi and your webserver error log is full of HTML output, make sure you set use_fast_cgi 1 in /etc/sympa/wwsympa.

Postfix Integration

There is an excellent Debian-specific article on Postfix configuration here: https://tribut.de/blog/sympa-and-postfix/


See also

Debian specific information

Upstream specific information

Other information


CategorySoftware CategoryNetwork CategoryMail