免费注册 查看新帖 |

Chinaunix

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

[Mail] telnet localhost 110 出错 帮忙解决 急急!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-04 15:20 |只看该作者 |倒序浏览
telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.test.com.cn.
Escape character is '^]'.
+OK Hello there.
user test@test.com.cn
+OK Password required.
pass test
-ERR Temporary problem, please try again later
Connection closed by foreign host.

查看 maillog:
authdaemond: authldaplib: refuse to authenticate test@test.com.cn: uid=0, gid=0 (zero uid or gid not permitted)
pop3d: LOGIN FAILED, user=test@test.com.cn, ip=[127.0.0.1]
pop3d: authentication error: Input/output error

debug.log:

authdaemond: raw ldap entry returned:
authdaemond: | cn: Test user
authdaemond: | mail: test@test.com.cn
authdaemond: | userPassword: {SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M=
authdaemond: | mailMessageStore:test.com.cn/test/Maildir/
authdaemond: | homeDirectory: /var/domains/test.com.cn/test
authdaemond: authldaplib: sysusername=<null>, sysuserid=0, sysgroupid=0, homedir= test.com.cn/test, address=test@test.com.cn
authdaemond: authldaplib: clearpasswd=<null>, passwd={SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M=
authdaemond: password matches successfully
authdaemond: authldap: TEMPFAIL - no more modules will be tried

我的authldaprc配置如下:
LDAP_URI                ldap://ldap.extmail.org
LDAP_PORT               389
LDAP_PROTOCOL_VERSION   3
LDAP_BASEDN             o=extmailAccount,dc=test.com.cn   
LDAP_BINDDN             cn=root,dc=test.com.cn
LDAP_BINDPW             secret
LDAP_TIMEOUT            5
LDAP_MAIL               mail
LDAP_FILTER             (active=1)
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            homeDirectory
LDAP_MAILROOT           /var/domains
LDAP_MAILDIRQUOTA       mailQuota
LDAP_MAILDIR              mailMessageStore
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0

main.cf文件配置如下:
readme_directory = no
mydomain = test.com.cn
myhostname = fbsd.test.com.cn
myorigin = $mydomain
virtual_mailbox_base = /var/domains
virtual_uid_maps = static:1000
virtual_gid_maps = static:1000
virtual_alias_maps = $alias_maps, ldap:/usr/local/etc/postfix/ldap_virtual_alias_maps.cf
virtual_mailbox_maps = ldap:/usr/local/etc/postfix/ldap_virtual_mailbox_maps.cf
virtual_mailbox_domains = ldap:/usr/local/etc/postfix/ldap_virtual_domains_maps.cf
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
smtpd_use_tls = yes
smtpd_tls_auth_only = no
smtp_tls_CAfile = /usr/local/etc/postfix/certs/cacert.pem
smtp_tls_cert_file = /usr/local/etc/postfix/certs/mycert.pem
smtp_tls_key_file = /usr/local/etc/postfix/certs/mykey.pem
smtpd_tls_CAfile = /usr/local/etc/postfix/certs/cacert.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/certs/mycert.pem
smtpd_tls_key_file = /usr/local/etc/postfix/certs/mykey.pem
smtpd_tls_received_header = yes
smtpd_tls_loglevel = 3
smtpd_starttls_timeout = 60s
virtual_transport = maildrop:
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1


请大家帮忙解决!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP