I have just installed tcpserver to stop my open relay problem. Everything
works fine when I load tcpserver manually after the server boots.
(./filename) command in the file is: (one line)
tcpserver -x /etc/tcp.smtp.cdb -u 502 -g 501 0 smtp
/var/qmail/bin/qmail-smtpd &
I have created a simple script in /etc/rc.d/init.d and -s linked that file
to a file in /etc/rc.d/rc3.d.
#!/bin/sh
/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 502 -g 501 0 smtp
/var/qmail/bin/qmail-smtp &
It seems to load OK but it will not forward mail. If I kill the tcpserver
and run my separate script, everything works.
Obviously I don't really understand initialization scripts and need some
help. I have looked everywhere I can think of and have not found anything
that says, "Do it like this".
I'm a real rookie at this and would greatly appreciate some help with this
problem and a pointer to documentation on initialization scripts.
Thanks in advance,
Bill