Cool! Ilja, any chance we can have these included in the source tree somewhere?

Matthew


John M. Brown wrote:
Looks like "mailman" doesn't like "TGZ" files...so either rename the
".bin" file to "tgz" or download the attached text files (the contents of
the TGZ file)




Found them...but no author info...

Please see attached (you may have to modify the PATHS)





There is a really good init script somewhere in the archives.

If I can download a copy of the ones I'm using then I'll post them.

With those scripts I just run one (or more) of the following:
/etc/rc.d/init.d/dbmail-imap stop
/etc/rc.d/init.d/dbmail-imap start
/etc/rc.d/init.d/dbmail-imap restart

/etc/rc.d/init.d/dbmail-pop3 stop
/etc/rc.d/init.d/dbmail-pop3 start
/etc/rc.d/init.d/dbmail-pop3 restart

I'll reply as soon as I can find mine...

Hey, maybe they can be included in a future release???

NOTE: I did not write these, and I do not intend to take any credit for
them.  I found it in an earlier post and they work great.  If I can find
the author I'll make sure to mention his or her name!






Folks,
        I have been scouring the DBMail man pages, and online stuff, and I
can't
find a gracefull way to stop dbmail-imapd or dbmail-pop3d.  Is the
standard
to just do a kill -9 of it? and if so, can I just send this to a single
process (and if so how do I know which one) or do I need to send it to
each
child?
Thanks,
Peter Darley

_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail




------------------------------------------------------------------------

#!/bin/sh
#
# dbmail-imapd     This script controls the dbmail-imapd daemon.
#
# chkconfig: 2345 79 32
# description: dbmail-imapd dbmail imap server.
# processname: dbmail-imapd
# pidfile: /var/dbmail/imapd.pid

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

proc="dbmail-imapd"
prog="/usr/local/sbin/dbmail-imapd"
prog_base="$(basename ${prog})"
prog_config_file="/etc/dbmail.conf"

# Source configuration.
[ -e /etc/sysconfig/${prog_base} ] && . /etc/sysconfig/${prog_base}

## Check that networking is up.
#[ ${NETWORKING} = "no" ] && exit 0

RETVAL=0

# See how we were called.
case "$1" in
 start)
        action $"Starting ${prog_base}:" ${prog} -c ${prog_config_file}
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${prog_base}
        ;;
 stop)
       killproc $proc
        RETVAL=$?
        if [ $RETVAL -eq 0 ] ; then
                echo "Stopping ${prog_base}"
        rm -f /var/lock/subsys/${prog_base}
        else
               echo "Stopping ${prog_base}"
        fi
       ;;
 status)
        status ${prog_base}
        RETVAL=$?
       sleep 3
        ;;
 restart)
        $0 stop
        $0 start
        RETVAL=$?
       ;;
 reload)
action $"Reloading ${prog_base}:" ${prog} -c ${prog_config_file} reload
        RETVAL=$?
        ;;
 *)
        echo "Usage: $0 {start|stop|status|restart|reload}"
        exit 1
esac

exit $RETVAL



------------------------------------------------------------------------

#!/bin/sh
#
# dbmail-pop3      This script controls the dbmail-imapd daemon.
#
# chkconfig: 2345 79 33
# description: dbmail-pop3d dbmail pop3 server.
# processname: dbmail-pop3d
# pidfile: /var/dbmail/pop3d.pid

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

proc="dbmail-pop3d"
prog="/usr/local/sbin/dbmail-pop3d"
prog_base="$(basename ${prog})"
prog_config_file="/etc/dbmail.conf"

# Source configuration.
[ -e /etc/sysconfig/${prog_base} ] && . /etc/sysconfig/${prog_base}

## Check that networking is up.
#[ ${NETWORKING} = "no" ] && exit 0

RETVAL=0

# See how we were called.
case "$1" in
 start)
        action $"Starting ${prog_base}:" ${prog} -c ${prog_config_file}
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${prog_base}
        ;;
 stop)
       killproc $proc
        RETVAL=$?
        if [ $RETVAL -eq 0 ] ; then
                echo "Stopping ${prog_base}"
        rm -f /var/lock/subsys/${prog_base}
        else
                echo "Stopping ${prog_base}"
        fi
       ;;
 status)
        status ${prog_base}
        RETVAL=$?
       sleep 3
        ;;
 restart)
        $0 stop
        $0 start
        RETVAL=$?
       ;;
 reload)
action $"Reloading ${prog_base}:" ${prog} -c ${prog_config_file} reload
        RETVAL=$?
        ;;
 *)
        echo "Usage: $0 {start|stop|status|restart|reload}"
        exit 1
esac

exit $RETVAL



------------------------------------------------------------------------

_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to