Differences between revisions 1 and 2
Revision 1 as of 2020-04-12 15:37:21
Size: 336
Editor: Sciuro
Comment:
Revision 2 as of 2020-04-13 20:22:49
Size: 1182
Editor: Sciuro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
== Webserver ==
=== Hiawatha ===
First, set the execution user in the file ''/usr/local/etc/hiawatha/cgi-wrapper.conf''. Add the next line to the file:
{{{
Wrap = mailman ; /usr/local/mailman/cgi-bin ; www:www
}}}

Then, make cgi exectutable in ''/usr/local/etc/hiawatha/hiawatha.conf'' by adding this line:
{{{
CGIextension = cgi
}}}

In your virtual host configuration, add an executable directory and make it an alias:
{{{
Directory {
        DirectoryID = dir_mailman
        Path = /mailman/
        ShowIndex = no
        StartFile = listinfo
        ExecuteCGI = yes
        TimeForCGI = 10
        WrapCGI = mailman
}

VirtualHost {
        ...
        Alias /mailman:/usr/local/mailman/cgi-bin
        NoExtensionAs = cgi
        EnablePathInfo = yes
        UseDirectory = dir_mailman
        ...
}
}}}

Description

Mailman is a mailing list manager. It's old, but very stable and very decent. The current running version uses Python 2. This is the installation on FreeBSD 12.1.

Installation

Of FreeBSD:

pkg install mailman

Configuration

Webserver

Hiawatha

First, set the execution user in the file /usr/local/etc/hiawatha/cgi-wrapper.conf. Add the next line to the file:

Wrap = mailman ; /usr/local/mailman/cgi-bin ; www:www

Then, make cgi exectutable in /usr/local/etc/hiawatha/hiawatha.conf by adding this line:

CGIextension = cgi

In your virtual host configuration, add an executable directory and make it an alias:

Directory {
        DirectoryID = dir_mailman
        Path = /mailman/
        ShowIndex = no
        StartFile = listinfo
        ExecuteCGI = yes
        TimeForCGI = 10
        WrapCGI = mailman
}

VirtualHost {
        ...
        Alias /mailman:/usr/local/mailman/cgi-bin
        NoExtensionAs = cgi
        EnablePathInfo = yes
        UseDirectory = dir_mailman
        ...
}

Howto/Mailman (last edited 2020-05-01 06:31:30 by Sciuro)