|
RE: lug-bg: Re: Cyrus + postfix
- Subject: RE: lug-bg: Re: Cyrus + postfix
- From: bivol@email.domain.hidden (Peter An. Zyumbilev)
- Date: Sun, 16 Mar 2003 13:05:41 +0200
kato mapisha /etc/init.d/saslauthd
ne se sluchav nisto..
vapreki che ima startov script
#!/bin/sh -e
NAME=saslauthd
DAEMON="/usr/sbin/${NAME}"
DESC="SASL Authentication Daemon"
DEFAULTS=/etc/default/saslauthd
#tova go opraviah
#/etc/default/saslauthd - uncommentah start yes
test -f "${DAEMON}" || exit 0
# Source defaults file; edit that file to configure this script.
if [ -e "${DEFAULTS}" ]; then
. "${DEFAULTS}"
fi
# If we're not to start the daemon, simply exit
if [ "${START}" != "yes" ]; then
exit 0
fi
# If we have no mechanisms defined
if [ "x${MECHANISMS}" = "x" ]; then
echo "You need to configure ${DEFAULTS} with mechanisms to be used"
exit 0
fi
# Add our mechanimsms with the necessary flag
for i in ${MECHANISMS}; do
PARAMS="${PARAMS} -a ${i}"
done
# Consider our options
case "${1}" in
start)
echo -n "Starting ${DESC}: "
start-stop-daemon --start --quiet --pidfile
"/var/run/${NAME}/mux.pid" --exec "${DAEMON}" -- ${PARAMS}
echo "${NAME}."
;;
stop)
echo -n "Stopping ${DESC}: "
start-stop-daemon --stop --quiet --pidfile
"/var/run/${NAME}/mux.pid" --exec "${DAEMON}" -- ${PARAMS}
echo "${NAME}."
;;
restart|force-reload)
echo -n "Restarting ${DESC}: "
start-stop-daemon --stop --quiet --pidfile
"/var/run/${NAME}/mux.pid" --exec "${DAEMON}" -- ${PARAMS}
sleep 1
start-stop-daemon --start --quiet --pidfile
"/var/run/${NAME}/mux.pid" --exec "${DAEMON}" -- ${PARAMS}
echo "${NAME}."
;;
*)
echo "Usage: /etc/init.d/${NAME} {start|stop|restart|force-reload}"
<em class="quotelev1">>&2
exit 1
;;
esac
exit 0
################################################################
ak kato si napisha kato root
"saslauthd -a pam" vijdam che demona se vdiga
osven courier i cyrus iam li drug svesten imap server ?
Az sas cyrus-a si imam zadochen spor ot edno vreme..samo pd Suse sam go
podkrval bez problemi..
Ima li raboteshno resheni za virtualmail hosting za debian bez qmail +vpop ?
Peter An. Zyumbilev
Web Developer & Administrator
BIVOL BULGARIA
email: bivol_at_bivol.net <mailto:bivol_at_bivol.net>
tel.:+359 88 966940
web: http://www.bivol.net <http://www.bivol.net/>
<p><p>============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|