0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

メール関係の接続確認

0
Posted at

●POP3

・セキュリティ無し
telnet 相手先 110
・StartTLS
openssl s_client -connect 相手先:110 -starttls pop3 -crlf
・SSL/TLS
openssl s_client -connect 相手先:995 -crlf

接続後は

USER ログイン名
PASS パスワード
STAT
QUIT

●IMAP

・セキュリティ無し
telnet 相手先 143
・StartTLS
openssl s_client -connect 相手先:143 -starttls imap -crlf
・SSL/TLS
openssl s_client -connect 相手先:993 -crlf

接続後は

a001 LOGIN "ログイン名" "パスワード"
a002 SELECT INBOX
a003 LOGOUT

●SMTP

・セキュリティ無し
telnet 相手先 587
・StartTLS
openssl s_client -connect 相手先:587 -starttls smtp -crlf -nocommands
・SSL/TLS
openssl s_client -connect 相手先:465 -crlf -nocommands

接続後は

EHLO 接続元ホスト名
AUTH LOGIN
ログイン名(base64)
パスワード(base64)
QUIT

base64 は、
echo -n "文字列" | openssl base64
で作成します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?