Ubuntu/Commands/Mail Server CLI/openssl
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "Commands | dig | Mail Server CLI | openssl ==Examp...") |
|||
Line 7: | Line 7: | ||
~$ openssl s_client -crlf -connect pop.gmail.com:25 | ~$ openssl s_client -crlf -connect pop.gmail.com:25 | ||
</nowiki> | </nowiki> | ||
− | |||
Connect to smtp mail server | Connect to smtp mail server | ||
+ | <nowiki> | ||
~$ openssl s_client -crlf -starttls smtp -connect hostname:post | ~$ openssl s_client -crlf -starttls smtp -connect hostname:post | ||
~$ openssl s_client -crlf -starttls smtp -conect smtp.gmail.com:25 | ~$ openssl s_client -crlf -starttls smtp -conect smtp.gmail.com:25 |
Revision as of 20:15, 12 April 2015
Commands | dig | Mail Server CLI | openssl
Example
Connect to mail server - pop or imap
~$ openssl s_client -crlf -connect hostname:port ~$ openssl s_client -crlf -connect pop.gmail.com:25
Connect to smtp mail server
~$ openssl s_client -crlf -starttls smtp -connect hostname:post ~$ openssl s_client -crlf -starttls smtp -conect smtp.gmail.com:25