[問題] sendmail設定相關問題
如果我用 telnet localhost 25 連到我主機的mail server寄信
我在rcpt to後面輸入一個user沒有在我的本機被設定過
我要怎麼才能夠不讓它顯示user unkown
以下是我的實際操作
Trying ::1...
Connected to localhost.Dorm9.NCTU.edu.tw.
Escape character is '^]'.
220 localhost.Dorm9.NCTU.edu.tw ESMTP Sendmail 8.14.2/8.14.2; Sun, 1 Jun 2008
03:09:09 +0800 (CST)
ehlo fxsh70133
250-localhost.Dorm9.NCTU.edu.tw Hello localhost.Dorm9.NCTU.edu.tw [IPv6:::1],
pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH CRAM-MD5 DIGEST-MD5
250-STARTTLS
250-DELIVERBY
250 HELP
mail from:fxsh70133
250 2.1.0 fxsh70133... Sender ok
rcpt to:nadrop
550 5.1.1 nadrop... User unknown <---
rcpt to:nadrop@harry2.dorm9.nctu.edu.tw <---
250 2.1.5 nadrop@harry2.dorm9.nctu.edu.tw... Recipient ok
data
354 Enter mail, end with "." on a line by itself
aaa
.
250 2.0.0 m4VJ9949004329 Message accepted for delivery
quit
221 2.0.0 localhost.Dorm9.NCTU.edu.tw closing connection
Connection closed by foreign host.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.95.40
※ 編輯: fxsh70133 來自: 140.113.95.40 (05/31 23:56)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章