lunes, 5 de julio de 2010

Comandos Telnet para revision de Mail

Como ayuda memoria dejare estos comandos.. como hace años deje de hacer configuracion de mail servers y por desgracia hoy me toco arreglar un cacho de estos, se me ocurrio dejar los comandos como ayuda memoria:

SMTP:

$telnet smtp.dominio.cl 25
MAIL FROM:@dominio.cl>
250 ok
RCPT TO:<
cuenta_destino@dominio.com>
250 ok
DATA
354 go ahead
From: "Yo mismo" <
cuenta@dominio.cl>
To:
cuenta_destino@dominio.com
Subject: Ejemplo correo con TELNET

POP:

$telnet pop.dominio.cl 110
USER cuenta@dominio.cl
+OK Password required.
PASS 1234
+OK logged in.
STAT #muestra cantidad de correos y tamaño en bytes
+OK 3 2774
LIST
+OK POP3 clients that break here, they violate STD53.
1 2241
2 1342
3 1129
RETR 1
+OK 2241 octets follow.
Return-path:
Envelope-to: aenema@dominio.cl
Delivery-date: Mon, 05 Jul 2010 16:52:12 -0400
Received: from mx04.netglobalis.net ([200.14.80.224] helo=mx4.netglobalis.net)
by cp07.virtuabyte.com with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from )
id 1OVseC-0007WH-18
for aenema@usr.cl; Mon, 05 Jul 2010 16:52:12 -0400
Received: from mail-bw0-f53.google.com ([209.85.214.53]:60548)
by mx4.netglobalis.net with esmtp (Exim 4.67 #1 (MXNG/UNIX))
id 1OVse7-0001tT-K9
for ; Mon, 05 Jul 2010 16:52:07 -0400
Received: by bwz6 with SMTP id 6so4009366bwz.26
for ; Mon, 05 Jul 2010 13:52:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:received:date:message-id
:subject:from:to:content-type;
bh=67+S4o/85zq93FLIYUb5mOe36N1Qse5ltqlFTFU/bak=;
b=Z0oPWcGpHO74/MgarKwW+Cwc3Xp1zYI9Ck1CmAOQt/rvqem32LqOcunWd2q5/PWgNY
qgZwm+6Sr1SK2xIEDG6GfdAWJPN5yEgnAJLc84LXRHRXINaCSWXkBIFOGrn2u0mlsI0H
sPZrBHfGEzZMTDoaD80UTt5oREAAvXhAqYzkk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
b=sGNX3SjTYQ2YrpzVphS4WKmwbVdCQvXFmdtaG4Ha4gTmbzcfpN6VmrAqj0ja6vnGvR
du0C7lk1v9CGPpJMJXhiBKueEhYr1B5/BW3q6qEQbKWWeTuA9MwKAIpDXqETi+F/2Ra7
xuwj4wDOfSRj63K3ZeSHm+CId0IRtNALH84dI=
MIME-Version: 1.0
Received: by 10.204.70.203 with SMTP id e11mr2829735bkj.20.1278363166016; Mon,
05 Jul 2010 13:52:46 -0700 (PDT)
Received: by 10.204.66.82 with HTTP; Mon, 5 Jul 2010 13:52:45 -0700 (PDT)
Date: Mon, 5 Jul 2010 16:52:45 -0400
Message-ID:
Subject: test
From: =?ISO-8859-1?Q?Andr=E9s_Sep=FAlveda_Mur=FAa?=
To: aenema@usr.cl
Content-Type: multipart/alternative; boundary=001636c5be336783e3048aaa1ed3

--001636c5be336783e3048aaa1ed3
Content-Type: text/plain; charset=ISO-8859-1

test

--001636c5be336783e3048aaa1ed3
Content-Type: text/html; charset=ISO-8859-1

test

--001636c5be336783e3048aaa1ed3--
.