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

                               NetMail DOS 2.0

                   Copyright (C) 1996-98 by Marc S. Ressl,
                             All Rights Reserved.

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



 Introduction
 ---------------------------------------------------------------------------

 NetMail DOS is a mail program for Internet email.

 It supports the standard SMTP/POP3 protocols, and provides a low-level
 interface to email, making this program ideal for mail-bots and gateways.

 NetMail DOS also provides flood protection, protecting you from mail bombs.
 There is also a daemon mode that checks mail regularly, and exits
 on new mail.


 The program was originally written for the TransNet Gateway, but has been
 separated and released for public use.



 Requirements
 ---------------------------------------------------------------------------

 NetMail DOS requires a packet driver. If you run NetMail DOS in a network,
 you'll need the driver for that network. You'll find the drivers on the
 Simtel Software Archive, in the PKTDRVR dir.

 If you run NetMail DOS with a dial-in connection, you can use the DOSPPP
 packet driver (C) by Antonio Lopez Molero, a very stable PPP driver, or
 SLIPPER, a SLIP/CSLIP driver.



 First time setup
 ---------------------------------------------------------------------------

 1) Create two directories, which are used by NetMail DOS as inbound and
 outbound email directories.

 It's recommended to name these directories SMTPIN and SMTPOUT.

 2) Run NMSETUP. Most options are self-explanatory.

 The only option that deserves mention is the "Domain Name". This setting
 sets the local identification used in the SMTP protocol.

 3) Edit the WATTCP.CFG file, and define the following settings:

 - Your IP with a "my_ip = ".
   (If you don't have a fixed IP, specify "bootp" as your IP).

 - The domain name servers (DNS) with "nameserver = " lines.

 - If you know your provider's gateway address and netmask, set them
   too ("gateway = ", "netmask = ").



 Usage
 ---------------------------------------------------------------------------

 You can run NetMail DOS with these switches:

 NM [/send] [/receive] [/debug] [/tries:<n>] [/daemon:<n>]

      /send         Send mail.
      /receive      Receive mail.
      /debug        Debug mode.
      /tries:<n>    Tries mail transfer up to <n> times on failure.
      /daemon:<min> Checks mail every <min> minutes; exits on new mail.



 Message format
 ---------------------------------------------------------------------------

 NetMail DOS uses the .TXT/.WRK UNIX format to store emails.

 Each email is composed of two files with identical name, but with .TXT and
 .WRK extensions.

 The .WRK files are text files with this format:

        First line:   The destination server.
        Second line:  The sender of the message.
        Next lines:   The recipient mail address(es).

 The .TXT files are text files containing the raw message.



 Common problems
 ---------------------------------------------------------------------------

 - When connection problems arise (servers don't respond), try setting
 the netmask to 0.0.0.0 .



 Contact me
 ---------------------------------------------------------------------------

 If you feel the necesity to tell me something, do so!

 Find me here:

        ressl@interactive.com.ar
        ressl@geocities.com

 You can also visit the official NetMail Homepage here:

        http://www.geocities.com/SiliconValley/Lakes/2382/netmail.html



 Credits
 ---------------------------------------------------------------------------

 This program was built with the free Waterloo TCP/IP library by
 Erich Engelke. Special thanks to him, for having released this excellent
 product freely. For more information, visit http://wattcp.supro.com.



 Legal stuff
 ---------------------------------------------------------------------------

 NetMail DOS is Freeware.

 NetMail DOS may be freely distributed subject to, but not limited to, the
 following terms: NetMail DOS may not be sold or resold, distributed as a
 part of any commercial package, used in a commercial environment, used or
 distributed in support of a commercial service, or used or distributed to
 support any kind of profit-generating activity, even if it is being
 distributed freely.

 If you would like to distribute NetMail DOS as part of a shareware
 distribution, magazine, internet book, CD-ROM, etc. please contact me for
 permission.

 All commercial use interests in NetMail DOS should be directed to:
 ressl@interactive.com.ar, or ressl@geocities.com

 The integrity of the original NetMail DOS distribution file as distributed
 by Marc S. Ressl is essential. NetMail DOS and all of its related files
 must be distributed together in the original format. The NetMail DOS
 distribution file may not have files added to it or removed from it, and
 none of its contents may be modified, decompiled, or reverse engineered.

 NetMail DOS is provided "AS IS" without warranty of any kind, either
 express or implied, including but not limited to the implied warranties of
 merchantability and fitness for a particular purpose. In no event shall
 Marc S. Ressl be liable for any damages whatsoever including direct,
 indirect, incidental, consequential, loss of business profits or special
 damages, even if Marc S. Ressl has been advised of the possibility of
 such damages.

