fish007 发表于 2007-10-09 08:43

原帖由 marion 于 2007-9-6 18:31 发表 http://bbs.chinaunix.net/images/common/back.gif
本文凝聚了作者不少的安装经验,写出来供各位同仁参考指正,也为自己留一个“备份”,以便以后安装时作为参照!
安装过程中借鉴了不少google出来的文章,是你们先行的足迹为作者今天的成功打下了基础,在此先行 ...

你好,我在用以下命令对courier-authlib-0.5.93进行configure时,进入了循环,无休止地进行下去,不知是何原因,望解答.
./configure
    --prefix=/usr/local/courier-authlib
    --sysconfdir=/etc
    --without-authpam
    --without-authldap
    --without-authpwd
    --without-authshadow
    --without-authvchkpw
    --without-authpgsql
    --with-authmysql
    --with-mysql-libs=/usr/local/mysql/lib/mysql
    --with-mysql-includes=/usr/local/mysql/inculde/mysql
    --with-redhat
    --with-authmysqlrc=/etc/authmysqlrc
    --with-authdaemonrc=/etc/authdaemonrc
    CFLAGS="-march=i686 -O2 -fexpensive-optimizations"
    CXXFLAGS="-march=i686 -O2 -fexpensive-optimizations"

fish007 发表于 2007-10-09 08:49

原帖由 fish007 于 2007-10-9 08:43 发表 http://bbs.chinaunix.net/images/common/back.gif


你好,我在用以下命令对courier-authlib-0.5.93进行configure时,进入了循环,无休止地进行下去,不知是何原因,望解答.
./configure
    --prefix=/usr/local/courier-authlib
    --sysconfdir=/etc ...
是0.59.3

Intranet 发表于 2007-10-09 15:49

DBD-Mysql目前最新的版本为DBD-mysql-4.005,但它和系统中的perl结合使用时会造成extmail无法正常使用,因此我们采用3的版本:
# tar zxvf DBD-mysql-3.0002_4.tar.gz
# cd cd DBD-mysql-3.0002_4
# perl Makefile.PL   (此步骤中如果出现类同Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.的错误是因为您的mysql的bin目录没有输出至$PATH环境变量)



...又出错了~~~

CentOS 5下面..

:shock: :shock:

Intranet 发表于 2007-10-09 16:17

原帖由 zdyldy 于 2007-10-8 09:31 发表 http://bbs.chinaunix.net/images/common/back.gif
courier-imap-4.1.3.tar.bz2



这个软件包在哪下载啊,

可以把其它的软件包地址都发到上面么?


在网上好多搜不到啊,谢谢了。


安装包我这里都有,,,但还是没有安装成功...在CentOS 5上.

ftp1.callleo.cn
user&passwd:cu

liheng 发表于 2007-10-09 17:59

marion兄,我是在安装 maildrop 后发生这样的错误
Oct9 13:29:50 bv-diannao-004 maildrop: Temporary authentication failure.
Oct9 13:29:50 bv-diannao-004 postfix/pipe: 45DFE11CEE5: to=<test@test.com>, relay=maildrop, delay=0.25, delays=0.1/0.05/0/0.1, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/bin/maildrop: Temporary authentication failure.
邮件可以发出去,但却接受不了。
Oct9 17:23:36 bv-diannao-004 pop3d: authentication error: Input/output error
Oct9 17:23:36 bv-diannao-004 authdaemond: failed to connect to mysql server (server=localhost, userid=extmail..): Access denied for user 'extmail..'@'localhost' (using password: YES)
Oct9 17:23:36 bv-diannao-004 authdaemond: authmysql: TEMPFAIL - no more modules will be tried
不知道是哪里设置错误了,我也弄不清楚怎么会显示这个,操作步骤与你所写的相同
(server=localhost, userid=extmail..): Access denied for user 'extmail..'@'localhost'
怎么会成这个样子?
还请 marion 指点一二

marion 发表于 2007-10-09 20:56

回复 #91 zdyldy 的帖子

checking for courierauthconfig... /usr/local/courier-authlib/bin/courierauthconfig
./configure: line 20078: /usr/local/courier-authlib/bin/courierauthconfig: No such file or directory
./configure: line 20078: test: =: unary operator expected
./configure: line 20085: /usr/local/courier-authlib/bin/courierauthconfig: No such file or directory

以上几句表明你指向的/usr/local/courier-authlib/bin/courierauthconfig路径不对,或者是文件不存在。请确信你的courier-authlib已经正确安装,并将以下项的值改为其所在你的系统中的路径:
COURIERAUTHCONFIG='/usr/local/courier-authlib/bin/courierauthconfig'

marion 发表于 2007-10-09 21:00

回复 #92 fish007 的帖子

不知道你所所谓的无休止大概run了多长时间,或者能不能提供更多的信息过来。不过,如果你的硬件体系不是i686的话,最好将如下两个选项去掉:
CFLAGS="-march=i686 -O2 -fexpensive-optimizations"
CXXFLAGS="-march=i686 -O2 -fexpensive-optimizations"

marion 发表于 2007-10-09 21:05

回复 #94 Intranet 的帖子

CentOS5的安装光盘上找到并安装 perl-DBI 这个rpm包应该可以解决这个问题……

marion 发表于 2007-10-09 21:11

回复 #96 liheng 的帖子

Oct9 17:23:36 bv-diannao-004 authdaemond: failed to connect to mysql server (server=localhost, userid=extmail..): Access denied for user 'extmail..'@'localhost' (using password: YES)

这里表明你所指定的extmail无法正常访问mysql数据库,你可以去查看一下authmysqlrc文件中的相关设置是否正确,即确保你的extmail用户以权限访问mysql;

如果仍然无法通过验正,你打开authdaemon的相关日志选项,并将登录后的报错信息发上来,我帮你排查一下。

marion 发表于 2007-10-09 21:16

安装包我这里都有,,,但还是没有安装成功...在CentOS 5上.

ftp1.callleo.cn
user&passwd:cu

谢兄之高义,我正为难怎么把这些软件包共享出来呢,因为下地址我也没有记录,如果一个个的去重新找一遍也不是件小的工程……
页: 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)