Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77725 - net-mail/mailman insists on using apache
Summary: net-mail/mailman insists on using apache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 11:55 UTC by Andreas Korinek
Modified: 2006-11-24 12:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Korinek 2005-01-12 11:55:07 UTC
mailman can be used with any webserver like lighttpd, but insists on installing apache. Please modify DEPEND to detect any webserver, not only apache

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-01-12 14:23:13 UTC
do you have a setup that works? If you do then I'll add lighttpd to DEPEND.
Comment 2 Andreas Korinek 2005-01-14 07:50:02 UTC
I tried it and it works with a little tweaking:
- You have to create two symlinks in /var/www/localhost/htdocs:
mailman -> /usr/local/mailman/cgi-bin/
pipermail -> /usr/local/mailman/archives/public/

- In /etc/lighttpd.conf you have to change:
cgi.assign                  = ( ".pl"  => "/usr/bin/perl",
                                ".cgi" => "/usr/bin/perl")

to :
cgi.assign                  = ( ".pl"  => "/usr/bin/perl",
                                ".cgi" => "/usr/bin/perl",
                                "admin" => "",
                                "admindb" => "",
                                "confirm" => "",
                                "create" => "",
                                "edithtml"=>  "",
                                "htdig" => "",
                                "listinfo" => "",
                                "mmsearch" => "",
                                "options" => "",
                                "private" => "",
                                "rmlist" => "",
                                "roster" => "",
                                "subscribe" => "")

The user and group have like this:

## change uid to <uid> (default: don't care)
server.username            = "lighttpd"

## change uid to <uid> (default: don't care)
server.groupname           = "apache"
Comment 3 Hanno Böck gentoo-dev 2006-11-24 12:09:11 UTC
I have added an optional dep to lighttpd, although I'n not using it anywhere, so I can't test. Report any problems that might occur.