邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: 为什么发不出邮件,但是可以收邮件? [打印本页]

作者: piaofen    时间: 2009-5-11 13:04
标题: 为什么发不出邮件,但是可以收邮件?
Mon 2009-05-11 13:00:57: Session 4; child 1
Mon 2009-05-11 13:00:57: Parsing message
Mon 2009-05-11 13:00:57: * From: admin@tmdbook.com
Mon 2009-05-11 13:00:57: * To: 58181500@qq.com
Mon 2009-05-11 13:00:57: * Subject: 4214123123
Mon 2009-05-11 13:00:57: * Message-ID:
Mon 2009-05-11 13:00:57: Attempting SMTP connection to [qq.com]
Mon 2009-05-11 13:00:57: Resolving MX records for [qq.com] (DNS Server: 202.101.224.69)...
Mon 2009-05-11 13:00:57: * P=010 S=000 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.125}
Mon 2009-05-11 13:00:57: * P=010 S=001 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.126} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=002 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.216} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=003 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.217} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=004 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.218} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=005 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.219} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=006 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.220} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=007 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.120} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=008 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.121} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=009 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.122} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=010 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.123} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=011 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.124} multi-homed
Mon 2009-05-11 13:00:57: Attempting SMTP connection to [119.147.10.125:25]
Mon 2009-05-11 13:00:57: Waiting for socket connection...
Mon 2009-05-11 13:00:57: * Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
Mon 2009-05-11 13:00:57: Socket connect error
Mon 2009-05-11 13:00:57: This message is 0 minutes old; it has 60 minutes left in this queue
Mon 2009-05-11 13:00:57: SMTP session terminated (Bytes in/out: 0/0)

以上是发送出去的代码。很关键是:
Mon 2009-05-11 13:00:57: Attempting SMTP connection to [119.147.10.125:25]
Mon 2009-05-11 13:00:57: Waiting for socket connection...
Mon 2009-05-11 13:00:57: * Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
Mon 2009-05-11 13:00:57: Socket connect error
Mon 2009-05-11 13:00:57: This message is 0 minutes old; it has 60 minutes left in this queue
关键一条是:
Mon 2009-05-11 13:00:57: * Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
为什么会这样?
作者: redif    时间: 2009-5-11 14:13
Winsock Error 10061 The other host is either dow,这个难搞,不知道是不是和防火墙有关
作者: piaofen    时间: 2009-5-11 18:27
是啊。我检查了服务器的防火墙。解决了。是吗咖啡的错误。




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://bbs.5dmail.net/) Powered by Discuz! X3.2