無法 sendmail

無法 sendmail

In Solaris 8, 我設定了 sendmail.cf , 將

DSxxxxx 改成 DSmailserver (mailserver ip 已加入 /etc/hosts), 確定 sendmail process 已啟動,

利用 telnet mailserver 25, 可測通, 並可發出 HELO SUCCESSFULLY



但我試著發送 MAIL 卻得到以下 ERROR MESSAGE



--------



The original message was received at Wed, 26 Oct 2005 11:28:14 +0800 (CST)

from root@localhost



----- The following addresses had permanent fatal errors -----

eric@xxx.com

(reason: 501 5.5.4 Invalid Address)



----- Transcript of session follows -----

... while talking to mailsever:

>>> HELO server1.

<<< 501 5.5.4 Invalid Address

554 5.0.0 Service unavailable



--j9Q3SE703331.1130297294/server1.

Content-Type: message/delivery-status



Reporting-MTA: dns; server1.

Arrival-Date: Wed, 26 Oct 2005 11:28:14 +0800 (CST)



Final-Recipient: RFC822; eric@xxx.com
3 回覆

無法 sendmail

無法 sendmail

用 telnet 去測試並不會有錯誤訊息



# telnet xxx.com 25

Trying 10.xx.xx.10...

Connected to mailserver.

Escape character is '^]'.

220 xxx.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713

ready at Wed, 26 Oct 2005 11:54:13 +0800

helo

250 xxx.com Hello

ehlo

250-xxx.com Hello

250-TURN

250-ATRN

250-SIZE 10485760

250-ETRN

250-PIPELINING

250-DSN

250-ENHANCEDSTATUSCODES

250-8bitmime

250-BINARYMIME

250-CHUNKING

250-VRFY

250-X-EXPS GSSAPI NTLM LOGIN

250-X-EXPS=LOGIN

250-AUTH GSSAPI NTLM LOGIN

250-X-LINK2STATE

250-XEXCH50

250 OK



但 mailx -s "test" eric@xxx.com < /etc/hosts 卻無法成功 (錯誤訊息如前篇所述)



請問我的 sendmail.cf 設定是否有問題?

(我只修改一行 DSmailserver)

在 /etc/hosts 我加入一行



10.xx.xx.100 mailserver xxx.com



無法 sendmail

試著用

mailx -v -s "test" eric@xxx.com < /etc/hosts

這樣可以看到更多的訊息