歡迎您光臨本站 註冊首頁

postfix發不出去信,但是能收到

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

postfix發不出去信,但是能收到

postfix能發出去信。但是收不到。。。同域名之間收發是沒有問題的。MX記錄沒有問題。
以下是MX記錄

> set type=mx
> t4game.net
Server:  xd-cache-1.bjtelecom.net
Address:  219.141.136.10

Non-authoritative answer:
t4game.net      MX preference = 10, mail exchanger = mail.t

t4game.net      nameserver = dns20.hichina.com
t4game.net      nameserver = dns19.hichina.com
mail.t4game.net internet address = 219.143.97.107
dns19.hichina.com       internet address = 218.30.103.158
dns19.hichina.com       internet address = 218.30.103.240
dns20.hichina.com       internet address = 218.244.147.108
dns20.hichina.com       internet address = 218.244.147.100
我的伺服器的ip是219.143.97.107

以下是郵件日誌:


Apr  9 09:26:05 t4game postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Apr  9 09:26:05 t4game postfix/smtpd: connect from r3-245.sinamail.sina.com.cn
Apr  9 09:26:05 t4game postfix/smtpd: warning: unknown smtpd restriction: "rejet_invalid_hostname"
Apr  9 09:26:05 t4game postfix/smtpd: NOQUEUE: reject: RCPT from r3-245.sinamail.sina.com.cn: 451 4.3.5 Server configuration error; from=<buou199@sina.com> to=<test@t4game.net> proto=ESMTP helo=<mail3-245.sinamail.sina.com.cn>
Apr  9 09:26:05 t4game postfix/cleanup: 3AD296AE583: message-id=<20090409012605.3AD296AE583@mail.t4game.net>
Apr  9 09:26:05 t4game postfix/smtpd: disconnect from r3-245.sinamail.sina.com.cn
Apr  9 09:26:05 t4game postfix/qmgr: 3AD296AE583: from=<double-bounce@mail.t4game.net>, size=1044, nrcpt=1 (queue active)
Apr  9 09:26:05 t4game postfix/virtual: 3AD296AE583: to=<postmaster@t4game.net>, orig_to=<postmaster>, relay=virtual, delay=0.06, delays=0.02/0.01/0/0.03, dsn=5.1.1, status=bounced (unknown user: "postmaster@t4game.net")
Apr  9 09:26:05 t4game postfix/bounce: warning: 3AD296AE583: undeliverable postmaster notification discarded
Apr  9 09:26:05 t4game postfix/qmgr: 3AD296AE583: removed
Apr  9 09:28:37 t4game postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Apr  9 09:28:37 t4game postfix/smtpd: warning: 218.19.90.50: address not listed for hostname 50.90.19.218.broad.gz.gd.dynamic.163data.com.cn
Apr  9 09:28:37 t4game postfix/smtpd: connect from unknown
Apr  9 09:28:37 t4game postfix/smtpd: warning: unknown smtpd restriction: "rejet_invalid_hostname"
Apr  9 09:28:37 t4game postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 451 4.3.5 Server configuration error; from=<RCaCxQwZ@dng.dns0755.net> to=<zhaofei@t4game.com> proto=SMTP helo=<dng.dns0755.net>
Apr  9 09:28:38 t4game postfix/cleanup: 14ED66AE583: message-id=<20090409012838.14ED66AE583@mail.t4game.net>
Apr  9 09:28:38 t4game postfix/qmgr: 14ED66AE583: from=<double-bounce@mail.t4game.net>, size=693, nrcpt=1 (queue active)
Apr  9 09:28:38 t4game postfix/smtpd: disconnect from unknown
Apr  9 09:28:38 t4game postfix/virtual: 14ED66AE583: to=<postmaster@t4game.net>, orig_to=<postmaster>, relay=virtual, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "postmaster@t4game.net")
Apr  9 09:28:38 t4game postfix/bounce: warning: 14ED66AE583: undeliverable postmaster notification discarded
Apr  9 09:28:38 t4game postfix/qmgr: 14ED66AE583: removed



不知道問題出哪裡了。請高手指點指點
《解決方案》

我對  
Apr  9 09:26:05 t4game postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Apr  9 09:26:05 t4game postfix/smtpd: warning: unknown smtpd restriction: "rejet_invalid_hostname"
這裡個很懷疑。但是不知道怎麼解決。勞煩高手指點指點
《解決方案》

Apr  9 09:26:05 t4game postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
這個問題我解決了我在main.cf中加了一條   alias_maps = hash:/etc/aliases就沒有錯誤了。
《解決方案》

rejet_invalid_hostname

仔細看一下,上面這句有什麼不對。
《解決方案》

意思是說我sina的伺服器找不到我的  伺服器是吧。。。。
我的MX記錄沒有錯啊!
《解決方案》

Apr  9 11:58:57 t4game postfix/smtpd: connect from rv-out-0708.google.com
Apr  9 11:58:58 t4game postfix/smtpd: warning: unknown smtpd restriction: "rejet_invalid_hostname"
Apr  9 11:58:58 t4game postfix/smtpd: NOQUEUE: reject: RCPT from rv-out-0708.google.com: 451 4.3.5 Server configuration error; from=<yueqiang@t4game.com> to=<test@t4game.net> proto=ESMTP helo=<rv-out-0708.google.com>
Apr  9 11:58:59 t4game postfix/cleanup: C817D6AE7CF: message-id=<20090409035859.C817D6AE7CF@mail.t4game.net>
Apr  9 11:58:59 t4game postfix/smtpd: disconnect from rv-out-0708.google.com
Apr  9 11:58:59 t4game postfix/qmgr: C817D6AE7CF: from=<double-bounce@mail.t4game.net>, size=908, nrcpt=1 (queue active)
Apr  9 11:58:59 t4game postfix/virtual: C817D6AE7CF: to=<postmaster@t4game.net>, orig_to=<postmaster>, relay=virtual, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "postmaster@t4game.net")
Apr  9 11:58:59 t4game postfix/bounce: warning: C817D6AE7CF: undeliverable postmaster notification discarded
Apr  9 11:58:59 t4game postfix/qmgr: C817D6AE7CF: removed
《解決方案》

reject_invalid_hostname
rejet_invalid_hostname
《解決方案》

NOQUEUE: reject: RCPT from rv-out-0708.google.com: 451 4.3.5 Server configuration error;

reject_
你寫成 rejet_ 了

樓上已經給你指出來了
《解決方案》

這個是別名問題。

[火星人 ] postfix發不出去信,但是能收到已經有1454次圍觀

http://coctec.com/docs/service/show-post-23351.html