PDA

View Full Version : Mailing list server


lashampoo
02-25-2002, 12:22 PM
Hi I try to install a mailing list server on my G4 bi-500... Here is my configuration : OS 10.1.3 , Perl 5.6.1, PHP 4, perl::dbi, FreeType, python, MySQL, GD... My sendmail server is running fine.

I picked up several mailing list prgrams : Listar (http://www.listar.org/) and Sympa (http://listes.cru.fr/sympa/) because the both use Sendmail. (EZMLM (http://www.ezmlm.org/) uses Qmail). Majordomo is too old have have too few features (the command must be in the body and not in the subject, etc...) for my personnal use. Sympa is nice because it uses a MySQL database to manage subscribers.

But the problems are always the same. They use, during install, programs that seems not run on Mac OS X. Even Listar that have a specific FreeBSD makefile script. Sympa uses gencat and Msgcat that seems not been able to run on Mac OS X and Sympa stops during the installation.

I noticed that the Mailing List server threads are not very popular on Mac OS X forums... Does anyone has a clue to install a mailing list server ? Thanks.

saint.duo
04-11-2002, 04:22 PM
I've been trying to setup mailman, which went well (I added PHP, MySQL, and Python to the stock OS X Server install)

I had no trouble with compiling and installing mailman, but ran into troubles when it started talking about aliasing this and that in apache. I'm sure someone more knowledgable about apache could do it (or tell me how), and it would work, since it interfaces w/ sendmail, but I'm stumped.

Here's an exceprt of what needs to be done.

- Configure your web server to give $prefix/cgi-bin permission to
run CGI scripts. You probably need to be root to do this.

The line you should add might look something like the following
(with the real absolute directory substituted for $prefix, of
course):

Exec /mailman/* $prefix/cgi-bin/*
or:
ScriptAlias /mailman/ $prefix/cgi-bin/


and


- Configure your web server to point to the Pipermail public
mailing list archives:

For example, in Apache:

Alias /pipermail/ $varprefix/archives/public/


come to think of it, that the only part I don't know how to do. If someone knows how, and can tell me, I'll let everyone know if it works for me or not.

bakednotfried
04-16-2002, 10:35 AM
about editing apache...

you must be an administrator to do this. then you use the 'sudo' command to give you access to edit the apache config file (httpd.conf).

you can use any editor, i'll use pico. so,

sudo pico /etc/httpd/httpd.conf

this is a long file, but is broken up into areas. look for

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

and then below it, add the line

ScriptAlias /mailman/ "/var/www/cgi-bin/"

likewise, look for

Alias /icons/ "/var/www/icons/"

and below it, add the line

Alias /pipermail/ "/home/mailman/archives/public/"

substitute the path you chose during install for mailman's home directory where i have /home/mailman

you must restart apache for the changes to take affect (effect?).

hope this helps,
mike

diamondblast
10-19-2008, 02:49 AM
it's all nice and fine... :)
but why did u use "ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
it's a little bit risky...