savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] creating mailing lists for the savannah web interface


From: Guillaume Morin
Subject: [Savannah-hackers] creating mailing lists for the savannah web interface
Date: Sat, 21 Apr 2001 13:32:14 +0200
User-agent: Mutt/1.3.17i

Hi all,

My goal was to implement the possibility to create mailing lists via the
savannah web interface. It is now mostly done. I've run a complete set
of tests quite successfully (there had been one glitch that I've fixed).

Since everybody did not agree on how things should be done, I will
describe the current implementation. If everyone agrees with it, at
least temporarily, I will enable it on savannah.

A cron job run by root on fencepost retrieves information from the
savannah DB using a XML dump. It parses it, and checks if each mailing 
list has to created or already exists. It tries to check if the name of
the mailing list does not conflict with another list handled by the
alias file. If everything is ok, it creates the mailing list and
updates its alias file (/com/mailer/aliases-savannah.gnu.org) (I've
added a director for it in /etc/exim.conf).

The cronjob resides in /etc/cron.d/. I've put it there because I want
the potential errors of this script to be sent to me (at least 
during the first weeks and after to savannah-hackers).

Here is it :

# /etc/cron.d/savannah_mailman: Run the mailing_lists_create.pl script
# for savannah
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
MAILMAN=/com/mailer/mailman
address@hidden

0 */2 * * * root if [ -x $MAILMAN/bin/mailing_lists_create.pl ]; then
$MAILMAN/bin/mailing_lists_create.pl ; fi

Every file which is needed can be installed using the Makefile in
/usr/local/src/savannah_mailman.

Any comment will be welcome. Regards,

-- 
Guillaume Morin <address@hidden>

          5 years from now everyone will be running free GNU on their
           200 MIPS, 64M SPARCstation-5 (Andy Tanenbaum, 30 Jan 1992)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]