2006-04-29 10:59:37 +02:00
|
|
|
How to use ezmlm-web with debian
|
|
|
|
|
2006-05-04 03:23:25 +02:00
|
|
|
$Id$
|
|
|
|
|
2006-04-29 10:59:37 +02:00
|
|
|
Table of content
|
|
|
|
1 - install the package
|
2007-08-05 00:53:31 +02:00
|
|
|
2 - create user-sprecific suid binaries
|
|
|
|
3 - create a user-specific configuration
|
|
|
|
4 - enable stylesheet
|
|
|
|
5 - access control
|
|
|
|
6 - testing
|
2006-04-29 10:59:37 +02:00
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
|
|
|
1) install the package
|
2006-05-04 03:23:25 +02:00
|
|
|
The debian packages for ezmlm-web are not part of the main
|
|
|
|
debian distribution. Instead you have to use the debian repository
|
|
|
|
at systemausfall.org. Just add the following line to your
|
|
|
|
/etc/apt/sources.list:
|
|
|
|
|
|
|
|
deb http://systemausfall.org/toolforge/debian testing main contrib non-free
|
|
|
|
|
|
|
|
Now you may simply execute the following commands:
|
|
|
|
apt-get update
|
2007-08-05 00:53:31 +02:00
|
|
|
apt-get install ezmlm-web
|
2006-04-29 10:59:37 +02:00
|
|
|
|
|
|
|
|
2007-08-05 00:53:31 +02:00
|
|
|
2) create user-specific suid binaries
|
2006-04-30 10:06:21 +02:00
|
|
|
As perl-suid is considered deprecated, you have to compile a C-wrapper
|
|
|
|
for every user of your debian system, who wants to manage his mailing
|
|
|
|
lists with ezmlm-we.
|
|
|
|
Usually you do this only for your virtual mailing list user.
|
2006-04-29 10:59:37 +02:00
|
|
|
|
2006-04-30 10:06:21 +02:00
|
|
|
to create a wrapper, type the following:
|
|
|
|
ezmlm-web-make-suid USERNAME DESTINATION_FILE
|
2006-04-29 10:59:37 +02:00
|
|
|
|
2006-04-30 10:06:21 +02:00
|
|
|
e.g: ezmlm-web-make-suid john ~john/public_html/cgi-bin/ezmlm-web
|
2006-04-29 10:59:37 +02:00
|
|
|
|
|
|
|
|
2007-08-05 00:53:31 +02:00
|
|
|
3) create a user-specific configuration file (optional)
|
2006-04-30 10:06:21 +02:00
|
|
|
Copy /usr/share/doc/ezmlm-web/examples/ezmlmwebrc to ~john/.ezmlmwebrc
|
|
|
|
and change its content according to your setup.
|
2006-04-29 10:59:37 +02:00
|
|
|
|
|
|
|
|
2007-08-05 00:53:31 +02:00
|
|
|
4) enable the stylesheet
|
|
|
|
Copy the stylesheet files (/usr/share/ezmlm-web/www-data/*) to a location
|
|
|
|
of your choice. These files have to be accessible via a URL - maybe a place
|
|
|
|
like "/var/www/ezmlm-web-data/" could be appropriate.
|
|
|
|
Now you may have to change the "HTML_CSS_COMMON" and "HTML_CSS_COLOR"
|
|
|
|
settings in your ezmlmwebrc file. These values are URLs - not local
|
|
|
|
filenames.
|
2006-04-29 10:59:37 +02:00
|
|
|
|
|
|
|
|
2007-08-05 00:53:31 +02:00
|
|
|
5) access control (optional)
|
2006-04-30 10:06:21 +02:00
|
|
|
Configure access control for the fresh cgi binary. Maybe you can
|
|
|
|
use the htaccess.sample file in /usr/share/doc/ezmlm-web/examples as
|
|
|
|
a template.
|
2006-04-29 10:59:37 +02:00
|
|
|
|
2006-04-30 10:06:21 +02:00
|
|
|
Now you should create a webusers file to define the permissions of all
|
|
|
|
possible web users. An example webusers file can be found at
|
|
|
|
/usr/share/doc/ezmlm-web/examples/webusers.sample.
|
|
|
|
|
|
|
|
See /usr/share/doc/ezmlm-web/README for details about access control.
|
|
|
|
|
|
|
|
|
2007-08-05 00:53:31 +02:00
|
|
|
6) testing
|
2006-04-30 10:06:21 +02:00
|
|
|
Now you can access the ezmlm-web interface by using your web browser.
|
|
|
|
e.g. point it to http://localhost/~john/cgi-bin/ezmlm-web
|
2007-08-05 00:53:31 +02:00
|
|
|
If the web interface does not look like you would expect it, then you
|
|
|
|
may have to revise your stylesheet settings (HTML_CSS_COMMON and
|
|
|
|
HTML_CSS_COLOR in ezmlmwebrc).
|
2006-04-29 10:59:37 +02:00
|
|
|
|