Postfix telnet www.azengna.com 25 Connection Refused 但是localhost连接成功

修改配置文件 vi /etc/postfix/main.cf

原先配置信息

....
inet_interfaces = all
#inet_interfaces = $myhostname,localhost
#inet_interfaces = $muhostname
inet_interfaces = localhost
......

少加了一个注释,导致配置文件以后面的命令为准

所以问题添加注释 改成 

......
inet_interfaces = all
......

 

posted @ 2019-04-21 11:52  我只有一件白T恤  阅读(403)  评论(0编辑  收藏  举报