求助:為什麼我的郵件發不到hotmail和gmail
為了能用自己的郵箱,我特意在伺服器上啟動了dns服務,並且把一個域名伺服器指向了自己的伺服器IP.
現在我在電信做了 ptr 記錄,目前dns查詢結果如下,但我還是發不了郵件到hotmail,gmail也不行不知道還能做什麼了。請朋友們指點一下。
> set type=all
> onlyit.cn
Server: tempdns.guangzhou.gd.cn
Address: 61.144.56.100
Non-authoritative answer:
onlyit.cn text =
"v=spf1 ip4:60.190.217.0/24 ~all"
onlyit.cn MX preference = 10, mail exchanger = smtp.onlyit.cn
onlyit.cn
primary name server = ns1.onlyit.cn
responsible mail addr = mengwg.onlyit.cn
serial = 13
refresh = 900 (15 mins)
retry = 600 (10 mins)
expire = 3600 (1 hour)
default TTL = 3600 (1 hour)
onlyit.cn internet address = 60.190.217.66
onlyit.cn nameserver = ns2.3322.org
onlyit.cn nameserver = ns2.3322.org
ns2.3322.org internet address = 202.108.36.139
> set type=ptr
> 60.190.217.66
Server: tempdns.guangzhou.gd.cn
Address: 61.144.56.100
Non-authoritative answer:
66.217.190.60.in-addr.arpa name = smtp.onlyit.cn
190.60.in-addr.arpa nameserver = ns.zjnbptt.net.cn
190.60.in-addr.arpa nameserver = dns-noc.zjhzptt.net.cn
ns.zjnbptt.net.cn internet address = 202.96.104.18
dns-noc.zjhzptt.net.cn internet address = 202.96.103.36
>
hotmail發回的錯誤信息:
550 Your e-mail was rejected for policy reasons on this gateway. Reasons for rej
ection may be related to content such as obscene language, graphics, or spam-lik
e characteristics (or) other reputation problems. For sender troubleshooting inf
ormation, please go to http://postmaster.msn.com. Please note: if you are an en
《解決方案》
郵件伺服器是我自己寫的程序,具體輸出信息如下:
Query Mx-Addr Of hotmail.com Ok mx4.hotmail.com
Query Addr Of mx4.hotmail.com Ok 65.54.245.104
smtp connect to 65.54.245.104
SMTP SEND:'ehlo smtp.onlyit.cn
'
SMTP SEND:'mail from:<mengwg@onlyit.cn>'
read_net_ret_code fail want 250 reply is
550 Your e-mail was rejected for policy reasons on this gateway. Reasons for rej
ection may be related to content such as obscene language, graphics, or spam-lik
e characteristics (or) other reputation problems. For sender troubleshooting inf
ormation, please go to http://postmaster.msn.com. Please note: if you are an en
d-user please contact your E-mail/Internet Service Provider for assistance.
SMTP SEND:'501 rcpt to mengwenguang@hotmail.com fail, host unreachable
'
smtp cmd: QUIT
SMTP SEND:'221 Bye bye
'
《解決方案》
WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
smtp.onlyit.cn.->onlyit.cn.->60.190.217.66
《解決方案》
非常感謝r2007指點,目前對dns不熟悉,我再好好琢磨琢磨。
我現在用win2003提供的dns服務,配置文件如下面。我再去了解了解相關指示。
;
; Database file onlyit.cn.dns for onlyit.cn zone.
; Zone version: 26
;
@ IN SOA ns1.onlyit.cn. mengwg.onlyit.cn. (
26 ; serial number
900 ; refresh
600 ; retry
3600 ; expire
3600 ) ; default TTL
;
; Zone NS records
;
;
; Zone records
;
@ A 60.190.217.66
@ MX 10 smtp.onlyit.cn.
@ TXT ( "v=spf1 a mx ~all" )
mail A 60.190.217.66
smtp A 60.190.217.66
www A 60.190.217.66
《解決方案》
原帖由 r2007 於 2007-5-31 19:40 發表
WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
smt ...
特此報告:
gmail可以發了,高興啊 :em02::em02::em02::em02::em02:
hotmail還不行,我再等等:em03::em03::em03:
《解決方案》
WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
smt ...
上面說一個或者多個MX記錄指在你的別名記錄上面...別名記錄被禁止做MX記錄.所以建議樓主還是在哉名上只做一個MX記錄看看..或者MX記錄指接指向自己的域名也沒有關係..俺公司的MX記錄就是域名..
說錯了.還請大家指點.俺也是新手
《解決方案》
原帖由 huzi1986 於 2007-6-3 19:05 發表
WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
smt ...
謝謝,沒辦法啊,我現在就1個IP。 反向解析已經定死了 smtp.onlyit.cn 所以現在就這麼做了。
還好gmail可以發了, :em02::em02::em02: