{"id":4092,"date":"2024-04-07T14:23:16","date_gmt":"2024-04-07T14:23:16","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4092"},"modified":"2024-04-07T14:23:16","modified_gmt":"2024-04-07T14:23:16","slug":"test-smtps-from-command-line","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4092","title":{"rendered":"Test SMTPS from Command Line"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Just like the testing of SMTP using Telnet, you can also perform the same steps if the target server is using       TLS, however because telnet won&#8217;t do the job here, you can use OpenSSL instead. Here&#8217;s a simple example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl s_client -starttls smtp -crlf -connect mail.domain.com:25\n\r\nehlo senderdomain.com\r\nmail from:info@senderdomain.com\r\nrcpt to:info@domain.com\r\ndata\r\nTo:info@domain.com\r\nFrom:info@senderdomain.com\r\nSubject:A Test Message for You!\r\nHello,\r\nHow are you?\r\nThanks\r\nTristan\r\n.<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Just like the testing of SMTP using Telnet, you can also perform the same steps if the target server is using TLS, however because telnet won&#8217;t do the job here, you can use OpenSSL instead. Here&#8217;s a simple example:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-4092","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4092"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4092\/revisions"}],"predecessor-version":[{"id":4093,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4092\/revisions\/4093"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}