For added security, you can encrypt your POP connection, This requires that your server supports SSL or TLS, and that you have access to an SSL/TLS client program, for example OpenSSL, to use instead of telnet.
The port number would usually be 995, so an example OpenSSL command would be openssl s_client -connect pop.example.com:995 -quiet. (If you would like to see the public key of the server, as well as some other encryption-related information, omit -quiet.) A normal POP session would then start, such as with the +OK InterMail POP3 server ready server greeting below.
The DELE command flags messages for deletion. Use it only if you want to delete mail.
The intial client: > symbolizes your shell prompt.
telnet: > telnet pop.example.com pop3 telnet: Trying 192.0.2.2... telnet: Connected to pop.example.com. telnet: Escape character is '^]'. server: +OK InterMail POP3 server ready. client: USER MyUsername server: +OK please send PASS command client: PASS MyPassword server: +OK MyUsername is welcome here client: LIST server: +OK 1 messages server: 1 1801 server: . client: RETR 1 server: +OK 1801 octets server: Return-Path: sender@example.com server: Received: from client.example.com ([192.0.2.1]) server: by mx1.example.com with ESMTP server: id <20040120203404.CCCC18555.mx1.example.com@client.example.com> server: for <recipient@example.com>; Tue, 20 Jan 2004 22:34:24 +0200 server: From: sender@example.com server: Subject: Test message server: To: recipient@example.com server: Message-Id: <20040120203404.CCCC18555.mx1.example.com@client.example.com> server: server: This is a test message. server: . client: DELE 1 server: +OK client: quit server: +OK MyUsername InterMail POP3 server signing off.
All content © 2000–2008 Thor Kottelin, unless otherwise indicated. Any trademarks or registered trademarks mentioned on this site belong to their respective owners. Content and techniques used on this site may be available for licensing; for details, please contact the webmaster.
Conventional hyperlinking to any content on this site is highly welcomed. However, the work you are viewing must not be shown, even partly, in a context inferring or claiming it to be part of, or sponsored by, any other organization or site. Such prohibited techniques include (but are not limited to) framesets, interstitial pages, kiosk mode pop-ups, and reverse proxies.