On Mon, Oct 23, 2000 at 09:39:58PM -0400, Aaron Newcomb wrote:
> Here is my startup command for qmail-smtpd.
>
> /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -p -v \
> -u 502 -g 501 0 smtp rblsmtpd rblsmtpd -b -rrelays.msci.memphis.edu \
> recordio /var/qmail/bin/qmail-smtpd \
> 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
> It works great from the command line, but when I put it inside a script that
> gets run at boot up like rc.local I get weird responses from it in my syslog
> like . . .
>
> >Oct 10 18:28:03 linux1 smtpd: 971216883.913493 tcpserver: status: 1/40
> >Oct 10 18:28:03 linux1 smtpd: 971216883.915419 tcpserver: pid 767 from
> 211.39.130.218
> >Oct 10 18:28:06 linux1 smtpd: 971216886.047055 tcpserver: ok 767
> ns1.newcombnet.com:216.68.217.202:25 :211.39.130.218:root:24385
> >Oct 10 18:28:06 linux1 smtpd: 971216886.048430 tcpserver: warning: dropping
> connection, unable to run recordio: file does not exist
/usr/local/bin isn't in your path when the script is run at startup. Either
make sure it is in your path, or specify the full path to recordio in your
script.
Chris