If you follow LWQ steps you probably wouldn't have any problem.
my "/var/qmail/rc" looks something like following:
=-=-=-=-=-=-=-=-=-=-==-==-=-=-=-=-=-=-=-=-=
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
./Maildir/' splogger qmail
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You should have similar file and if you follow instructions in LWQ you
should be able get it going. There is need to create a file "qmail"
in /etc/rc.d/init.d/ directory which can start/stop qmail and related processes.
Hope this helps
regards
shirish
Nick Kocharhook wrote:
> Hello, all. I have been trying to install qmail on a RedHat 6.2 box, but it
> doesn't quite work, and the documentation, FAQs and HOWTOs haven't cleared
> things up.
>
> I was using the qmail HOWTO to guide my installation.
> <http://www.flounder.net/qmail/qmail-howto.html> Everything went fine, no
> errors. I chose Maildir over mbox. Then I got to step 11. While starting
> /etc/rc.d/init.d/svscan (where I put the script) did start all the qmail
> processes there were still two problems:
>
> 1. echo to: username | /var/qmail/bin/qmail-inject did nothing.
> 2. there was nothing in /var/log/maillog (the mail log specified in
> /etc/syslog.conf)
>
> Then I stumbled across the fact that I needed .qmail files in the home
> directories of users that intended to get mail, so I added those. They are
> properly chowned and each contains only "./Maildir/".
>
> I also tried a suggestion that I found in the archives of this list: I added
> /var/qmail/bin to my path, and I executed 'qmail-start ./Maildir/ splogger
> qmail &'.
>
> Now #1 above works just fine, and username receives the mail in
> ~username/Maildir/new/. However, I still don't have any messages at all
> about qmail in maillog (startup, mail sent, nothing), or in the rest of
> /var/log/* for that matter.
>
> A couple of other things:
>
> *) LWQ, in step 2.8.5, mentions that I should use '/usr/local/sbin/qmail
> start' to start qmail. But I don't have anything named qmail in
> /usr/local/sbin/. Is this something one would use instead of services?
>
> *) I started qmail with qmail-start after shutting down svscan. (I tried to
> start svscan after that, but all I got was an error in maillog -- the only
> thing printed in that file.) Before, I could stop the bevy of qmail
> processes by typing '/etc/rc.d/init.d/svscan stop'. However, there is no
> qmail-stop. How do I stop the processes properly? And if I'm not going to be
> using svscan, how should I set up qmail to start at boot time? Just a script
> w/ 'qmail-start' et al in /etc/rc.d/init.d/ with a corresponding link in
> rc3.d?
>
> Thanks for any suggestions you can provide!
>
> --
> Nick Kocharhook -- <[EMAIL PROTECTED]>