免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2851 | 回复: 4
打印 上一主题 下一主题

[Mail] courier-imap pop3s 出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-16 19:12 |只看该作者 |倒序浏览
10可用积分
服务器是基于postfix-2.4.3 +courier-imap-4.1.3

最近将TLS打开,smtp测试成功.但是pop3s却失败,原来的pop3和smtp都是好的.




pop3d-ssl中

POP3DSSLSTART=YES
POP3_STARTTLS=YES


COURIERTLS=/usr/local/courier-imap/bin/couriertls


从/var/log/mail.log中可以看出原因是

Feb 16 12:54:54 mail pop3d-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory


感觉问题出在这个,因为文件的确不存在,
但是google 了半天也没有找到出错的原因.

我的courier-imap编译参数为:

./configure
  --prefix=/usr/local/courier-imap
  --enable-unicode  
  --with-trashquota
  --without-ipv6
  CPPFLAGS='-I/usr/local/ssl/include/openssl  -I/usr/local/courier-authlib/include'   
  LDFLAGS='-L/usr/local/courier-authlib/lib/courier-authlib'  
  COURIERAUTHCONFIG='/usr/local/courier-authlib/bin/courierauthconfig'

系统是debian-40r0



另好像www.courier-mta.org一直不能访问,我用移动和电信的网络都是这样,不知道各位可是如此~~~



谢谢。

论坛徽章:
0
2 [报告]
发表于 2008-02-17 11:24 |只看该作者

回复 #1 unixnovice 的帖子

Feb 16 12:54:54 mail pop3d-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory
系统提示没有couriertls 这个文件,查查看是否真的没有,如果没有就是安装的问题了

论坛徽章:
0
3 [报告]
发表于 2008-02-17 12:27 |只看该作者
这个文件的确不存在,但是找不到原因.

安装时候这个文件也没有产生?

pop3d-ssl文件中如是说

##NAME: COURIERTLS:0
#
# The following variables configure POP3 over SSL.  If OpenSSL is available
# during configuration, the couriertls helper gets compiled, and upon
# installation a dummy TLS_CERTFILE gets generated.  courieresmtpd will
# automatically advertise the ESMTP STARTTLS extension if both TLS_CERTFILE
# and COURIERTLS exist.
#
# WARNING: Peer certificate verification has NOT yet been tested.  Proceed
# at your own risk.  Only the basic SSL/TLS functionality is known to be
# working. Keep this in mind as you play with the following variables.

COURIERTLS=/usr/local/courier-imap/bin/couriertls


按他的意思是说,这个文件要在编译时产生的,但是按我的编译方式出来的却没有产生这个文件,(openssl存在的!)

论坛徽章:
0
4 [报告]
发表于 2008-02-17 16:09 |只看该作者
安装的时候要加入--with-gnutls支持的

论坛徽章:
0
5 [报告]
发表于 2008-02-17 18:11 |只看该作者
我用的是openssl,今天挂韩国代理上了一下 http://www.courier-mta.org
上面如是说:
The OpenSSL library is selected when both OpenSSL and GnuTLS libraries are found by the configure script. Use the --with-gnutls option to explicitly select the GnuTLS library over OpenSSL.

而且我加入了重新编译了一次也不行,还是报少文件usr/local/courier-imap/bin/couriertls

我感觉问题不在这儿吧.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP