免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion
打印 上一主题 下一主题

[Mail] RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建) [复制链接]

论坛徽章:
0
91 [报告]
发表于 2007-10-09 08:43 |只看该作者
原帖由 marion 于 2007-9-6 18:31 发表
本文凝聚了作者不少的安装经验,写出来供各位同仁参考指正,也为自己留一个“备份”,以便以后安装时作为参照!
安装过程中借鉴了不少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"

论坛徽章:
0
92 [报告]
发表于 2007-10-09 08:49 |只看该作者
原帖由 fish007 于 2007-10-9 08:43 发表


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

是0.59.3

论坛徽章:
0
93 [报告]
发表于 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下面..

post.jpg (80.97 KB, 下载次数: 134)

post.jpg

论坛徽章:
0
94 [报告]
发表于 2007-10-09 16:17 |只看该作者
原帖由 zdyldy 于 2007-10-8 09:31 发表
courier-imap-4.1.3.tar.bz2



这个软件包在哪下载啊,

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


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



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

ftp1.callleo.cn
user&passwd:cu

论坛徽章:
0
95 [报告]
发表于 2007-10-09 17:59 |只看该作者
marion  兄,我是在安装 maildrop 后发生这样的错误
Oct  9 13:29:50 bv-diannao-004 maildrop[13037]: Temporary authentication failure.
Oct  9 13:29:50 bv-diannao-004 postfix/pipe[13036]: 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.

邮件可以发出去,但却接受不了。
Oct  9 17:23:36 bv-diannao-004 pop3d: authentication error: Input/output error
Oct  9 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)
Oct  9 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 指点一二

论坛徽章:
0
96 [报告]
发表于 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'

论坛徽章:
0
97 [报告]
发表于 2007-10-09 21:00 |只看该作者

回复 #92 fish007 的帖子

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

论坛徽章:
0
98 [报告]
发表于 2007-10-09 21:05 |只看该作者

回复 #94 Intranet 的帖子

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

论坛徽章:
0
99 [报告]
发表于 2007-10-09 21:11 |只看该作者

回复 #96 liheng 的帖子

Oct  9 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的相关日志选项,并将登录后的报错信息发上来,我帮你排查一下。

论坛徽章:
0
100 [报告]
发表于 2007-10-09 21:16 |只看该作者
安装包我这里都有,,,但还是没有安装成功...在CentOS 5上.

ftp1.callleo.cn
user&passwd:cu


谢兄之高义,我正为难怎么把这些软件包共享出来呢,因为下地址我也没有记录,如果一个个的去重新找一遍也不是件小的工程……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP