免费注册 查看新帖 |

Chinaunix

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

[Mail] 请教一个postfix 问题. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-25 15:48 |只看该作者 |倒序浏览
我在安装了postfix的linux本机上使用telnet 127.0.0.1 25 ;telnet 127.0.0.1 110 ;telnet mail.adc.com 110. 都可以上postfix,

但是就是使用telnet mail adc.com 25 就不行..出现
[root@localhost named]# telnet mail.adc.com 25
Trying 192.168.1.88...
telnet: connect to address 192.168.1.88: Connection refused
telnet: Unable to connect to remote host: Connection refused

请高手出招....谢了...

论坛徽章:
0
2 [报告]
发表于 2008-12-25 15:58 |只看该作者
netstat -a | grep smtp
提示什么?

论坛徽章:
0
3 [报告]
发表于 2008-12-25 16:05 |只看该作者
提示:
[root@localhost etc]# netstat -a |grep smtp
tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN      
unix  2      [ ACC ]     STREAM     LISTENING     9269   private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     9321   private/bsmtp

论坛徽章:
0
4 [报告]
发表于 2008-12-25 16:15 |只看该作者
tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN      

说明mta只是在127.0.0.1上listen
你看下你的
main.cf 中
inet_interfaces 是什么!

或者改为
inet_interfaces  = all

[ 本帖最后由 xieweihua 于 2008-12-25 16:19 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2008-12-25 16:19 |只看该作者
# Note: you need to stop/start Postfix when this parameter changes.
#
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = localhost

# The proxy_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on by way of a

请问这样设置对吗?

论坛徽章:
0
6 [报告]
发表于 2008-12-25 16:45 |只看该作者
先删除
inet_interfaces = localhost


然后postfix restart

不可以postfix  reload,一定要从起

[ 本帖最后由 xieweihua 于 2008-12-25 16:48 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2008-12-25 16:51 |只看该作者
好象这下好了..多谢了..顺便请问一下inet_interfaces = localhost这一句是不起作用的是吗?

[ 本帖最后由 it_adwork 于 2008-12-25 16:53 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2008-12-25 16:52 |只看该作者
postconf -n inet_interfaces 

输出什么??

论坛徽章:
0
9 [报告]
发表于 2008-12-25 16:53 |只看该作者
你暂时不要用
 telnet mail.adc.com 25
用 telnet ip 25

论坛徽章:
0
10 [报告]
发表于 2008-12-25 16:54 |只看该作者
已经好了..多谢.多谢了..
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP