於12/16早上發現不能收到外部信件,但內部正常寄發,後來查一下日誌訊息如下
其紅色字體就是問題原因,但我DNS正反解析都正常,使用nslookup的查詢,不管是從內外部查詢都正常,實在不知該如何排除,謝謝
mail 記錄檔:2011/12/16-09:33:41 295044 Connect from 209.85.210.175
2011/12/16-09:33:42 295044 command = EHLO mail-iy0-f175.google.com
2011/12/16-09:33:42 295044 max message size = 10485760
2011/12/16-09:33:42 295044 command = MAIL FROM:<test@gmail.com>
2011/12/16-09:33:42 295044 mail from = test@gmail.com
2011/12/16-09:33:42 295044 good mail from = test@gmail.com
2011/12/16-09:33:42 295044 command = RCPT TO:<test@test.com.tw>
2011/12/16-09:33:42 295044 rcpt to = test@test.com.tw
2011/12/16-09:33:42 295044 no mail relay for rcpt to = test@test.com.tw2011/12/16-09:33:42 295044 command = QUIT
2011/12/16-09:33:42 295044 End connection
退信訊息:Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 553 553 you don't authenticate or the domain is not allowed relay (state 14).
dns 設定:options {
directory "/var/named";
version "None of your business";
allow-query { any; };
allow-recursion { 127.0.0.1/32; 61.15.210.53/32; 212.61.215.1/32; };
forwarders { 168.95.192.1; 168.95.1.1; 8.8.8.8; };
allow-transfer { none; };
}
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "test.com.tw" {
type master;
file "test.com.tw";
allow-update { none; };
};
test.com.tw 設定:$TTL 38400
@ IN SOA test.com.tw. mis.test.com.tw.(
2006052501 ;serial
10800 ;refresh
3600 ;retry
604800 ;expire
38400) ;TTL
@ IN NS ns1.test.com.tw.
@ IN NS ns2.test.com.tw.
test.com.tw. IN MX 10 mail.test.com.tw.
test.com.tw. IN MX 20 mail2.test.com.tw.
ns1.test.com.tw. IN A 212.61.215.2
ns2.test.com.tw. IN A 61.15.210.50
test.com.tw. IN A 212.61.215.3
www.test.com.tw. IN A 212.61.215.8
mail.test.com.tw. IN A 212.61.215.3
mail2.test.com.tw. IN A 212.61.215.3
service.test.com.tw. IN A 61.15.210.53
project.test.com.tw. IN A 61.15.210.53
mail6.test.com.tw. IN A 212.61.215.6
mail7.test.com.tw. IN A 212.61.215.7
mail8.test.com.tw. IN A 212.61.215.8
mail28.test.com.tw. IN A 212.61.215.28
mail29.test.com.tw. IN A 212.61.215.29
@ IN TXT "v=spf1 a mx ptr ip4:212.61.215.3 mx:mail.test.com.tw mx:mail2.test.com.tw ~all"
請問各位:1、以上 dns 設定是否正確?
2、以上會造成authenticate or the domain is not allowed relay 等問題
謝"