Thursday, February 2, 2012

reading e-mail using telnet

Reading an e-mail in telnet is very efficient way if you're in a terminal. Using telnet, this is how we can read e-mail.

#> telnet mail.example.com 110
Trying 111.143.22.11...
Connected to mail.example.com.
Escape character is '^]'.
+OK Dovecot ready.
user user@example.com
+OK
pass myPass
+OK Logged in.
list
+OK 336 messages:
1 12235
2 6577
3 14192
4 12238
5 5575
6 16008
7 8474
.
retr 2
+OK 6577 octets
Return-path:
Envelope-to: useranother@ example.com
Delivery-date: Thu, 05 Jan 2012 16:17:35 -0700
Received: from ip20-166-235-224.ph.ph.cox.net ([20-166-235-224]:2273 helo=D99DBHK1)
by example.com with esmtp (Exim 4.69)
(envelope-from )
id 1RiwYw-0006bM-RB
for user@ example.com; Thu, 05 Jan 2012 16:17:35 -0700
From: "Mike Batista" < username@ example.com>
To: "'My Test anonymous name'" < username@ example.com>
Subject: test
Date: Thu, 5 Jan 2012 16:17:41 -0700....


No comments: