Skip to content

Instantly share code, notes, and snippets.

@dayvonjersen
Created July 3, 2018 06:28
Show Gist options
  • Save dayvonjersen/c35aae246e55c942ec693758d6f3301f to your computer and use it in GitHub Desktop.
Save dayvonjersen/c35aae246e55c942ec693758d6f3301f to your computer and use it in GitHub Desktop.
POP3:
telnet example.com 110
USER user
PASS pass
STAT
LIST
RETR 1
DELE 1
QUIT
SMTP:
telnet example.com 25
openssl s_client -starttls smtp -crlf -connect example.com:587
HELO example.com (actually you can type anything and postfix doesn't seem to care)
MAIL FROM: user@example.com
RCPT TO: user@example.com (use LOWERCASE "rcpt to:" when using openssl because reasons)
DATA
Subject: test
testing
.
QUIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment