POP3 server
-----------


Description:

    This archive contains the POP3 server, which can be used on
    Windows NT (with the Option Pack) or Windows 2000 operating systems.
    Almost all the source files are included :-)

    SMTP service must be installed in order the server to be able to
    receive the email messages.

    Warning! This program uses very simple algorithm to encrypt users'
    passwords.


Warranties:

    Not supplied. This software may or may not cause problem(s) for
    your system(s). 8-| I am not responsible for what you are doing or
    not doing with this software.

    Comment: Usually it works.


Configuration:
--------------

    In order NTPop to be functional you have to provide the following
    information:

      Mail spool directory, which SMTP service use to store the
      incoming mail. Usually it is under the IIS INETPUB directory.
      If you have IIS installed on drive C: then the default mail
      spool directory would be C:\INETPUB\MAILROOT\DROP

      Domain name(s) - POP3 server will serve a mail for the listed
      domains only. You can go to the Internet Service Manager and take
      a look on your SMTP server setup. It contains a list of all the
      domains SMTP service serves. If there is only default domain name
      then you have to add a real one for both SMTP and POP3 servers.

      User name(s) and password(s) - If you want user to be able to
      receive a mail on your server then you have to add his/her username and
      password into user table. IIS SMTP service will receive a mail for
      any username within selected domain(s). Those usernames may be not a
      local NT usernames. Same with the POP3 server - you can add any
      username for which you expect to receive a mail. Usernames/passwords are
      stored in the Windows registry. So you may want to improve the encryption
      routine to ensure passwords' safety. By the way, POP3 password may
      be different from the real user's password.

    You can also fill the Hosts table to prevent unwanted connections (only
    by IP address or mask like 192.168.*.*).

    RFC recommends to set the inactivity timeout not less then 10 minutes.

    Log level can be from 0 (no info) to 4 (full info).

    If you don't like features, which NTPop server has then you can change
    them way you want it to be (sources are included) :-)


Files:

    NTPop:
    ------

    Main.pas          Main form

    Domains.pas       Domain management dialog
    Users.pas         User management dialog
    Hosts.pas         Allow/Deny access by remote IP dialog

    NTPopS:
    -------

    MainS.pas         Service application


    Common:
    -------

    Config.pas        Common constants, variables and functions

    Folder.pas        Folder object
    Lsts.pas          HostList, UserList and DomainList objects
    Server.pas        Listener and PopServer objects

    CBuf.pas          
    WSAError.pas      Definitions of the common winsocket error messages
    
    DCU               Directory containing the service units
    
    DOC               RFC-1939 in the HTML format
    
    NTPop.mpc         Compiled map file (needed to allow the logger module
                      to determine the line number.


    Executables:
    ------------

    NTPop.exe         Standalone application

    NTPopS.exe        Windows NT servise:

                      Use /INSTALL command line option to install the service

                      Use /UNINSTALL command line option to uninstall the
                      service

                      Use /SILENT command line option to supress the messages

                      To configure NTPopS.exe you can use NTPop.exe or
                      write a separate configuration program

Information:

    All the program's settings (for both standalone and NT servise
    executables) are stored under the HKEY_LOCAL_MACHINE\Software\Drt\NTPop
    key in the system registry.

Contact information:

    Name:   Dmitriy Drozdov
    E-Mail: drtinus@yahoo.com
    WWW:    www.drthome.com (I hope it will up soon enough).
