IMAPS 手工会话
IMAPS 手工会话
openssl s_client -connect imap.example.com:993 -quiet
a1 LOGIN user@example.com 应用密码
a2 LIST "" *
a3 SELECT INBOX
a4 FETCH 1 (FLAGS BODY.PEEK[HEADER.FIELDS (SUBJECT)])
a5 LOGOUTPOP3S 与 SMTP 提交
POP3S 与 SMTP 提交
openssl s_client -connect pop3.example.com:995 -quiet
USER alice
PASS 应用密码
STAT
QUIT
openssl s_client -starttls smtp -connect smtp.example.com:587 -crlf -quiet手工会话会留下凭据历史:用应用专用密码,测试后清理 shell history(history -c / 删记录文件)。