This is intended primarily for Ed Wilts, but may
be useful for anyone else who is trying to get
Sympa up and running.

If you have any other questions, let me know.
I still haven't touched Sympa itself (the mailing
list part).  All this was required just to get
the WWSympa (web interface) working.  I'm playing
with actual mailing lists today.

----

The steps below are for anyone trying to use the
sympa-2.7.3-2mdk.  These have already been
discussed with a couple of the Mandrake
packagers, and should be fixed the next time the
package is updated.


Okay, the sympa-2.7.3-2mdk fixed a lot of the bugs from my earlier report,
thank you!  Here's what remains.  Step-by-step follows..


## 01 ##
rpm -ev sympa


## 02 ##
# Remove any/all remaining traces of
# old Sympa RPMs (quite a few, since
# that first package had a few
# problems..)


## 03 ##
rpm -ivh sympa-2.7.3-2mdk.i586.rpm


## 04 ##
# Had to do all this to get it to
# work on a standard install
# (except the SSL part, but Mandrake
# can at least correct the path to
# SSL, it's set for /usr/local.. by
# default).  The log_socket_type was
# the key to making it work right.
pico /etc/sympa.conf

diff /etc/sympa.conf.dist /etc/sympa.conf
26c26
< log_socket_type       unix
---
> log_socket_type       inet
86c86
< #openssl         /usr/local/ssl/bin/openssl
---
> openssl         /usr/bin/openssl

Also, do not forget to change all instances
of my.host and other host/domain names to
your host/domain name.


## 05 ##
# This config file isn't copied,
# can this be fixed please?
cp /home/sympa/sample/wwsympa.conf /etc
chmod 644 /etc/wwsympa.conf


## 06 ##
# These need to be set to work on a
# somewhat standard Mandrake install,
# without them, I got errors up the
# rear.
pico /etc/wwsympa.conf

diff /home/sympa/sample/wwsympa.conf  wwsympa.conf 
3c3
< use_fast_cgi  1
---
> use_fast_cgi  0
22c22
< # log_facility LOCAL2
---
> log_facility LOCAL1


## 07 ##
# Can this please be added automatically?
# Even if you leave it commented out, WWSympa
# doesn't work unless you have this line in
# your Apache configuration.  Inserting it and
# leaving it commented out makes LOTS of sense.
# This *REQUIRES* Apache suexec.
<VirtualHost lists.mydomain.net> 
   ServerName      lists.mydomain.net
   DocumentRoot    /home/sympa
   User            sympa
   Group           sympa
   ScriptAlias     /wws     /home/sympa/bin/wwsympa.fcgi
< /VirtualHost >


## 08 ##
# Annoying cleanup, this needs to be fixed.
# The one graphic gets placed in the wrong
# directory and the directory's ownership
# gets changed to sympa.sympa, which is BAD.
mkdir /home/httpd/icons/sympa
chown sympa.sympa /home/httpd/icons/sympa
mv /home/httpd/icons/logo-s.gif /home/httpd/icons/sympa
chown root.root /home/httpd/icons


After all of this, bringing up my web browser and
hitting http://lists.hostname.com/wws brought me right
to a WWSympa login screen.

----

Don Head                      [[EMAIL PROTECTED]]
Linux Mentor, LCP, Network+       [1 314 692-1942]
Wave Technologies, Inc.     [1 800 826-4640 x1942]
[AIM - Don Wave][ICQ - 18804935][Yahoo - Don_Wave]

Reply via email to