Translate/Traductor

jueves, 27 de febrero de 2014

openssl‏

DESDE EL CMD


telnet smtp.gmail.com 587 
 
EHLO smtp.gmail.com 
AUTH LOGIN 
c2Vyz21yMTIxM0BnbWFpbC3jb20= 
dGVtcG6yYWvyYQ== 
MAIL FROM:<sersmr1213@gmail.com> 
RCPT TO:<sersmr1213@gmail.com> 
DATA 
 
Subject: Campo de asunto 
From: yo@midominio.com 
To: destinatario@sudominio.com 
 
Hola, 
Esto es una prueba. 
Hasta luego. 
 
. 
quit
 openssl s_client -crlf -connect smtp.gmail.com:465 

 openssl s_client -crlf -connect smtp.gmail.com:25 

leer un mensaje de correo con openssl y pop3 de gmail‏

openssl s_client -connect pop.gmail.com:995

+OK Gpop ready for requests from 188.76.24.112 p6pf35720326wiy.15
user mi_USUARIO_sin_codificar
+OK send PASS
pass mi_CLAVE_usuario_sin_codificar
+OK Welcome.
list
+OK 31 messages (722285 bytes)
1 3368
2 2785
3 3055
4 12792
5 2999
...
29 2651
30 2323
31 2236
stat
+OK 31 722285
retr 1
+OK message follows
MIME-Version: 1.0
Received: by 10.58.102.132; Wed, 13 Jan 2014 01:52:47 -0700 (PDT)
Date: Wed, 19 Sep 2012 01:52:47 -0700
Message-ID: <CAEXcCmPr0woS+sEemM2WnhzvxC2-LA881BNyHi_6hKEiK2FyWA@mail.gmail.com>
Subject: =?ISO-8859-1?Q?Importa_tus_contactos_y_el_correo_electr=F3nico_anter?=
    =?ISO-8859-1?Q?ior=2E?=
From: El equipo de Gmail <mail-noreply@google.com>
To:
...
quit
+OK Farewell.
read:errno=0

enviar mensaje de correo con openssl de gmail‏

openssl s_client -crlf -connect smtp.gmail.com:465 


220 mx.google.com ESMTP hu8sm5892850wib.6
EHLO smtp.gmail.com 
250-mx.google.com at your service, [87.217.209.141]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
250 ENHANCEDSTATUSCODES
AUTH LOGIN 
334 VXNlcm7hbWU6
w7VyctmkMTIxMoBnb76pbC5jb2fK
334 UGFzc5dvcmQ6
xpluYXNzdf8yZA3=

235 2.7.0 Accepted

MAIL FROM:<sersmr1314@gmail.com>
250 2.1.0 OK hu8sm5892850wib.6

rcpt to: <sersmr1314@gmail.com>
250 2.1.5 OK hu8sm5892850wib.6
DATA
354  Go ahead hu8sm5892850wib.6
Subject: prueba
Esto es el cuerpo del mensaje. Mandado con SMTP y OpenSSL desde gmail

Un saludo

.

250 2.0.0 OK 1356057874 hu8sm5892850wib.6

quit
221 2.0.0 closing connection hu8sm5892850wib.6
read:errno=0