邮件系统不能给新浪免费邮箱发送邮件是何原因?

由 jinnee 在 06-02-2004 20:44 发表:

邮件系统不能给新浪免费邮箱发送邮件是何原因?(置顶给兄弟讨论)

我的邮件系统采用的是 qmail+vpopmail+mysql+igenus,运行了一年多,没有一次成功给新浪免费邮箱发送过邮件。

对应qmail的发送失败记录如下:

**

Jun 2 19:58:02 phoenix qmail: 1086177482.738449 delivery 1268: deferral: Connected_to_202.106.182.250_but_connection_died.Possible_duplicate!(#4.4.2)/

**

这个记录不知道说些什么,我在给新浪邮件中发送了我用telnet的做的测试.实际原因应该是

553 Spam Mail http://mail.sina.com.cn/FAQ.html Connection closed by foreign

给新浪的收费邮箱发送没有问题,给sohu 等发送也没有问题,联系了新浪,给我的答复是

> quote: > > * * * > >
>
> > 您好!
>
> > 从您的这次测试可以看到,与服务器连接后, 由于您的邮件格式不标准 ,所以,被服
>
> 务器作为垃圾邮件拒绝接收了!
>
> >
>
> > 如果您保持标准的邮件格式,是可以正常向免费邮箱发送邮件的!
>
> >
>
> >======= 2004-04-25 20:39:14 您在来信中写道:=======
>
> >
>
> > >新浪有关工作人员你好:
>
> > >
>
> > >最近我们的邮件系统无法给新浪发信。我们的域名是weimin.cn mx 记录指向
>
> > >phoenix.weimin.cn
>
> > >以下是我在邮件服务器上与新浪邮件服务器的一次会话。前几个命令都成功了,只
>
> 是到
>
> > >了 DATA命令后 就出现553,我们的服务器是不是上了黑名单?我们的邮件服务器可
>
> 以
>
> > >保证不是openrelay的。盼回复!
>
> > >
>
> > >[darren@weimin darren]$ telnet sinamx.sina.com.cn smtp
>
> > >Trying 202.106.182.168...
>
> > >Connected to sinamx.sina.com.cn.
>
> > >Escape character is '^]'.
>
> > >220 sina.com ESMTP
>
> > >EHLO weimin.cn
>
> > >250-sina.com
>
> > >250-PIPELINING
>
> > >250 8BITMIME
>
> > >MAIL FROM:[email protected]
>
> > >250 ok
>
> > >RCPT TO:[email protected]
>
> > >250 ok
>
> > >DATA
>
> > >354 请继续 - go ahead
>
> > >HELO
>
> > >.
>
> > >553 Spam Mail http://mail.sina.com.cn/FAQ.html Connection closed by
>
> foreign
>
> > >host.
>
> > > * * *

我仔细反复不下十遍核对了 http://mail.sina.com.cn/FAQ.html 上的条目,邮件服务器也设置了正确的HELO域,DNS上mx记录设置也应该没问题.机器是电信机房托管的,也不存在防火墙的问题.新浪给我的答复是邮件格式不正确.我于是用outlook给自己发了一封信大家帮我瞧瞧到底哪儿不标准了.

> quote: > > * * * > >
>
>
>
> Return-Path:

  1<[email protected]>   
  2&gt;    
  3&gt;  Delivered-To: [email protected]   
  4&gt;    
  5&gt;  Received: (qmail 18740 invoked by uid 0); 2 Jun 2004 12:10:01 -0000   
  6&gt;    
  7&gt;  Received: from unknown (HELO whiteshark) (61.49.138.141)   
  8&gt;    
  9&gt;  by 0 with SMTP; 2 Jun 2004 12:10:01 -0000   
 10&gt;    
 11&gt;  From: "darren" <[email protected]>   
 12&gt;    
 13&gt;  To: <[email protected]>   
 14&gt;    
 15&gt;  Subject: test   
 16&gt;    
 17&gt;  Date: Wed, 2 Jun 2004 20:03:38 +0800   
 18&gt;    
 19&gt;  Message-ID: &lt;001601c44899$a36c0ca0$6400a8c0@whiteshark&gt;   
 20&gt;    
 21&gt;  MIME-Version: 1.0   
 22&gt;    
 23&gt;  Content-Type: multipart/alternative;   
 24&gt;    
 25&gt;  boundary="----=_NextPart_000_0017_01C448DC.B18F4CA0"   
 26&gt;    
 27&gt;  X-Priority: 3 (Normal)   
 28&gt;    
 29&gt;  X-MSMail-Priority: Normal   
 30&gt;    
 31&gt;  X-Mailer: Microsoft Outlook, Build 10.0.2627   
 32&gt;    
 33&gt;  X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409   
 34&gt;    
 35&gt;  Importance: Normal   
 36&gt;    
 37&gt;    
 38&gt;    
 39&gt;  This is a multi-part message in MIME format.   
 40&gt;    
 41&gt;    
 42&gt;    
 43&gt;  \------=_NextPart_000_0017_01C448DC.B18F4CA0   
 44&gt;    
 45&gt;  Content-Type: text/plain;   
 46&gt;    
 47&gt;  charset="us-ascii"   
 48&gt;    
 49&gt;  Content-Transfer-Encoding: 7bit   
 50&gt;    
 51&gt;    
 52&gt;    
 53&gt;  test   
 54&gt;    
 55&gt;    
 56&gt;    
 57&gt;  \------=_NextPart_000_0017_01C448DC.B18F4CA0   
 58&gt;    
 59&gt;  Content-Type: text/html;   
 60&gt;    
 61&gt;  charset="us-ascii"   
 62&gt;    
 63&gt;  Content-Transfer-Encoding: quoted-printable   
 64&gt;    
 65&gt;    
 66&gt;    
 67&gt;  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 68   
 69&gt;    
 70&gt;  <html><head>   
 71&gt;    
 72&gt;  <meta =="" content='3D"text/html;' http-equiv='3D"Content-Type"'/>    
 73&gt;  charset=3Dus-ascii"&gt;   
 74&gt;    
 75&gt;  <title>邮件</title>   
 76&gt;    
 77&gt;    
 78&gt;    
 79&gt;  <meta 6.00.2800.1400"="" content='3D"MSHTML' name="3DGENERATOR"/></head>   
 80&gt;    
 81&gt;  <body>   
 82&gt;    
 83&gt;  <div><span class="3D187230312-02062004"><font=20>    
 84&gt;  size=3D2&gt;test</font=20></span></div></body></html>   
 85&gt;    
 86&gt;    
 87&gt;    
 88&gt;  \------=_NextPart_000_0017_01C448DC.B18F4CA0--   
 89&gt;    
 90&gt;    
 91&gt;    
 92&gt; 
 93&gt; 
 94&gt; * * *
 95
 96  
 97
 98
 99* * *
100
101  
102_由 Snoopy 在 06-02-2004 21:03 发表:_   
103  
104
105
106****
107
108  
109  
110
111
112你到cu看看,没结果的,sina就是那样,宁可杀错不可放过   
113  
114  
115  
116不能发给它并不是你的域名或ip被列为黑名单,而是它的smtp机制太严格了, 
117
118__________________   
119  
120And then in the evening light, when the bars of freedom fall   
121  
122I watch the two of you in the shadows on the wall   
123  
124How in the darkness steals some of the choices from my hand   
125  
126Then will I begin to under 
127
128  
129
130
131* * *
132
133  
134_由 jinnee 在 06-02-2004 21:16 发表:_   
135  
136
137
138****
139
140  
141  
142
143
144cu去了好几趟,读了很多帖子,也搜了好多帖子。好象没有人遇到跟我类似的情况。没办法只好在这里问了。来linuxsir这么久还是第一次发问。 ![](http://linuxsir.zahui.net/html/11/images/smilies/frown.gif) ,新浪真是不想让小公司的网管活了,都一年了,自己在老板面前也觉得丢脸。不过也难怪新浪。 
145
146  
147
148
149* * *
150
151  
152_由 Snoopy 在 06-02-2004 23:26 发表:_   
153  
154
155
156****
157
158  
159  
160
161
162qmail   
163  
164echo "我的邮件服务器的真实域名(A记录)" &gt; /var/qmail/control/helohost   
165  
166  
167  
168postfix   
169  
170postconf -e "smtp_helo_name = 我的邮件服务器的域名(A记录)"   
171  
172  
173  
174sendmail   
175  
176vi /etc/sendmail.cf   
177  
178Cw我的邮件服务器的域名(A记录)   
179  
180  
181  
182sina需要解析heloname的A记录,如果这个A没有指到邮件服务器上,就肯定会被拒收.   
183  
184  
185  
186  
187  
188参考一下这方法,有人搞定过 
189
190__________________   
191  
192And then in the evening light, when the bars of freedom fall   
193  
194I watch the two of you in the shadows on the wall   
195  
196How in the darkness steals some of the choices from my hand   
197  
198Then will I begin to under 
199
200  
201
202
203* * *
204
205  
206_由 jinnee 在 06-03-2004 09:51 发表:_   
207  
208
209
210****
211
212  
213  
214
215
216我的helohost 是phoenix.weimin.cn 对应有相应的 A纪录,没问题呀   
217  
218debian:~# telnet phoenix.weimin.cn smtp   
219  
220Trying 211.100.17.157...   
221  
222Connected to phoenix.weimin.cn.   
223  
224Escape character is '^]'.   
225  
226220 phoenix.weimin.cn ESMTP    
227  
228HELO   
229  
230250 phoenix.weimin.cn    
231  
232  
233  
234  
235  
236这样应该是对的吧?   
237  
238  
239  
240dns 及 mx 纪录   
241  
242  
243  
244  
245  
246&lt;blockqu</[email protected]></[email protected]></[email protected]>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus