{"id":545,"date":"2013-11-22T11:23:14","date_gmt":"2013-11-22T10:23:14","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=545"},"modified":"2013-11-22T11:23:14","modified_gmt":"2013-11-22T10:23:14","slug":"test-smtp-auth-using-telnet","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=545","title":{"rendered":"Test SMTP AUTH using Telnet"},"content":{"rendered":"<p>\n\tHere is how to&nbsp;test SMTP authentication with telnet using terminal and openssl in Darwin or Linux:\n<\/p>\n<ol>\n<li>\n\t\tGet your user and password in base64 encoded strings (you need them in base64 because the server wants them to be like that)<br \/>\n\t\t# echo &#39;myuser&#39; | openssl base64<br \/>\n\t\t# echo &#39;mypassword&#39; | openssl base64\n\t<\/li>\n<li>\n\t\tOpen a telnet conneciton susing port 25:<br \/>\n\t\t# telnet myserver.domain.com 25\n\t<\/li>\n<li>\n\t\tGreet the server<br \/>\n\t\t# EHLO myserver.domain.com\n\t<\/li>\n<li>\n\t\tTell the server you want to authenticate<br \/>\n\t\t# AUTH LOGIN\n\t<\/li>\n<li>\n\t\tThe server now asks you in a base64 encoded string to enter user. Enter the encoded string you received for &#39;myuser&#39; in point 1\n\t<\/li>\n<li>\n\t\tThe server now asks you for the password, again in a base64 encoded string. Enter the encoded password received from point 1\n\t<\/li>\n<li>\n\t\tYou should see a message now with authentication succeeded or authentication failed\n\t<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Here is how to&nbsp;test SMTP authentication with telnet using terminal and openssl in Darwin or Linux: Get your user and password in base64 encoded strings (you need them in base64 because the server wants them to be like that) # echo &#39;myuser&#39; | openssl base64 # echo &#39;mypassword&#39; | openssl base64 Open a telnet conneciton [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10,7],"tags":[],"class_list":["post-545","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-mac-osx","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=545"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/545\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}