• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

Qmail RC script problem

I follow Life with Qmail create the RC script as the following:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"

It said : Bad interpreter: No such file or Directory

Then I use the old method but no luck
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
./Maildir/'

How can I do, where can I find the real RC?
0
kennycpu
Asked:
kennycpu
  • 2
1 Solution
 
pablouruguayCommented:
check for samples in
/var/qmail/boot  or /var/qmail/rc
0
 
pablouruguayCommented:
search in this how-to the word rc

http://www.flounder.net/qmail/qmail-howto.html
0
 
ravenplCommented:
I guess /var/qmail/control/defaultdelivery is not set up.
It should contain (in Your case)
|dot-forward .forward ./Maildir/
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now