Mark Thomas <[EMAIL PROTECTED]> wrote:
>
> I). I am installing qmail 1.03 from Dave Sill's "Life with Qmail" dated July
> 21, 1999. I am in section # 2.8.2 System Startup Files, and it says to
> install a script file I just created "qmail" to launch qmail at boot into my
> init.d directory.
> The document says it should be in one of the following locations:
> /etc/init.d
> /etc/rc.d/init.d
> /sbin/init.d
> I have no such directory on my system. (Slackware 3.6)
LWQ says "should" because it's impossible to cover every possibility.
> It appears that Slackware uses /etc/rc.d for the initialization files. I
> think the qmail script file that will start qmail on boot should be located
> here? Can anyone verify this for me?
What's the structure of /etc/rc.d? What subdirectories does it have?
> II). Should I Chmod this file for X execute privledges? The document didn't
> say.
Yes it does. It says:
Make the startup script executable and link it to a directory in your path:
# substitute the correct location of your rc dir on the next two lines
chmod 755 /etc/init.d/qmail
ln -s /etc/init.d/qmail /usr/local/sbin
This is in section 2.8.2.
> III). I looked over the script and it references several files and
> subdirectories that don't exist. I have not received any errors in the
> install up to this point.
At the completion of section 2.8.2, all necessary files and directories will
be there.
> I have attached the script file, and have put directories and files that
> don't exist here in (file/dir) (parenthesis)..
>
> case "$1" in
> start)
> echo -n "Starting qmail: qmail-send"
> supervise /var/(supervise)/qmail/send /var/qmail/rc | ****** I don't
> have supervise directory
Created later in 2.8.2.
> setuser (qmaill) cyclog /var/log/qmail & ****** Is
> qmaill a typo, or variable of somekind?
qmaill is a user (in /etc/passwd) which you should have set up in 2.5.4.
> supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/(tcp.smtp.cdb)
> \ ** This file doesn't exist.
Created later in 2.8.2.
> -u$QMAILDUID -g$NOFILESGID 0 smtp \
> /var/qmail/bin/(qmail-smtpd-wrapper) 2>&1 | setuser qmaill accustamp
> | \ ** I have qmail-smtpd but no wrapper.
Created later in 2.8.2.
> setuser qmaill cyclog /var/log/qmail/(smtpd &) ***********
> I have a qmail-smtpd file here.
Are you sure about that? LWQ certainly doesn't create a qmail-smtpd file
under /var/log/qmail.
> I am going to continue with the install, and hope I don't hose anything, but
> I just don't think its going to work.
>
> ANY COMMENTS WOULD BE GREATLY APPRECIATED.
It's probably a good idea to read through the entire Installation section
before attempting one's first installation. I'll add a note to that effect.
-Dave