Project

General

Profile

Actions

Howto mailman » History » Revision 1

Revision 1/3 | Next »
stbuehler, 2009-11-12 23:06


Howto mailman

mailman is free software for managing electronic mail discussion and e-newsletter lists. You need a FastCGI CGI wrapper running (see Howto_CGI).

Lighttpd config

setup {
    module.load ( "mod_fastcgi", "mod_vhost" );
}

var.vhosts = [];

# ...

var.vhosts = var.vhosts + [
    "lists.example.com": ${
        alias (
            ("/mailman/", "/usr/lib/cgi-bin/mailman"),
            ("/pipermail/", "/var/lib/mailman/archives/public"),
            ("/images/mailman/", "/usr/share/images/mailman")
        );
        if req.path =^ "/mailman/" {
            pathinfo;
            fastcgi "unix:/var/run/lighttpd/www-data-cgi.sock";
        } else if req.path =^ "/pipermail" {
            dirlist;
        }
    }
];

# ...

vhost.map var.vhosts;

Updated by stbuehler over 14 years ago · 1 revisions