POP3 test

From Noah.org
Jump to: navigation, search

POP3 testing with telnet

This shows how to do basic sanity test of a POP3 server. See also IMAP_test and SMTP_test.

telnet pop.example.com 110
+OK hello from pop
user USER_ID
+OK password required.
pass USER_PASSWORD
+OK User successfully logged on.
stat
+OK 2614 108080024
retr 2614
+OK
Received: from corp1.example.net ([10.100.70.10]) by corp2.example.net with Microsoft SMTPSVC(6.0.3790.1830);
         Fri, 18 Jul 2008 18:01:23 -0500
Received: (qmail 20378 invoked by uid 0); 18 Jul 2008 23:06:08 -0000
Date: 18 Jul 2008 23:06:08 -0000
Message-ID: <20080718230608.20376.qmail@corp1.example.net>
From: root@example.net (Cron Daemon)
To: noah@example.com
Subject: Cron <root@corp1> run-parts /etc/cron.hourly

/etc/cron.hourly/tinydns_sync.sh:

skipping non-regular file "catchall/assets/assets"
.
dele 2614
+OK
quit
+OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 signing off.
Connection closed by foreign host.