2013-07-19 20 views
1

我安裝的sendmail服務器在本地Sendmail的錯誤信息:553 5.1.8 ......發件人地址的域名......不存在

當我試圖仙dmail從其他電子郵件服務器我正在inhmail.walkingtree.in以下錯誤,

This message was created automatically by mail delivery software. 

A message that you sent could not be delivered to one or more of its 
recipients. This is a permanent error. The following address(es) failed: 

    [email protected] 
    SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=2548: 
    host inhmail.walkingtree.in [122.175.35.121]: 
    553 5.1.8 <[email protected]>... Domain of sender address [email protected] does not exist 

------ This is a copy of the message, including all the headers. ------ 

我在192.168.1.145中安裝了sendmail服務器。 .145的域名是inhmail.walkingtree.in

我在系統和路由器的防火牆中打開了端口25。

郵件收發在192.168.1.0/24與@inhmail.walkingtree.in工作正常。

請幫助那些how sendmail can receive mails from external email servers.

UPADTED

> [[email protected] ~]$ echo "check_mail [email protected]" | sendmail -d8.20 -bt 
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) 
Enter <ruleset> <address> 
> check_mail   input: jd @ walkingtree . in 
Basic_check_mail input: jd @ walkingtree . in 
tls_client   input: $| MAIL 
D     input: < > <?> < ! "TLS_Clt" > < > 
D    returns: <?> < > <?> < ! "TLS_Clt" > < > 
A     input: < > <?> < ! "TLS_Clt" > < > 
A    returns: < > <?> < ! "TLS_Clt" > < > 
TLS_connection  input: $| < > <?> < ! "TLS_Clt" > < > 
TLS_connection returns: OK 
tls_client  returns: OK 
CanonAddr   input: < jd @ walkingtree . in > 
canonify   input: < jd @ walkingtree . in > 
Canonify2   input: jd < @ walkingtree . in > 
dns_getcanonname(walkingtree.in, trymx=1) 
dns_getcanonname: trying walkingtree.in. (AAAA) 
    NO: errno=0, h_errno=4 
dns_getcanonname: trying walkingtree.in. (A) 
    NO: errno=0, h_errno=4 
dns_getcanonname: trying walkingtree.in. (MX) 
    NO: errno=0, h_errno=4 
dns_getcanonname: trying walkingtree.in.localdomain (AAAA) 
    NO: errno=0, h_errno=1 
Canonify2  returns: jd < @ walkingtree . in > 
canonify   returns: jd < @ walkingtree . in > 
Parse0    input: jd < @ walkingtree . in > 
Parse0   returns: jd < @ walkingtree . in > 
CanonAddr  returns: jd < @ walkingtree . in > 
SearchList   input: < + From > $| < F : jd @ walkingtree . in > < U : jd @ > < D : walkingtree . in > < > 
F     input: < jd @ walkingtree . in > <?> < + From > < > 
F    returns: <?> < > 
SearchList   input: < + From > $| < U : jd @ > < D : walkingtree . in > < > 
U     input: < jd @ > <?> < + From > < > 
U    returns: <?> < > 
SearchList   input: < + From > $| < D : walkingtree . in > < > 
D     input: < walkingtree . in > <?> < + From > < > 
D     input: <in> <?> < + From > < > 
D    returns: <?> < > 
D    returns: <?> < > 
SearchList  returns: <?> 
SearchList  returns: <?> 
SearchList  returns: <?> 
Basic_check_mail returns: $# error [email protected] 5 . 1 . 8 $: "553 Domain of sender address " " does not exist" 
check_mail  returns: $# error [email protected] 5 . 1 . 8 $: "553 Domain of sender address " " does not exist" 
> [[email protected] ~]$ 

工作:

是的感謝,現在它工作。

問題是我無法ping通walkingtree.in,由於settings.I在網絡連接刪除DBS服務器現在我能夠從Gmail獲得電子郵件和walkingtree.in

本地DNS服務器時,我使用DNS服務器,我能ping通www.walkingtree.in但不walktree.in。你可以請我幫我ping通walkingtree.in

回答

4

你sendmail認爲信封發件人的域名walkingtree.in不存在(沒有MX,A, AAAADNS記錄)。它拒絕使用這種信封發件人接受郵件,因爲無法發送(最終)退回郵件(有關電子郵件傳遞問題的報告)。

您可以使用nslookup(或)來檢查服務器發現的DNS記錄:

nslookup -type=mx walkingtree.in
dig walkingtree.in MX


如果您使用sendmail(沒有後綴),然後爲根執行下面的命令找到問題:

echo "check_mail [email protected]" | sendmail -d8.20 -bt 

在 「Undefined ruleset check_mail」 錯誤嘗試的情況下:

echo "checkmail [email protected]" | sendmail -d8.20 -bt 

-d8.20打開DNS的查詢跟蹤
checkmail - 與功能使用的check_mail的當量(delay_checks)

+0

你可以請以上更新,我把你的命令的輸出 – sri

+0

inhmail.walkingtree.in不能接收來自Gmail的郵件 – sri

+0

對不起,現在我能夠從@ gmail.com得到郵件,但不能收到walkingtree.in – sri

相關問題