在LINUX8上安装qmail
#make /var/qmail
# 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
# make setup check
提示:
qmail-local.c:1:23: sys/types.h: No such file or directory
qmail-local.c:2:22: sys/stat.h: No such file or directory
qmail-local.c: In function `maildir_child':
qmail-local.c:85: storage size of `st' isn't known
qmail-local.c: In function `checkhome':
qmail-local.c:313: storage size of `st' isn't known
qmail-local.c: In function `qmeox':
qmail-local.c:329: storage size of `st' isn't known
qmail-local.c: In function `qmeexists':
qmail-local.c:348: storage size of `st' isn't known
qmail-local.c:361: `S_IFMT' undeclared (first use in this function)
qmail-local.c:361: (Each undeclared identifier is reported only once
qmail-local.c:361: for each function it appears in.)
qmail-local.c:361: `S_IFREG' undeclared (first use in this function)
qmail-local.c: In function `main':
qmail-local.c:450: warning: return type of `main' is not `int'
make: *** [qmail-local.o] Error 1