免费注册 查看新帖 |

Chinaunix

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

为什么telnet自己的25端口没有反映? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-29 22:42 |只看该作者 |倒序浏览
telnet 127.0.0.1 25 的时候停住没有反映了.ctrl+c 也退不出来,只能杀进程...


[root@mail root]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to mail (127.0.0.1).
Escape character is '^]'.
-



就停在这不动了......555
我用的软件包版本都是王大哥写的完全相同,前面的mysql,  pam_mysql  ,  cyrus-sasl  ,postfix 的编译都没有任何错误,但为什么不能telnet呢?

环境:  red AS3     Postfix + Cyrus-IMAP + Cyrus-SASL + MySQL + IMP
参考文献:  http://cngnu.org/technology/Postfix_I.html


以下是maillog的记录:

Mar 29 04:40:33 localhost postfix/smtpd[8562]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Mar 29 04:40:34 localhost postfix/master[6113]: warning: process /usr/libexec/postfix/smtpd pid 8562 exit status 1
Mar 29 04:40:34 localhost postfix/master[6113]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 29 04:41:34 localhost postfix/smtpd[8563]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Mar 29 04:41:35 localhost postfix/master[6113]: warning: process /usr/libexec/postfix/smtpd pid 8563 exit status 1
Mar 29 04:41:35 localhost postfix/master[6113]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 29 04:42:35 localhost postfix/smtpd[9283]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Mar 29 04:42:36 localhost postfix/master[6113]: warning: process /usr/libexec/postfix/smtpd pid 9283 exit status 1
Mar 29 04:42:36 localhost postfix/master[6113]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 29 04:43:36 localhost postfix/smtpd[9284]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Mar 29 04:43:37 localhost postfix/master[6113]: warning: process /usr/libexec/postfix/smtpd pid 9284 exit status 1
Mar 29 04:43:37 localhost postfix/master[6113]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 29 04:44:37 localhost postfix/smtpd[9290]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permitMar 29 04:44:38 localhost postfix/master[6113]: warning: process /usr/libexec/postfix/smtpd pid 9290 exit status 1
Mar 29 04:44:38 localhost postfix/master[6113]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling



我知道是红字的地方除了问题,但是看不太明白,是不是和我的域名甚么的有关系啊.但是我检查了/etc/hosts  , /etc/sysconfig/network  都没什么问题啊..........帮我解答下吧!~~~

论坛徽章:
0
2 [报告]
发表于 2007-03-29 23:06 |只看该作者
我记得现在默认telnet都是不开的, 用ssh远程管理登陆的

论坛徽章:
0
3 [报告]
发表于 2007-04-04 10:45 |只看该作者
楼上的理解错了。检查mail relay的设置。

论坛徽章:
0
4 [报告]
发表于 2007-04-04 10:49 |只看该作者
出来]了应该是连上了,查查配置文件吧,也有可能是在等反向解析

论坛徽章:
0
5 [报告]
发表于 2010-08-18 17:20 |只看该作者
我也遇到过这个问题  是 /etc/postfix/main.cf  这个里面有个文件写错了  你好好看下这个配置文件

论坛徽章:
0
6 [报告]
发表于 2010-08-19 10:48 |只看该作者
telnet localhost 25说明端口或许没有侦听正常
排除问题的步骤是
netstat -nltp看看有25端口运行么?25端口监听的是localhost ?127.0.0.1?or your ip address

论坛徽章:
0
7 [报告]
发表于 2010-08-19 11:03 |只看该作者
telnet 25 可以继续操作的.

论坛徽章:
0
8 [报告]
发表于 2010-08-19 11:05 |只看该作者
回复 1# yh81521


    很明显,配置文件有问题,好好检查一下,配置

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
9 [报告]
发表于 2010-08-19 12:38 |只看该作者
这个就是配置文件的问题,smtpd_recipient_restrictions对这个配置多关注一下,可能是他造成的

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
10 [报告]
发表于 2010-08-19 14:14 |只看该作者
总觉得用 win telnet 25端口,怎么看都怪。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP