[EMAIL PROTECTED] wrote:

>configured and installed my qmail as it is recomended in
>"Life with qmail", but when I'm starting qmail:
>
># /usr/local/sbin/qmail start
>
>bash reports:
>
>bash: /usr/local/sbin/qmail: No such file or directory

>From http://www.faqts.com/knowledge-base/view.phtml/aid/1200/fid/223/lang/

Check the "magic number" (the first line of the script):

head -1 /usr/local/sbin/qmail | od -c

You should see:

0000000   #   !   /   b   i   n   /   s   h  \n
0000012

If you see something that ends with "\r  \n", then the file is in DOS
format, and you can fix it by doing:

tr -d '\012' </usr/local/sbin/qmail >/tmp/foo
cp /tmp/foo /usr/local/sbin/qmail

-Dave

Reply via email to