【发布时间】:2014-06-25 22:01:33
【问题描述】:
我使用的是centos 6.4,并按照本博客中的说明安装了sendmail
我相信(不确定)我已经使用gmail id 和password 成功配置了sendmail,现在我可以只向本地域发送邮件,例如我的域名是example.com,所以我可以发送邮件给example.com 的任何用户,但如果我尝试发送到其他域说user@gmail.com 或user@yahoo.com 我收到错误消息Deferred : Connection timed out with alt4.smtp.in.goo
我尝试了ping 和telent 两个端口25 和587 都失败了,我什至无法ping 到google.com
$ ping google.com
PING google.com (74.125.236.174) 56(84) bytes of data.
^C
--- google.com ping statistics ---
37 packets transmitted, 0 received, 100% packet loss, time 36287ms
$ telnet smtp.gmail.com 25
Trying 74.125.25.108...
Trying 74.125.25.109...
Trying 2607:f8b0:400e:c03::6c...
telnet: Unable to connect to remote host: Network is unreachable
$ telnet smtp.gmail.com 587
Trying 74.125.25.108...
Trying 74.125.25.109...
Trying 2607:f8b0:400e:c03::6c...
telnet: Unable to connect to remote host: Network is unreachable
可能是什么问题?是否与我主机上的 iptables 相关?我应该联系网络管理员吗?
【问题讨论】:
-
您目前的问题不在于 sendmail。底层网络连接或配置肯定有问题。这个问题更有可能是on-topicServer Fault。
标签: linux email networking sendmail centos6