Linux Memo/SMTP_POP3
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
*SMTP/POP3 [#s0572baf]
smtp、pop3についてのコマンドレスポンスについて
**SMTP [#s8a9e714]
SMTPでのメールの送り方について
$ telnet localhost 25 <---入力
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 vmvine32.abc.ac.jp ESMTP Postfix
HELO localhost <---入力
250 vmvine32.abc.ac.jp
MAIL FROM: <okada@localhost> <---入力
250 Ok
RCPT TO: <okada@localhost> <---入力
250 Ok
DATA <---入力
354 End data with <CR><LF>.<CR><LF>
From: <okada@localhost> <---入力
To: <okada@localhost> <---入力
Subject: TEST1 <---入力
<---入力
TEST MSG. <---入力
. <---入力
250 Ok: queued as 6767B5BCC2
QUIT <---入力
221 Bye
Connection closed by foreign host.
実際にメールの送り先はRCPT TO:に指定されたところで、To:は...
RCPT TO:とMAIL FROM:はエンベロープでSMTP上の動作でユーザ...
ところでMAIL FROM: を<>にして空欄にしたときは以下のような...
May 8 09:22:14 atom postfix/smtpd[11064]: connect from ...
May 8 09:22:58 atom postfix/smtpd[11064]: F26638D22D4: ...
May 8 09:23:30 atom postfix/cleanup[11081]: F26638D22D4...
id=<20100508002258.F26638D22D4@wwwism.dyndns.org>
May 8 09:23:30 atom postfix/qmgr[3092]: F26638D22D4: fr...
May 8 09:23:30 atom postfix/local[11103]: F26638D22D4:
to=<okada@wwwism.dyndns.org>, orig_to=<okada@localhost>,...
delay=38, delays=38/0.01/0/0.01, dsn=2.0.0, status=sent ...
command: /usr/bin/procmail)
May 8 09:23:30 atom postfix/smtpd[11106]: connect from ...
May 8 09:23:30 atom postfix/smtpd[11106]: 0FA048D22E5: ...
May 8 09:23:30 atom postfix/cleanup[11081]: 0FA048D22E5...
id=<20100508002330.0FA048D22E5@wwwism.dyndns.org>
May 8 09:23:30 atom postfix/qmgr[3092]: 0FA048D22E5:
from=<okada@wwwism.dyndns.org>, size=590, nrcpt=1 (queue...
May 8 09:23:30 atom postfix/smtpd[11106]: disconnect fr...
**pop3 [#z04043ba]
pop3でのメールの受信について
$ telnet localhost 110 <---入力
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at vmvine32.abc.ac.jp starti...
USER okada <---入力
+OK Password required for okada.
PASS ****** <---入力
+OK okada has 1 visible message (0 hidden) in 509 octets.
LIST <---入力
+OK 1 visible messages (509 octets)
1 509
.
RETR 1 <---入力
+OK 509 octets
Return-Path: <okada@vmvine32.abc.ac.jp>
X-Original-To: okada
Delivered-To: okada@vmvine32.abc.ac.jp
Received: by vmvine32.abc.ac.jp (Postfix, from userid 500)
id 34A685BCC2; Thu, 5 Oct 2006 10:46:45 +0900 (...
To: okada@vmvine32.abc.ac.jp
Subject: TEST2
Message-Id: <20061005014645.34A685BCC2@vmvine32.abc.ac.jp>
Date: Thu, 5 Oct 2006 10:46:45 +0900 (JST)
From: okada@vmvine32.abc.ac.jp (Okada)
X-UIDL: Cc5!!DhV"!fUI"!5>*"!
TEST MSG2.
.
QUIT <---入力
+OK Pop server at vmvine32.abc.ac.jp signing off.
Connection closed by foreign host.
メッセージの削除(認証後)
LIST <---入力
+OK 2 visible messages (1029 octets)
1 521
2 508
(略)
DELE 1 <---入力(削除)
+OK Message 1 has been deleted.
LIST <---入力
+OK 1 visible messages (508 octets)
2 508
***APOPでの認証 [#w4a62a3a]
$ telnet localhost 110 <---入力
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at vmvine32.abc.ac.jp starti...
APOP okada 1c576f**************30639dace3af <---入力(MD5...
+OK okada has 1 visible message (0 hidden) in 520 octets.
LIST <---入力
+OK 1 visible messages (520 octets)
1 520
.
QUIT <---入力
+OK Pop server at vmvine32.abc.ac.jp signing off.
Connection closed by foreign host.
APOPでのMD5のハッシュ値を作成するにはチャレンジワードとパ...
上記の場合はパスワードが*****の場合は
$ echo -n '<14230.1160013800@vmvine32.abc.ac.jp>*****' |...
1c576f**************30639dace3af -
**参考 [#x8c236a8]
Software Design 2006/9
終了行:
*SMTP/POP3 [#s0572baf]
smtp、pop3についてのコマンドレスポンスについて
**SMTP [#s8a9e714]
SMTPでのメールの送り方について
$ telnet localhost 25 <---入力
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 vmvine32.abc.ac.jp ESMTP Postfix
HELO localhost <---入力
250 vmvine32.abc.ac.jp
MAIL FROM: <okada@localhost> <---入力
250 Ok
RCPT TO: <okada@localhost> <---入力
250 Ok
DATA <---入力
354 End data with <CR><LF>.<CR><LF>
From: <okada@localhost> <---入力
To: <okada@localhost> <---入力
Subject: TEST1 <---入力
<---入力
TEST MSG. <---入力
. <---入力
250 Ok: queued as 6767B5BCC2
QUIT <---入力
221 Bye
Connection closed by foreign host.
実際にメールの送り先はRCPT TO:に指定されたところで、To:は...
RCPT TO:とMAIL FROM:はエンベロープでSMTP上の動作でユーザ...
ところでMAIL FROM: を<>にして空欄にしたときは以下のような...
May 8 09:22:14 atom postfix/smtpd[11064]: connect from ...
May 8 09:22:58 atom postfix/smtpd[11064]: F26638D22D4: ...
May 8 09:23:30 atom postfix/cleanup[11081]: F26638D22D4...
id=<20100508002258.F26638D22D4@wwwism.dyndns.org>
May 8 09:23:30 atom postfix/qmgr[3092]: F26638D22D4: fr...
May 8 09:23:30 atom postfix/local[11103]: F26638D22D4:
to=<okada@wwwism.dyndns.org>, orig_to=<okada@localhost>,...
delay=38, delays=38/0.01/0/0.01, dsn=2.0.0, status=sent ...
command: /usr/bin/procmail)
May 8 09:23:30 atom postfix/smtpd[11106]: connect from ...
May 8 09:23:30 atom postfix/smtpd[11106]: 0FA048D22E5: ...
May 8 09:23:30 atom postfix/cleanup[11081]: 0FA048D22E5...
id=<20100508002330.0FA048D22E5@wwwism.dyndns.org>
May 8 09:23:30 atom postfix/qmgr[3092]: 0FA048D22E5:
from=<okada@wwwism.dyndns.org>, size=590, nrcpt=1 (queue...
May 8 09:23:30 atom postfix/smtpd[11106]: disconnect fr...
**pop3 [#z04043ba]
pop3でのメールの受信について
$ telnet localhost 110 <---入力
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at vmvine32.abc.ac.jp starti...
USER okada <---入力
+OK Password required for okada.
PASS ****** <---入力
+OK okada has 1 visible message (0 hidden) in 509 octets.
LIST <---入力
+OK 1 visible messages (509 octets)
1 509
.
RETR 1 <---入力
+OK 509 octets
Return-Path: <okada@vmvine32.abc.ac.jp>
X-Original-To: okada
Delivered-To: okada@vmvine32.abc.ac.jp
Received: by vmvine32.abc.ac.jp (Postfix, from userid 500)
id 34A685BCC2; Thu, 5 Oct 2006 10:46:45 +0900 (...
To: okada@vmvine32.abc.ac.jp
Subject: TEST2
Message-Id: <20061005014645.34A685BCC2@vmvine32.abc.ac.jp>
Date: Thu, 5 Oct 2006 10:46:45 +0900 (JST)
From: okada@vmvine32.abc.ac.jp (Okada)
X-UIDL: Cc5!!DhV"!fUI"!5>*"!
TEST MSG2.
.
QUIT <---入力
+OK Pop server at vmvine32.abc.ac.jp signing off.
Connection closed by foreign host.
メッセージの削除(認証後)
LIST <---入力
+OK 2 visible messages (1029 octets)
1 521
2 508
(略)
DELE 1 <---入力(削除)
+OK Message 1 has been deleted.
LIST <---入力
+OK 1 visible messages (508 octets)
2 508
***APOPでの認証 [#w4a62a3a]
$ telnet localhost 110 <---入力
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at vmvine32.abc.ac.jp starti...
APOP okada 1c576f**************30639dace3af <---入力(MD5...
+OK okada has 1 visible message (0 hidden) in 520 octets.
LIST <---入力
+OK 1 visible messages (520 octets)
1 520
.
QUIT <---入力
+OK Pop server at vmvine32.abc.ac.jp signing off.
Connection closed by foreign host.
APOPでのMD5のハッシュ値を作成するにはチャレンジワードとパ...
上記の場合はパスワードが*****の場合は
$ echo -n '<14230.1160013800@vmvine32.abc.ac.jp>*****' |...
1c576f**************30639dace3af -
**参考 [#x8c236a8]
Software Design 2006/9
ページ名: