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

 找回密码
 会员注册
查看: 15122|回复: 23
打印 上一主题 下一主题

[求助] 400 cannot handshake with mail server

[复制链接]
跳转到指定楼层
顶楼
发表于 2007-6-3 16:50:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位;
我们公司发送到[email=***@aol.com]***@aol.com[/email]的邮件都被退回;退回的信息如下;请帮追各位专家给说明一下是什么原因导致呢?不光是aol的邮件,其他的也有。

我咨询服务商后,说对方的邮件有返垃圾邮件功能;我们的邮件主机没有做反相解析所致;
我让我们的ISP服务商做了反相解析,但还是不行。
我怎么看我们的主机是否做了反相解析呢?

谢谢大家




×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
I'm afraid I wasn't able to deliver your message to the following address.
This is a permanent error; I've given up. I am sorry for this inconvenience.
webmaster@aol.com Error Message: 400 cannot handshake with mail server

-------------------------------------------
the following is a part of original message:
Return-Path: <robin.luo@ptp.com.cn>
Received: from [10.52.163.21] by [10.52.163.22] with StormMail ESMTP id 44120.1989083641;
Thu, 31 May 2007 15:42:54 +0800 (CST)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C7A358.3E551929"
Subject: test 15:49
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Date: Thu, 31 May 2007 15:49:40 +0800
Message-ID: <D166FDD09DD08A4B8AAEA8EFC3A50A0C3256C9@shanntx1.ptp.com.cn>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: test 15:49
Thread-Index: AcejWD3HH70ghnLcT7eCuTUT94mN1A==
From: "Luo, Robin" <Robin.Luo@ptp.com.cn>
To: <webmaster@aol.com>
This is a multi-part message in MIME format.
------_=_NextPart_001_01C7A358.3E551929
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Test
=20
Best Regards
=20
=20
------_=_NextPart_001_01C7A358.3E551929
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2900.3086" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D522214907-31052007><FONT =
size=3D2>Test</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=3Dleft><FONT size=3D2>Be
沙发
发表于 2007-6-3 17:37:17 | 只看该作者
是这个ip吧  反解应该没什么问题。
Answer:
220.248.90.50 PTR record: shanntx1.ptp.com.cn.

在dns上再加一个spf纪录,估计就好了
藤椅
发表于 2007-6-3 17:55:07 | 只看该作者
刚又看了看http://www.dnsreport.com/tools/dnsreport.ch?domain=ptp.com.cn
如果ptp.com.cn 是你的
mail的hostname好像有点问题
不知道会影响多大

你先做好spf 再说吧。 spf很容易做
板凳
 楼主| 发表于 2007-6-3 22:39:04 | 只看该作者
楼上的朋友,多谢你的详细讲解!另再咨询“spf”是什么意思呢?
在DNS 服务器上加吗?我是找域名服务商加还是专线的ISP加呢
报纸
发表于 2007-6-4 01:08:51 | 只看该作者
再dns的txt里面加
http://www.5dmail.net/bbs/thread-155436-1-1.html
这个贴写的详细
地板
 楼主| 发表于 2007-6-4 10:41:05 | 只看该作者
TDK和各位朋友;谢谢你们!
我按照方法去做了,出现下面的信息:
××××××××××××××××××××××××××××××××××××××××××

The SPF record:

v=spf1 a mx ~all
can be explained as:

  v=spf1 This identifies the TXT record as an SPF string.
  a ptp.com.cn's IP address is 222.73.255.65.
That server is allowed to send mail from ptp.com.cn.  
  mx ptp.com.cn has one MX server, shanntx1.
It is allowed to send mail from ptp.com.cn.
If you add more MX servers in the future, they'll automatically be allowed, too.  
  ~all SPF queries that do not match any other mechanism will return "softfail".
Messages that are not sent from an approved server should still be accepted but may be subjected to greater scrutiny.  

--------------------------------------------------------------------------------

You need to transfer these records to your DNS server by yourself. No changes can be made by the wizard, it can only provide you with the data that needs to be entered into your DNS server.

If you run BIND
Paste this into your zone file:
ptp.com.cn. IN TXT "v=spf1 a mx ~all"
When a mail server sends a bounce message, it uses a null MAIL FROM: <>, and a HELO address that's supposed to be its own name. SPF will still operate, but in "degraded mode" by using the HELO domain name instead. Because this wizard can't tell which name your mail server uses in its HELO command, it lists all possible names, so there may be multiple lines shown below. If you know which hostname your mail server uses in its HELO command, you should pick out the appropriate entries and ignore the rest.

So this should also appear in DNS. You may or may not be in charge of the DNS for these entries; if you are, add them.

shanntx1.ptp.com.cn. IN TXT "v=spf1 a -all"





If you run tinydns (djbdns)
'ptp.com.cn:v=spf1 a mx ~all:3600
'shanntx1.ptp.com.cn:v=spf1 a -all:3600



然后我到我们的域名注册商(Hichina)的Diy域名管理中,看到了添加txt文本信息;
但我不知
主机名写什么? 是直接的域名还是我的mx记录主机啊
文本信息写什么?

我脑袋不灵活,请大家再指点下。
7
发表于 2007-6-4 11:05:13 | 只看该作者
在那个贴里已经回复你了
QUOTE:
原帖由 Rluo 于 2007-6-3 23:43 发表
请问在hichina里面设置TXT记录:

主机名填什么?
正文内容填什么呢?
主机名写你的 域名 abc.com.cn
txt 需要你看实际情况了
一般的话 写 "v=spf1 a mx ~all"

你按想到做一下,把出来的结果写进去就可以了
8
 楼主| 发表于 2007-6-4 15:48:34 | 只看该作者
我做了,请问我该如何测试是否已经成功呢!
9
发表于 2007-6-4 15:56:10 | 只看该作者
www.5dmail.net/tools.htm 看dns报告就能看到

或者命令行
nslookup
set query=txt
abcd.com.cn
10
发表于 2007-6-4 16:00:12 | 只看该作者
你可以给hotmail aol 发邮件试试看
不在据收应该就是做好了

我nslookup看了一下 spf应该做好了
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2026-8-5 20:55

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表