Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171105 - mailman for lighttpd
Summary: mailman for lighttpd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-16 00:54 UTC by Jim Ramsay (lack) (RETIRED)
Modified: 2008-01-22 15:47 UTC (History)
2 users (show)

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


Attachments
files/lighttpd-mailman.conf (lighttpd-mailman.conf,674 bytes, text/plain)
2007-03-16 00:57 UTC, Jim Ramsay (lack) (RETIRED)
Details
mailman-2.1.9-r1.ebuild (mailman-2.1.9-r1.ebuild,5.07 KB, text/plain)
2007-03-16 01:02 UTC, Jim Ramsay (lack) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-03-16 00:54:25 UTC
I have just switched over to lighttpd, and in the process had to hack up mailman a bit to make it go.  I have an ebuild that does the same hacking, as well as a lighttpd-mailman.conf file that is installed by the ebuild.  I'll attach it here for you and other interested parties.

It works great for me.
Comment 1 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-03-16 00:57:27 UTC
Created attachment 113427 [details]
files/lighttpd-mailman.conf

This is the config file for lighttpd which enables all the mailman magic.  It is installed by the ebuild into /etc/lighttpd/mailman.conf, and must be enabled by adding the line:
  include "mailman.conf"
to the /etc/lighttpd/lighttpd.conf file, as is explained in the post install instructions of the ebuild.
Comment 2 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-03-16 01:02:43 UTC
Created attachment 113429 [details]
mailman-2.1.9-r1.ebuild

This is the ebuild that does all the magic, allowing you to install mailman for lighttpd.  Main changes:

- Now has IUSE="apache apache2 lighttpd ..." < You must choose exactly one of these three, and the ebuild will shut you down if more than one is on.
- For USE="apache" or USE="apache2", this ebuild should function exactly the same.
- For USE="lighttpd", it configures mailman with --with-cgi-gid=lighttpd, hacks the IMAGE_LOGOS path in mm_cfg.py.dist (and in the existing mm_cfg.py if it is not set there) to be '/mm-icons/', and installs the 'lighttpd-mailman.conf' in the appropriate place, which enables /mailman/, /mm-icons/, and /pipermail/ appropriately.
Comment 3 Kevin Bryan 2007-09-21 13:32:21 UTC
>- Now has IUSE="apache apache2 lighttpd ..." < You must choose exactly one of
> these three, and the ebuild will shut you down if more than one is on.

I would like to suggest that it is ok to have none of these use flags set, as it isn't really a requirement to manage mailman through a webserver (although it is certainly more convenient).  Another good reason for this is that your email server and webserver might not be the same machine (if the mailman directory is setup as an share, since obviously they need to use the same databases).
Comment 4 Hanno Böck gentoo-dev 2008-01-22 15:47:51 UTC
the latest mailman ebuild is now pretty much webserver independent, so I consider this as fixed.