Created
November 11, 2016 15:20
-
-
Save algorev/f65c23132b2a227981485d02cf334b62 to your computer and use it in GitHub Desktop.
My tls negotiations with the smtp server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nc smtp.gmail.com 25 && printf "\n" | |
S: 220 smtp.gmail.com ESMTP c133sm12701941wme.12 - gsmtp | |
Me: helo someone | |
S: 250 smtp.gmail.com at your service | |
Me: mail from me | |
S: 530 5.7.0 Must issue a STARTTLS command first. c133sm12701941wme.12 - gsmtp | |
Me: starttls | |
S: 220 2.0.0 Ready to start TLS | |
Me: not me | |
S: F | |
#so what? i only could use nc! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment