------------------------------------------------------------------------------

                          POP3D Version 1.30
                  OS/2 POP3 server for IBM's TCP/IP

                      (c) Andrey Iliynikh- ai@casper.che.nsk.su

                                    README

------------------------------------------------------------------------------
What it is
==========

POP3D is server which allows workstation to retrieve mail according to 
RFC 1725. 
POP3D requires OS/2 version 2.0 or later, and IBM's TCP/IP v1.2.1
or later. POP3DC works with superserver inetd.


What it does.
============

POP3D is listening to TCP port 110. When client host wishes to deliver mail,
POP3D checks client's login and password stored in the file "mailaddr".
This file also includes list of maildirs. POP3D browses user's directory
and send mail to client.
In this file you should list your server's users. For
example: 

#User      Directory      Password
nobody    d:\mail\bad    
ai        d:\mail\ai     andrey
joe       d:\mail\joe    123
...

user ai has mail directory d:\mail\ai and  password- andrey.
First line in the file indicates the mail directory for bad mail.
Unregistered version supports only 5 users.
  File pop3d.log includes log information. pop3d.exe creates this file 
automaticaly.

 
Working with sendmail.exe
==============================

POP3D works with sendmail.exe. Unfortunely, sendmail.exe can not
put mail into different directory. Mailstr.exe copies files from
standart input into user's directory. 

You must edit local mailer section in the file "sendmail.cf":

####################################################################
Mlocal, P=d:\pop3d\mailsrt.exe, F=lsDFP,  S=10, R=20, A=d:\pop3d $u
####################################################################

A=d:\pop3d      -path to file "mailaddr"
NOTE:   You must use an editor that preserves TAB characters.  Do NOT use
        the EPM or TEDIT editors that come with OS/2 - they expand TABs
        into spaces and will cause the configuration file to be useless.
        The E editor is OK. Make copy sendmail.cf befor editing!

You could check mailsrt run
type filename|mailsrt.exe d:\pop3d user
d:\pop3d- path to file mailaddr.
mailsrt.exe copies filename into user's directory.

How to manage it
=================

Just run this program
  pop3d 

NEW! Working with inetd
========================
To use the POP server with inetd, one line must be added to
\tcpip\etc\inetd.lst:

	pop tcp pop3dc

NOTE: Not pop3d, pop3dc!
That's all, then you have to restart inetd.

Price
============


POP3D price depends on user account:

Users:  16    32    64    128   256
Price:  $20   $25   $30   $35   $40

Please send the completed registration form together with a check,
cash or postal money order to the address shown below. 
*--------------------------------------------------------------------------*
| Sergey Slobodyan                                   Voice: (314) 725-5998 |
| Department of Economics,                                                 |
| Washington University                                                    |
| One Brookings Drive                                                      |
| St. Louis, Missouri 63130-4899                    slobo@wuecona.wustl.edu|
*--------------------------------------------------------------------------*
I will send you registered version by E-mail.
Regards,
  Andrey Iliynikh.

E-mail: ai@casper.che.nsk.su


