由 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>
3> Delivered-To: [email protected]
4>
5> Received: (qmail 18740 invoked by uid 0); 2 Jun 2004 12:10:01 -0000
6>
7> Received: from unknown (HELO whiteshark) (61.49.138.141)
8>
9> by 0 with SMTP; 2 Jun 2004 12:10:01 -0000
10>
11> From: "darren" <[email protected]>
12>
13> To: <[email protected]>
14>
15> Subject: test
16>
17> Date: Wed, 2 Jun 2004 20:03:38 +0800
18>
19> Message-ID: <001601c44899$a36c0ca0$6400a8c0@whiteshark>
20>
21> MIME-Version: 1.0
22>
23> Content-Type: multipart/alternative;
24>
25> boundary="----=_NextPart_000_0017_01C448DC.B18F4CA0"
26>
27> X-Priority: 3 (Normal)
28>
29> X-MSMail-Priority: Normal
30>
31> X-Mailer: Microsoft Outlook, Build 10.0.2627
32>
33> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
34>
35> Importance: Normal
36>
37>
38>
39> This is a multi-part message in MIME format.
40>
41>
42>
43> \------=_NextPart_000_0017_01C448DC.B18F4CA0
44>
45> Content-Type: text/plain;
46>
47> charset="us-ascii"
48>
49> Content-Transfer-Encoding: 7bit
50>
51>
52>
53> test
54>
55>
56>
57> \------=_NextPart_000_0017_01C448DC.B18F4CA0
58>
59> Content-Type: text/html;
60>
61> charset="us-ascii"
62>
63> Content-Transfer-Encoding: quoted-printable
64>
65>
66>
67> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
68
69>
70> <html><head>
71>
72> <meta =="" content='3D"text/html;' http-equiv='3D"Content-Type"'/>
73> charset=3Dus-ascii">
74>
75> <title>邮件</title>
76>
77>
78>
79> <meta 6.00.2800.1400"="" content='3D"MSHTML' name="3DGENERATOR"/></head>
80>
81> <body>
82>
83> <div><span class="3D187230312-02062004"><font=20>
84> size=3D2>test</font=20></span></div></body></html>
85>
86>
87>
88> \------=_NextPart_000_0017_01C448DC.B18F4CA0--
89>
90>
91>
92>
93>
94> * * *
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这么久还是第一次发问。  ,新浪真是不想让小公司的网管活了,都一年了,自己在老板面前也觉得丢脸。不过也难怪新浪。
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记录)" > /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<blockqu</[email protected]></[email protected]></[email protected]>