Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Re: Cyrus + postfix


  • Subject: Re: lug-bg: Re: Cyrus + postfix
  • From: svetla@email.domain.hidden (svetla)
  • Date: Mon, 17 Mar 2003 19:04:06 +0200


ako ne e qmail, vij James mail server-a ... 

<p>Peter An. Zyumbilev writes: 

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

<p>Svetlana Pesheva
System Administrator
"VMT Design"
contact: 098/254246
#48332919 
============================================================================
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
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.