[EMAIL PROTECTED] ~]# ls -l /service total 0 lrwxr-xr-x 1 root wheel 32 May 2 01:00 qmail-pop3d -> /var/qmail/supervise/qmail-pop3d lrwxr-xr-x 1 root wheel 31 May 2 01:00 qmail-send -> /var/qmail/supervise/qmail-send lrwxr-xr-x 1 root wheel 32 May 2 01:00 qmail-smtpd -> /var/qmail/supervise/qmail-smtpd [EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]# ls -lR /var/qmail/supervise total 6 drwxr-xr-t 4 root wheel 512 May 2 01:00 qmail-pop3d drwxr-xr-t 4 root wheel 512 May 2 01:00 qmail-send drwxr-xr-t 4 root wheel 512 May 2 02:54 qmail-smtpd /var/qmail/supervise/qmail-pop3d: total 6 drwxr-xr-x 3 root wheel 512 May 2 01:00 log -rwxr-x--x 1 root wheel 194 May 2 00:55 run drwx------ 2 root wheel 512 May 2 18:45 supervise /var/qmail/supervise/qmail-pop3d/log: total 4 -rwxr-x--x 1 root wheel 149 May 2 00:56 run drwx------ 2 root wheel 512 May 2 18:45 supervise /var/qmail/supervise/qmail-pop3d/log/supervise: total 2 prw------- 1 root wheel 0 May 2 01:00 control -rw------- 1 root wheel 0 May 2 01:00 lock prw------- 1 root wheel 0 May 2 01:00 ok -rw-r--r-- 1 root wheel 18 May 2 18:45 status /var/qmail/supervise/qmail-pop3d/supervise: total 2 prw------- 1 root wheel 0 May 2 01:00 control -rw------- 1 root wheel 0 May 2 01:00 lock prw------- 1 root wheel 0 May 2 01:00 ok -rw-r--r-- 1 root wheel 18 May 2 18:45 status /var/qmail/supervise/qmail-send: total 6 drwxr-xr-x 3 root wheel 512 May 2 01:00 log -rwxr-x--x 1 root wheel 30 May 2 00:57 run drwx------ 2 root wheel 512 May 2 18:45 supervise /var/qmail/supervise/qmail-send/log: total 4 -rwxr-x--x 1 root wheel 149 May 2 00:58 run drwx------ 2 root wheel 512 May 2 18:45 supervise /var/qmail/supervise/qmail-send/log/supervise: total 2 prw------- 1 root wheel 0 May 2 01:00 control -rw------- 1 root wheel 0 May 2 01:00 lock prw------- 1 root wheel 0 May 2 01:00 ok -rw-r--r-- 1 root wheel 18 May 2 18:45 status /var/qmail/supervise/qmail-send/supervise: total 2 prw------- 1 root wheel 0 May 2 01:00 control -rw------- 1 root wheel 0 May 2 01:00 lock prw------- 1 root wheel 0 May 2 01:00 ok -rw-r--r-- 1 root wheel 18 May 2 18:45 status /var/qmail/supervise/qmail-smtpd: total 6 drwxr-xr-x 3 root wheel 512 May 2 01:00 log -rwxr-x--x 1 root wheel 786 May 2 02:15 run drwx------ 2 root wheel 512 May 2 19:15 supervise /var/qmail/supervise/qmail-smtpd/log: total 4 -rwxr-x--x 1 root wheel 150 May 2 00:57 run drwx------ 2 root wheel 512 May 2 18:45 supervise /var/qmail/supervise/qmail-smtpd/log/supervise: total 2 prw------- 1 root wheel 0 May 2 01:00 control -rw------- 1 root wheel 0 May 2 01:00 lock prw------- 1 root wheel 0 May 2 01:00 ok -rw-r--r-- 1 root wheel 18 May 2 18:45 status /var/qmail/supervise/qmail-smtpd/supervise: total 2 prw------- 1 root wheel 0 May 2 01:00 control -rw------- 1 root wheel 0 May 2 01:00 lock prw------- 1 root wheel 0 May 2 01:00 ok -rw-r--r-- 1 root wheel 18 May 2 19:15 status [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# cat /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi if [ ! -f /var/qmail/control/rcpthosts ]; then echo "No /var/qmail/control/rcpthosts!" echo "Refusing to start SMTP listener because it'll create an open relay" exit 1 fi exec /usr/local/bin/softlimit -m 30000000 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd mail.tekno2b.com \ /usr/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1 [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# egrep svscan /etc/rc.conf [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# ls -l /usr/local/etc/rc.d/ total 14 -r-xr-xr-x 1 root wheel 4720 May 2 00:15 apache22 -rwxr-xr-x 1 root wheel 45 May 2 01:07 authdaemond.sh -rwxr-xr-x 1 root wheel 1391 May 2 15:13 imap.sh -r-xr-xr-x 1 root wheel 713 May 2 02:07 mailman -r-xr-xr-x 1 root wheel 1659 May 1 23:43 mysql-server [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# which qmailctl /usr/bin/qmailctl [EMAIL PROTECTED] ~]#