A:active { TEXT-DECORATION: none } A:hover { COLOR: #ffffff; TEXT-DECORATION: underline } A:link { TEXT-DECORATION: none } A:visited { TEXT-DECORATION: none } .small { COLOR: #ffffff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; FONT-WEIGHT: bold } .small_uppercase { COLOR: #999999; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt } TD { FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt } .7_ver_b_white { COLOR: #ffffff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 7pt; FONT-WEIGHT: bold } BODY { FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt } .white { COLOR: #ffffff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 7pt; FONT-WEIGHT: bold }
Date: 2/1/2000
Direct questions to: the message board at blacksun.box.sk
POP stands for Post Office Protocol. It is the protocol (a common language that is used by computers to exchange information between different hardware components, different computers over a network etc'. A computer protocol is pretty much the same as a regular human language) used to check any non-web-based Email account.
A web-based Email account is an Email box that can only be used through a certain website. During your stay in this website, you are exposed to ads which the company who provides you with this mailbox profits from. Web-based Email services are always free because instead of paying, you pay the company who handles your mailbox by watching these ads (unless this mailbox features some extremely special services or features that cost more money).
Hence, a non-web-based Email account is an account that is accessed using an Email client or a regular telnet client, if you know the necessary protocols (after you finish reading this tutorial and the Sendmail tutorial, you would know how Email works and how to compose and receive Email without the need of any program besides a telnet client).
Non-web-based Email accounts use two protocols - SMTP (Simple Mail Transfer Protocol) to send Email and POP (Post Office Protocol) to receive Email. You can study the SMTP protocol in the Sendmail tutorial, and as for POP - you'll get to learn it right now. In case you're wondering, POP3 is just a newer version of POP.
Oh, there are a lot of reasons why you would want to do that. I'll give you a couple of examples out of my head:
The first thing you will need is a regular telnet application. No need for anything fancy. Unix has a native telnet client (simply type telnet hostname/IP to telnet to that hostname or IP into port 23 or telnet hostname/IP port to choose a port other than 23). Windows 95 and above also come with a telnet application (it's in c:\windows\telnet.exe, but you can also press start, run and type telnet to run it, telnet hostname/IP to telnet to that hostname or IP and into port 23 or specify a port other than 23 with telnet hostname/IP port).
Next, you need to find your POP3 mail server. Usually it would be something like mail.your-isp.net. For example: my ISP is netvision.net.il, so my POP3 server is located at mail.netvision.net.il. If you already have an Email client that is configured correctly for your POP3 box, go to your preferences dialog boxes and you should be able to find your incoming mail server address there.
Okay, looks like we're pretty much ready for this. Next thing, we telnet to our POP3 server and into port 110 (the default port for POP3). This is what I get when I telnet into my POP3 page:
+OK POP3 [194.90.1.6] v7.60 server ready
Okay, looks good so far. Now we need to identify ourselves. We need to supply our username and password. Your username would usually be in your Email address. For example: my Email address is barakirs@netvision.net.il, therefore my username is barakirs. So we type:
user barakirs (or whatever username you have)
And the server replies with:
+OK User name accepted, password please
Next thing, we need a password, right? So we do:
pass your-password
And the server replies with:
+OK Mailbox open, x messages (when x is the number of messages you have in your inbox)
Or with:
-ERR Bad login
If we supply the wrong password. Now, we want to see what we have, so we first type list to see the list of Emails we currently have (unless, of course, we have 0 new messages). For each Email, we would get a separate line which will contain a message number (a number that identifies each message) and a number that would indicate the size of each message.
Next thing, we want to read our messages. To do this, we type retr #. Retr stands for retrieve. # should be replaces by the message's number. We would then get a full message header (see Sendmail tutorial) and the body of the message.
After we read the message, we would probably want to delete it. In order to do that, we type dele #. Dele stands for delete. # should be replaced by the message's number.
Once you're finished, type quit to close your session.
Yup, that's all! Oh, just one more thing - when you log into your POP3 mailbox, it gets locked up so noone can access it while you're inside. A "lock file" is created when you log in and is deleted when you log out, and whenever someone tries to log in the server allows him access only if the lock file does not exist (which means that there's nobody currently logged in).
See? It's easy. I hate to tell you "I told you so" but... :-)
- EOF -
© 2001 Blacksun Research Facility. All rights reserved.