Chris Ochap wrote:

> start() {
>         # Start daemons.
>         echo -n $"Starting $prog: "
>         daemon /var/qmail/rc
>         /usr/local/bin/tcpserver -v -p -x /etc/tcprules/tcp.smtp.cdb -u
> 51 -g 50 0 smtp /var/qmail/bin/qmail-smtpd
>         RETVAL=$?
>         [ $RETVAL -eq 0 ] && touch /var/lock/subsys/qmail
>         echo
>         return $RETVAL
> }

Try adding "2>&1" to the end of the tcpserver line, so:

/usr/local/bin/tcpserver -v -p -x /etc/tcprules/tcp.smtp.cdb -u 51 -g 50 0 smtp
/var/qmail/bin/qmail-smtpd 2>&1

This should cause qmail-smtpd to run in the background instead of directly on
whatever tty you are attached to.  To test rather it is running or not, tail it
the log file it outputs while telnetting into port 25 of your machine.

-- 
Keith
Network Engineer
Triton Technologies, Inc.

Reply via email to