jueves, 8 de agosto de 2013

Prueba de smtp y pop via telnet...

SMTP

$ telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 nombre.dominio ESMTP Sendmail 8.13.1/8.13.1; Thu, 13 Dec 2007 11:51:38 -0600
HELO nombre.dominio
250 nombre.dominio Hello your.host [127.0.0.1], pleased to meet you
MAIL FROM:< fulano@nombre.dominio >
250 2.1.0 ... Sender ok
RCPT TO:< micta@your.host >
250 2.1.5 ... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
Cliente: Subject: Mensaje de prueba
From: fulano@nombre.dominio
To: micta@your.host

Prueba
.
250 2.0.0 k2IM2RjA0053987 Message accepted for delivery
QUIT
221 2.0.0 nombre.dominio closing connection
Connection closed by foreign host.


POP

$ telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK dovecot ready.
USER fulano
+OK
PASS password
+OK Logged in.
LIST
+OK 1 messages:
1 128
STAT
+OK 1 728
RETR 1
+OK 128 octets
Return-Path:
Received: from localhost.localdomain (localhost.localdomain [192.168.1.254])
by localhost.localdomain (8.13.1/8.13.1) with SMTP id k2IM2RjA003987
for ; Sat, 18 Mar 2006 16:03:21 -0600
Date: Sat, 18 Mar 2006 16:02:27 -0600
Message-Id: <200603182203 .k2im2rja003987="" localhost.localdomain="">
Subject: Mensaje de prueba
From: fulano@localhost.localdomain
To: root@localhost.localdomain
Status: O
Content-Length: 43
Lines: 2
X-UID: 202
X-Keywords:

Prueba. .
QUIT
+OK Logging out.
Connection closed by foreign host.