|
我服务器连接了PPTP VPN模式,接收邮件可以,但是发送就发不出去.
Thu 2010-06-03 04:50:52: [39:1] * From: *
Thu 2010-06-03 04:50:52: [39:1] * To: *
Thu 2010-06-03 04:50:52: [39:1] * Subject: : can't login
Thu 2010-06-03 04:50:52: [39:1] * Size (bytes): 15242
Thu 2010-06-03 04:50:52: [39:1] * Message-ID: <[email=WC20100602204548.620002@*]WC20100602204548.620002@*[/email]>
Thu 2010-06-03 04:50:52: [39:1] Attempting SMTP connection to [he.net]
Thu 2010-06-03 04:50:52: [39:1] Resolving MX records for [he.net] (DNS Server: 66.165.162.24)...
Thu 2010-06-03 04:50:52: [39:1] * P=001 S=000 D=he.net TTL=(1056) MX=[he.net] {216.218.186.2}
Thu 2010-06-03 04:50:52: [39:1] Attempting SMTP connection to [216.218.186.2:25]
Thu 2010-06-03 04:50:52: [39:1] Waiting for socket connection...
Thu 2010-06-03 04:51:13: [39:1] * Winsock Error 10065 The host is unreachable. Are you connected to the network?
Thu 2010-06-03 04:51:13: [39:1] * 216.218.186.2 added to connection failure cache for 5 minutes
Thu 2010-06-03 04:51:13: [39:1] Attempting to send message to smart host
Thu 2010-06-03 04:51:13: [39:1] Attempting SMTP connection to [smtp.gmail.com:25]
Thu 2010-06-03 04:51:13: [39:1] Resolving A record for [smtp.gmail.com] (DNS Server: 66.165.162.24)...
Thu 2010-06-03 04:51:14: [39:1] * D=gmail-smtp-msa.l.google.com TTL=(0) A=[74.125.67.109]
Thu 2010-06-03 04:51:14: [39:1] Attempting SMTP connection to [74.125.67.109:25]
Thu 2010-06-03 04:51:14: [39:1] Waiting for socket connection...
Thu 2010-06-03 04:51:35: [39:1] * Winsock Error 10065 The host is unreachable. Are you connected to the network?
Thu 2010-06-03 04:51:35: [39:1] * 74.125.67.109 added to connection failure cache for 5 minutes
Thu 2010-06-03 04:51:35: [39:1] This message is 5 minutes old; it has 5 minutes left in this queue
Thu 2010-06-03 04:51:35: [39:1] SMTP session terminated (Bytes in/out: 0/0)
我搜索了下,可能是连接PPTP后,还需要设置路由,指定从从哪个网卡或者接口出去.
但是不知道怎么设置. 哪位大大给帮帮...
WSAEHOSTUNREACH (10065) No Route to Host
A socket operation was attempted to an unreachable host.
TCP/IP scenario: In BSD-compatible implementations, the local network system generates this error if there isn't a default route configured. Typically, though, Winsock generates WSAENETUNREACH when it receives a 'host unreachable' ICMP message from a router instead of WSAEHOSTUNREACH. The ICMP message means that the router can't forward the IP datagram, possibly because it didn't get a response to the ARP request (which might mean the destination host is down). |