Here ya go: Also is included a ps list of the dbmail processes and their pids
[EMAIL PROTECTED]:~# sh -x /etc/init.d/dbmail stop
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ IMAPD=/usr/sbin/dbmail-imapd
+ POP3D=/usr/sbin/dbmail-pop3d
+ LMTPD=/usr/sbin/dbmail-lmtpd
+ SIEVE=/usr/sbin/dbmail-timsieved
+ IMAPD_NAME=dbmail-imapd
+ POP3D_NAME=dbmail-pop3d
+ LMTPD_NAME=dbmail-lmtpd
+ SIEVE_NAME=dbmail-timsieved
+ NAME=dbmail
+ PID_DIR=/var/run/dbmail/
+ DESC='dbmail servers'
+ test -x /usr/sbin/dbmail-imapd
+ test -x /usr/sbin/dbmail-pop3d
+ test -x /usr/sbin/dbmail-lmtpd
+ set -e
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ '[' -e /etc/default/dbmail ']'
+ . /etc/default/dbmail
++ START_POP3D=true
++ START_IMAPD=true
++ START_LMTPD=true
+ case "$1" in
+ log_daemon_msg 'Stopping dbmail servers'
+ '[' -z 'Stopping dbmail servers' ']'
+ '[' -z '' ']'
+ echo -n 'Stopping dbmail servers:'
Stopping dbmail servers:+ return
+ r=0
+ '[' true ']'
+ service_stop IMAPD
+ eval '_daemon=$IMAPD'
++ _daemon=/usr/sbin/dbmail-imapd
+ eval '_name=$IMAPD_NAME'
++ _name=dbmail-imapd
+ log_progress_msg dbmail-imapd
+ '[' -z dbmail-imapd ']'
+ echo -n ' dbmail-imapd'
dbmail-imapd+ start-stop-daemon --stop --retry 10 --pidfile
/var/run/dbmail//db
mail-imapd.pid
+ true
++ pidof dbmail-imapd
+ pids='14456 13802 13795 13793 13780 13779'
+ '[' -n '14456 13802 13795 13793 13780 13779' ']'
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ echo '* failed'
* failed
+ return 1
+ r=1
+ '[' true ']'
+ service_stop POP3D
+ eval '_daemon=$POP3D'
++ _daemon=/usr/sbin/dbmail-pop3d
+ eval '_name=$POP3D_NAME'
++ _name=dbmail-pop3d
+ log_progress_msg dbmail-pop3d
+ '[' -z dbmail-pop3d ']'
+ echo -n ' dbmail-pop3d'
dbmail-pop3d+ start-stop-daemon --stop --retry 10 --pidfile
/var/run/dbmail//db
mail-pop3d.pid
+ true
++ pidof dbmail-pop3d
+ pids='14435 13797 13794 13784 13783'
+ '[' -n '14435 13797 13794 13784 13783' ']'
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ echo '* failed'
* failed
+ return 1
+ r=1
+ '[' true ']'
+ service_stop LMTPD
+ eval '_daemon=$LMTPD'
++ _daemon=/usr/sbin/dbmail-lmtpd
+ eval '_name=$LMTPD_NAME'
++ _name=dbmail-lmtpd
+ log_progress_msg dbmail-lmtpd
+ '[' -z dbmail-lmtpd ']'
+ echo -n ' dbmail-lmtpd'
dbmail-lmtpd+ start-stop-daemon --stop --retry 10 --pidfile
/var/run/dbmail//db
mail-lmtpd.pid
+ true
++ pidof dbmail-lmtpd
+ pids='13798 13796 13788 13787'
+ '[' -n '13798 13796 13788 13787' ']'
+ log_failure_msg failed
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ echo '* failed'
* failed
+ return 1
+ r=1
+ '[' '' ']'
+ log_end_msg 1
+ '[' -z 1 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 1 -eq 0 ']'
+ /bin/echo -e ' failed!'
failed!
+ return 1
************************************************************************
[EMAIL PROTECTED]:~# ps -ef | grep dbmail
root 13779 1 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-imapd
nobody 13780 13779 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-imapd
root 13783 1 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-pop3d
nobody 13784 13783 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-pop3d
root 13787 1 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-lmtpd
nobody 13788 13787 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-lmtpd
nobody 13793 13780 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-imapd
nobody 13794 13784 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-pop3d
nobody 13795 13780 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-imapd
nobody 13796 13788 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-lmtpd
nobody 13797 13784 0 Mar12 ? 00:00:34 /usr/sbin/dbmail-pop3d
nobody 13798 13788 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-lmtpd
nobody 13802 13780 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-imapd
nobody 14435 13784 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-pop3d
nobody 14456 13780 0 Mar12 ? 00:00:00 /usr/sbin/dbmail-imapd
root 20752 20673 0 12:19 pts/0 00:00:00 grep dbmail
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail