linux – 无法连接到SMTP服务器
发布时间:2020-12-13 17:06:14 所属栏目:Linux 来源:网络整理
导读:我无法从PC连接到SMTP服务器. 我使用Debian sid. telnet mail.example.com 25Trying 12.23.34.45...telnet: Unable to connect to remote host: Connection timed out 来自我网络外部的另一台Debian PC: telnet mail.example.com 25Trying 12.23.34.45...Co
我无法从PC连接到SMTP服务器.
我使用Debian sid. telnet mail.example.com 25 Trying 12.23.34.45... telnet: Unable to connect to remote host: Connection timed out 来自我网络外部的另一台Debian PC: telnet mail.example.com 25 Trying 12.23.34.45... Connected to mail.example.com. Escape character is '^]'. 220 mail.example.com ESMTP Exim 4.63 Mon,02 Apr 2012 22:14:09 +0200 ping也永远挂起,当我按下Ctrl C时它会说“100%丢包”. traceroute mail.example.com traceroute to mail.example.com (12.23.34.45),30 hops max,60 byte packets 1 * * * 2 * * * 3 * * * ... 27 * * * 28 * * * 29 * * * 30 * * * 当我对服务器端口25运行nmap时: nmap mail.example.com -p25 Starting Nmap 5.21 ( http://nmap.org ) at 2012-04-02 23:08 EEST Nmap scan report for mail.example.com (12.23.34.45) Host is up (0.090s latency). PORT STATE SERVICE 25/tcp filtered smtp Nmap done: 1 IP address (1 host up) scanned in 0.88 seconds 最后我的iptables: iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination 有任何想法吗? 解决方法
为了进行健全性检查,我会运行一些快速端口检查服务,例如:
> http://www.mxtoolbox.com/diagnostic.aspx 一旦你确信只有你的Debian PC出现问题,请尝试连接其他一些知名的邮件提供商(如gmail,yahoo等).这将有助于缩小问题的范围.如果您无法连接到其中任何一个但仍具有端到端连接,那么混合中似乎可能存在阻塞的端口/服务. 如果你可以连接其中的一些,那么我会考虑收集一个数据包捕获(从两侧),以确认某些数据包没有完全一直. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- linux – Vagrant,共享文件夹:利用inotify over NFS
- LINUX-文件和目录
- linux – 用简单的英语解释熵可用
- How childhood trauma affects health across a lifetime
- linux – iptables新连接与–syn
- Linux Teamviewer功能,但仅适用于ssh
- linux – 语法错误:换行符意外的node.js rpm
- 使用mips64el-linux-android-strip,transformNativeLibsWit
- rsync备份服务
- nginx如果根目录下有.htaccess,可能会导致No input file s