LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 682|回复: 3

奇怪的问题,这是正常的吗?

[复制链接]
发表于 2007-4-1 21:31:49 | 显示全部楼层 |阅读模式
telnet 本机25端口

现象:
[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

命令netstat -an 查看,本地都是正常连接(还用win的机器0.1连接也这样.)

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:32768           0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:32769         0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      
tcp       15      0 127.0.0.1:25            127.0.0.1:32773         ESTABLISHED
tcp       14      0 192.168.0.10:25         192.168.0.1:1042        CLOSE_WAIT  
tcp        0      0 127.0.0.1:32773         127.0.0.1:25            ESTABLISHED
udp        0      0 0.0.0.0:32768           0.0.0.0:*                           
udp        0      0 0.0.0.0:824             0.0.0.0:*                           
udp        0      0 0.0.0.0:111             0.0.0.0:*                           
udp        0      0 0.0.0.0:631             0.0.0.0:*         

查看日志maillog错误为:
fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit

这是咋回事,连接上了,还有数据等待发送,怎么终端没反映了...应该再出一行 :     
220 mail.cngnu.org ESMTP Postfix
才对呀,咋回事呢?
发表于 2007-4-2 05:43:15 | 显示全部楼层
smtpd_recipient_restrictions, 这里没有设定允许的域,上面的出错提示讲得很清楚。
回复 支持 反对

使用道具 举报

发表于 2007-4-2 05:56:19 | 显示全部楼层
建议去读一下 postfix 文档,,有点全面了解先。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-2 17:24:47 | 显示全部楼层
Post by blackwhite
smtpd_recipient_restrictions, 这里没有设定允许的域,上面的出错提示讲得很清楚。

在哪设定允许的域呢?  关于postfix的文档很多,能不能推荐几个呀,我现在正在读一些,但是还没有读完,能说得清楚些吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表