# sendmail -H "exec openssl s_client -quiet -tls1 -connect smtp.yandex.ru:465" <
email.txt -f
my_login@yandex.ru -aumy_login -apmy_pass -t
2mail@mail.ru -v
sendmail: send:'NOOP'
depth=2 C = US, O = GTE Corporation, OU = "GTE CyberTrust Solutions, Inc.", CN = GTE CyberTrust Global Root
verify error:num=19:self signed certificate in certificate chain
verify return:0
sendmail: recv:'220 smtp1.mail.yandex.net (Want to use Yandex.Mail for your domain? Visit
http://pdd.yandex.ru)' 1
sendmail: recv:'250 2.0.0 Ok' 1
sendmail: send:'EHLO none'
sendmail: recv:'250-smtp1.mail.yandex.net' 1
sendmail: recv:'250-8BITMIME' 1
sendmail: recv:'250-PIPELINING' 1
sendmail: recv:'250-SIZE 42991616' 1
sendmail: recv:'250-AUTH LOGIN PLAIN' 1
sendmail: recv:'250 ENHANCEDSTATUSCODES' 1
sendmail: send:'AUTH LOGIN'
sendmail: recv:'334 VXNlcm5hbWU6' 1
sendmail: send:''
sendmail: recv:'334 UGFzc3dvcmQ6' 1
sendmail: send:''
sendmail: recv:'235 2.7.0 Authentication successful.' 1
sendmail: send:'MAIL FROM:<my_login@yandex.ru>'
sendmail: recv:'250 2.1.0 <my_login@yandex.ru> ok' 1
sendmail: send:'RCPT TO:<2mail@mail.ru>'
sendmail: recv:'250 2.1.5 <2mail@mail.ru> recipient ok' 1
sendmail: send:'DATA'
sendmail: recv:'354 Enter mail, end with "." on a line by itself' 1
sendmail: send:'From:
my_login@yandex.ru'
sendmail: send:'Subject: mail'
sendmail: send:'To:
2mail@mail.ru'
sendmail: send:''
sendmail: send:'Hi Vasya :)'
sendmail: send:''
sendmail: send:'.'
sendmail: recv:'250 2.0.0 Ok: queued on smtp1.mail.yandex.net as oCUWvCmn-oDU8PHgu' 1
sendmail: send:'QUIT'
sendmail: recv:'221 2.0.0 Closing connection.' 1