歡迎您光臨本站 註冊首頁

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

←手機掃碼閱讀     火星人 @ 2014-03-05 , reply:0

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

linux:/var/qmail/qmail-1.03 # ./config-fast linux.pumazh.com
-bash: ./config-fast: No such file or directory(提示沒有這個命令)
linux:/var/qmail/qmail-1.03 # ./config-fast.sh linux.pumazh.com
Your fully qualified host name is linux.pumazh.com.
Putting linux.pumazh.com into control/me...
./config-fast.sh: line 5: QMAIL/control/me: No such file or directory
chmod: cannot access `QMAIL/control/me': No such file or directory
Putting pumazh.com into control/defaultdomain...
./config-fast.sh: line 11: QMAIL/control/defaultdomain: No such file or directory
chmod: cannot access `QMAIL/control/defaultdomain': No such file or directory
Putting pumazh.com into control/plusdomain...
./config-fast.sh: line 18: QMAIL/control/plusdomain: No such file or directory
chmod: cannot access `QMAIL/control/plusdomain': No such file or directory
Putting linux.pumazh.com into control/locals...
./config-fast.sh: line 23: QMAIL/control/locals: No such file or directory
chmod: cannot access `QMAIL/control/locals': No such file or directory
Putting linux.pumazh.com into control/rcpthosts...
./config-fast.sh: line 27: QMAIL/control/rcpthosts: No such file or directory
chmod: cannot access `QMAIL/control/rcpthosts': No such file or directory
Now qmail will refuse to accept SMTP messages except to linux.pumazh.com.
Make sure to change rcpthosts if you add hosts to locals or virtualdomains!
chmod: cannot access `QMAIL/control/plusdomain': No such file or directory
Putting linux.pumazh.com into control/locals...
./config-fast.sh: line 23: QMAIL/control/locals: No such file or directory
chmod: cannot access `QMAIL/control/locals': No such file or directory
Putting linux.pumazh.com into control/rcpthosts...
./config-fast.sh: line 27: QMAIL/control/rcpthosts: No such file or directory
chmod: cannot access `QMAIL/control/rcpthosts': No such file or directory
Now qmail will refuse to accept SMTP messages except to linux.pumazh.com.
Make sure to change rcpthosts if you add hosts to locals or virtualdomains!
(提示沒有QMAIL/control沒有這個文件)
我想問一下這是什麼原因.

在安裝VPOPMAIL進行
./configure --prefix=/home/vpopmail --enable-mysql=y --enable-incdir=/usr/include/mysql --enable-libdir=/usr/lib/mysql --enable-default-domain=pumazh.com --enable-passwd=n --enable-defaultquota=52458800s --enable-tcprules-prog=/usr/loacl/bin/tcprules --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-ip-alias-domains=n --disable-qmail-newu
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for AIX... no
configure: error: Unable to find your qmail-newu file, specify --enable-qmail-newu=/full/path/to/qmail-newu
加參數編譯時總是提示上面這個錯.
我是新手,想請問老鳥這是什麼原因啊.謝謝..
《解決方案》

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

先校正一下你的qmail-1.03包
《解決方案》

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

在執行make setup check 時
overmaildirquota.c這裡出錯並且停止.
提示是./compile maildirquota.c
./compile maildirgetquota.c
./compile maildiropen.c
./compile maildirparsequota.c
./compile overmaildirquota.c
overmaildirquota.c:15:27: missing terminating " character
overmaildirquota.c:16: error: parse error before "sam"
overmaildirquota.c:16:10: missing terminating " character
overmaildirquota.c:25: error: parse error before "if"
overmaildirquota.c:32: warning: data definition has no type or storage class
overmaildirquota.c:33: error: parse error before '}' token
overmaildirquota.c:36: error: redefinition of `ret_value'
overmaildirquota.c:32: error: `ret_value' previously defined here
overmaildirquota.c:36: warning: data definition has no type or storage class
overmaildirquota.c:37: error: parse error before '}' token
make: *** Error 1

我已經效驗文件了,沒有錯啊MD5: 622f65f982e380dbe86e6574f3abcb7c
到底是怎麼回事啊,請教斑竹啊.我知道前面的問題都是因為MAKE SETUP CHECK沒有成功.
《解決方案》

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

還沒有遇到過這類問題。
你安裝的是什麼包阿?netqmail?還是qmail-1.03,是不是打了什麼補丁造成的?
你的安裝環境,比如發布,gcc版本,glibc版本等
《解決方案》

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

suse pro  9.2   qmail-1.03.tar.gz

我看了一下overmaildirquota.c文件.錯誤提示都是說的語法錯誤.
#include        "maildirquota.h"
#include        <stdlib.h>;
#include        <string.h>;
#include        <errno.h>;
#include        <sys/stat.h>;除開第一個文件,下面四個在qmail-1.03文件夾里都找不到啊.
是不是還是qmail-1.03.tar.gz包有問題啊.
《解決方案》

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

找不到是正常的。<string.h>;就表示了這些文件是系統庫文件,在/usr/include下面。
我感覺你還是打了什麼補丁,如果什麼補丁都沒有打,那就要打一個error.h的補丁,qmail的主頁上有。因為suse 9.2我想應該已經是glibc2了吧。

我推薦你還是安裝netqmail吧。應該可以編譯過去的。
《解決方案》

QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!

http://bbs.chinaunix.net/forum/14/20031023/187077.html
我是按照這上面的步驟做的,補丁也全是帖子上說的那些.
哎...奇了怪了
《解決方案》

原帖由 pumazh 於 2005-3-11 11:24 發表
在執行make setup check 時
overmaildirquota.c這裡出錯並且停止.
提示是./compile maildirquota.c
./compile maildirgetquota.c
./compile maildiropen.c
./compile maildirparsequota.c
./compile overma ...

http://www.eit.name/blog/read.php?212


在Maildir++的補丁的overmaildirquota.c裡面,有這麼一行:


static const char rcsid[]="$Id: overquota.c,v 1.0 2002/06/09 16:21:05 mr
sam Exp $";


在mr後面就換行了,某些gcc 編譯不通過,

你需要改成:


static const char rcsid[]="$Id: overquota.c,v 1.0 2002/06/09 16:21:05 mrsam_patchByIpaddr Exp $";


(刪除後面的回車,將字元串常量改成一行即可.)

再次編譯通過.

[火星人 ] QMAIL+VPOPMAIL安裝時的問題,請教老鳥!!!已經有391次圍觀

http://coctec.com/docs/service/show-post-42790.html