From owner-freebsd-questions Tue Mar 14 12:14:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tardis.patho.gen.nz (tardis.patho.gen.nz [203.97.2.226]) by hub.freebsd.org (Postfix) with ESMTP id 2B95937B801 for ; Tue, 14 Mar 2000 12:14:48 -0800 (PST) (envelope-from sobrien@quicksilver.co.nz) Received: from quicksilver.co.nz (dhcp7.quicksilver.co.nz [202.89.130.16]) by tardis.patho.gen.nz (8.9.3/8.9.3) with ESMTP id JAA12402 for ; Wed, 15 Mar 2000 09:14:41 +1300 (NZDT) Message-ID: <38CE9EA5.C1445BAE@quicksilver.co.nz> Date: Wed, 15 Mar 2000 09:18:45 +1300 From: "Sarton O'Brien" Organization: Quicksilver Internet X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "questions@FreeBSD.ORG" Subject: tcpserver and qmail Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am having a problem invoking qmail on boot. I have included the suggested lines in the file /var/qmail/rc /var/qmail/rc: #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Maildir/ by default. exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ splogger qmail& tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup roguetr.qsi.net.nz \ /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & tcpserver -v -u 82 -g 81 0 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | /var/qmail/bin/splogger smtpd 3 & qmail-start invokes just fine but the other two only work when I type ./rc at the prompt. If they work at the prompt, why not at boot? Anything on where this should go and how to specify it correctly would be greatly appreciated. Sarton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message