qmail安装时出错
我把编译的步骤列出来吧!
1. mkdir /var/qmail
2. groupadd nofiles
useradd -g nofiles -d /var/qmail/alias alias
useradd -g nofiles -d /var/qmail qmaild
useradd -g nofiles -d /var/qmail qmaill
useradd -g nofiles -d /var/qmail qmailp
groupadd qmail
useradd -g qmail -d /var/qmail qmailq
useradd -g qmail -d /var/qmail qmailr
useradd -g qmail -d /var/qmail qmails
3. make setup check
./load auto-str substdio.a error.a str.a
substdio.a(substdo.o)(.text+0x43): In function `allwrite':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [auto-str] Error 1
觉得好象有点问题!但又不知道哪里错了!
4./config-fast.sh redhat.com
Your fully qualified host name is redhat.com.
Putting redhat.com into control/me...
./config-fast.sh: line 5: QMAIL/control/me: No such file or directory
chmod: failed to get attributes of `QMAIL/control/me': No such file or directory
Putting redhat.com into control/defaultdomain...
./config-fast.sh: line 11: QMAIL/control/defaultdomain: No such file or directory
chmod: failed to get attributes of `QMAIL/control/defaultdomain': No such file or directory
Putting redhat.com into control/plusdomain...
./config-fast.sh: line 18: QMAIL/control/plusdomain: No such file or directory
chmod: failed to get attributes of `QMAIL/control/plusdomain': No such file or directory
Putting redhat.com into control/locals...
./config-fast.sh: line 23: QMAIL/control/locals: No such file or directory
chmod: failed to get attributes of `QMAIL/control/locals': No such file or directory
Putting redhat.com into control/rcpthosts...
./config-fast.sh: line 27: QMAIL/control/rcpthosts: No such file or directory
chmod: failed to get attributes of `QMAIL/control/rcpthosts': No such file or directory
Now qmail will refuse to accept SMTP messages except to redhat.com.
Make sure to change rcpthosts if you add hosts to locals or virtualdomains!
就是这样的,到这里就这样了.