« サーバメンテナンス | メイン | ギターを・・・ »

telnetでメールを送る方法

telnetクライアントからメール送信する方法。

[root@gracia ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 gracia.halfvalve.net ESMTP unknown
helo halfvalve.net
250 gracia.halfvalve.net
mail from: hogehoge@halfvalve.net
250 Ok
rcpt to: m9623@hotmail.com
250 Ok
data
354 End data with .
Subject: This is test mail.
This mail is test messages from my server.
.
250 Ok: queued as CDC0D83401
quit
221 Bye
Connection closed by foreign host.
[root@gracia ~]#

トラックバック

このエントリーのトラックバックURL:
http://halfvalve.net/mvtp/mt-tb.cgi/7

コメントを投稿