免费注册 查看新帖 |

Chinaunix

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

[Mail] 我的25端口进不去,怎么办? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-23 15:18 |只看该作者 |倒序浏览
#====================SASL========================
broken_sasl_auth_clients = yes
#In order to allow mail relaying by authenticated clients
smtpd_recipient_restrictions =
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_invalid_hostname,
  reject_non_fqdn_hostname,
  reject_unknown_sender_domain,
  reject_non_fqdn_sender,
  reject_non_fqdn_recipient,
  reject_unknown_recipient_domain,
  reject_unauth_pipelining,
  reject_unauth_destination,
  permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"
这是我的postfix中main.cf的sasl配置。去了这些收发正常,有这些不能收发。
这是怎么回事呀?


telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.

论坛徽章:
0
2 [报告]
发表于 2006-08-23 18:03 |只看该作者
看看你的maillog里到底有哪些错误 ,难道你没安装cyrus-sasl,不可能,你重启一下试试,然后用netstat -nl |grep 25看看25起来没。

[ 本帖最后由 huanghaojie 于 2006-8-23 18:06 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2006-08-24 09:03 |只看该作者

我安装了sasl

我安装了sasl,但postfix配置文件中把sasl去了,加上后25端口能起来,就是等不进去,
日志:
Aug 23 17:09:59 hwy postfix/smtpd[20729]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Aug 23 17:09:59 hwy postfix/master[3248]: warning: process /usr/libexec/postfix/smtpd pid 20729 killed by signal 11
Aug 23 17:09:59 hwy postfix/master[3248]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
这是怎么回事呀?

论坛徽章:
0
4 [报告]
发表于 2006-09-05 11:53 |只看该作者

增加-DUSE_CYRUS_SASL 这个编译参数后,重新编译

[Incompat 20051220] The Postfix-with-Cyrus-SASL build procedure has
changed. You now need to specify -DUSE_CYRUS_SASL in addition to
-DUSE_SASL_AUTH or else you end up without any Cyrus SASL support.
The error messages are:

    unsupported SASL server implementation: cyrus
    unsupported SASL client implementation: cyrus


增加-DUSE_CYRUS_SASL 这个编译参数后,重新编译

论坛徽章:
0
5 [报告]
发表于 2006-09-05 16:43 |只看该作者
你是用什么用户数据存储的?Mysql还是OpenLDAP?

用/usr/sbin/testsaslauthd -u username -p password命令看一下你的sasl能否验证用户。
你的sasl安装后的smtpd如何配置的?

希望我的经验对你有帮助:
http://bbs.chinaunix.net/viewthr ... &extra=page%3D6
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP