Skip to Content.
Sympa Menu

en - new sympa user

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "GSLT Systems Administrator" <address@concealed>
  • To: address@concealed
  • Subject: new sympa user
  • Date: Tue, 2 Oct 2001 21:05:56 +0200
  • Resent-date: Tue, 2 Oct 2001 21:12:09 +0200
  • Resent-from: "GSLT Systems Administrator" <address@concealed>
  • Resent-to: address@concealed

hi all!

just installed sympa on our solaris 8 system, had a bit of hassle
getting it up an running because i wanted to have the robot aliases
file separate from /etc/aliases. it's not something wrong with sympa
of course, but i couldn't get postfix to read that
/etc/mail/listaliases file i created with the mailing lists aliases. i
did add this line

alias_database = dbm:/etc/aliases, dbm:/etc/mail/listaliases

to my main.cf. my question --anyone on the sympa list that has done
this postfix and sympa connection, that could give me a tip or refer
to any documentation on how to go about this.

yours,
/robert

ps. by the way i'll attach a slightly modified init-file for sympa
running under solaris. ds.

#!/bin/sh
#
# Author: Josep Roman, Jun 2000
# Robert Andersson, Oct 2001
# Descr : Start/Stop Sympa Mailing List server
# Ver : 3.2.1

PIDFILE1="/home/sympa/sympa.pid"
PIDFILE2="/home/sympa/expl/archived.pid"
PIDFILE3="/home/sympa/expl/bounced.pid"
PGREP="/usr/bin/pgrep"
HEAD="/usr/bin/head"
XARGS="/usr/bin/xargs"
KILL="/usr/bin/kill"

if [ ! -f /users/gslt/sympa/bin/sympa.pl ]
then
echo Sympa daemon not found!
exit 1
fi

killproc() {
_procname=$1
_signal=$2
${PGREP} ${_procname} | ${HEAD} -1 | ${XARGS} -t -I {} ${KILL} -${_signal}
{}
}

#
# Start/stop the process required for the Sympa server (sympa)
#

case "$1" in
'start')
if [ -x /users/gslt/sympa/bin/sympa.pl ]
then
echo "Starting the Sympa daemons ... \c"
su sympa -c /users/gslt/sympa/bin/sympa.pl
su sympa -c /users/gslt/sympa/bin/archived.pl
su sympa -c /users/gslt/sympa/bin/bounced.pl
fi
;;

'stop')
echo "Stopping the Sympa daemons ... \c"
if [ -r $PIDFILE1 -a ! -z ${PIDFILE1} ]; then
PID=`cat ${PIDFILE1}`
fi
if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then
/usr/bin/kill $PID
else
echo "Unable to read PID file, killing using alternate
method"
killproc sympa.pl TERM
fi
if [ -r $PIDFILE2 -a ! -z ${PIDFILE2} ]; then
PID2=`cat ${PIDFILE2}`
fi
if [ ${PID2:=0} -gt 1 -a ! "X$PID2" = "X " ]; then
/usr/bin/kill $PID2
else
echo "Unable to read PID file, killing using alternate
method"
killproc archived.pl TERM
fi
if [ -r $PIDFILE3 -a ! -z ${PIDFILE3} ]; then
PID3=`cat ${PIDFILE3}`
fi
if [ ${PID3:=0} -gt 1 -a ! "X$PID3" = "X " ]; then
/usr/bin/kill $PID3
else
echo "Unable to read PID file, killing using alternate
method"
killproc bounced.pl TERM
fi
echo "Done!"
;;

*)
echo "Usage: /etc/init.d/sympa { start | stop }"
;;

esac




Archive powered by MHonArc 2.6.19+.

Top of Page