$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.11.6/8.11.6; Sat, 5 Apr 2003 12:30:00
+0900
helo localhost
250 localhost.localdomain Hello mobio [127.0.0.1], pleased to meet you
mail from:hnakamur@localhost
250 2.1.0 hnakamur@localhost... Sender ok
rcpt to:hnakamur@localhost
250 2.1.5 hnakamur@localhost... Recipient ok
data
354 Enter mail, end with "." on a line by itself
test mail
.
250 2.0.0 h353VFe00848 Message accepted for delivery
quit
221 2.0.0 localhost.localdomain closing connection
Connection closed by foreign host.
You have new mail in /var/spool/mail/hnakamur
$ mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/hnakamur": 1 message 1 new
>N 1 hnakamur@localhost.l Sat Apr 5 12:31 11/444
& 1
Message 1:
From hnakamur@localhost.localdomain Sat Apr 5 12:31:59 2003
Date: Sat, 5 Apr 2003 12:31:45 +0900
From: Hiroshi Nakamura
test mail
& quit
Saved 1 message in mbox
|