		W-MAIL Local Mail Agent (MINIX)

		     MicroWalt W-MAIL V3.63
		     ======================

This archive contains the sources of the W-MAIL program, which  is a MINIX
version of the MAILX program available  on most  UNIXes.  It does not need
the presence of UUCP in order to run. However, for non-local mail delivery
a remote mailer (like MicroWalt UMAIL) is required to be present.

Main Author:	Fred van Kempen, MicroWalt Corporation
			waltje%minixug@plains.nodak.edu

Additions:	Wim 'Blue Baron' van Dorst
			baron@wiesje.hobby.nl, tgcpwd@urc.tue.nl

-----------------------------------------------------------------------------
Revision History:

2.5	10/10/89	Initial posting.

2.6	11/07/89	General fixes and a cleanup.
	- The Makefile-macro 'OTHERS' now contains 'wmail.h' as well.  This
	  caused incomplete archives to be distributed.  Also, the parameters
	  to 'shar' and 'tar' have been adapted to the new tar(1) and shar(1)
	  programs.
	- Fixed '.' problem in edit_mail().
	- The strings 'findbuff', 'lbuff' and 'inbuff' have been moved to the
	  routines in which they are used.
	- The bug in the more() code has been fixed. This bug causes gargage
	  to be printed in some circumstances.
	- The dead_letter() function no longer puts the file in the user's
	  HOME directory. It now looks if there is an environmental variable
	  "DEADLETTER"; if it exists its value will be used as the file name. 
	  Otherwise, the message will be dumped in the file "dead.letter" in
	  the current directory.
	- All references to 'NIL' have been changed into 'NULL'. It was a bit
	  confusing to have both around.
	- The code to scan message-headers has been changed radically.  All
	  message fields are now stored in the 'LETTER' structure dynamically.
	  This saves a lot of memory, and thus allows for larger mailboxes.
	- The 'reply' bug has been fixed. This bug was caused by the UMAIL
	  mailer, because it generated the wrong type of "From_" header. The
	  header is now scanned by a separate routine in 'ummain.c' called
	  'old_hdr()'.
	- The source has been edited to make it conform to the new MINIX Style
	  Sheet as posted by Andrew Tanenbaum.
	- The version-number has been increased to 2.6.

2.7	11/10/89	Bug fixes:
	- The typo in wminteract() has been corrected. It said "interrupted =
	  TRUE" where it should be "== TRUE".
	- Also, fixed all security problems within W-MAIL. This is done by
	  calling the new 'allowed()' routine before a file is opened or
	  created.
	- Some minor (cosmetic) changes.
	- The version-number has been increased to 2.7.

2.8	11/27/89	Bug fixes:
	- There still is a bug in interact().  This shows in the places where
	  NEXT_LETTER is executed... I am working on this one.
	- All bugs reported will be fixed in this release.  If you are reading
	  this, be aware that you are using a testing version.  It is not yet
	  fully fixed...
	- The version-number has been increased to 2.8.

2.9	12/04/89	Bug fixes/modifications:
	- Fixed all 'adress' typos.
	- Fixed all reported 'lint' bugs.
	- Fixed '-i filename' security bug.
	- Changed 'readbox()' to use the 'Path:' field in the header.
	- The version-number has been increased to 2.9.

2.10	12/16/89	Added fixes of Ralf Wenk.
	- Fixed interact().
	- Fixed an obscure delete() bug.
	- Prepared "more()" for termcap() use.
	- Final fix for reply() bug.
	- General cleanup.
	- The version-number has been increased to 2.10.

3.0	12/30/89	Adapted to POSIX standard (MINIX 1.5)
	- Added "#include <sys/types>" to all files.
	- Removed that from "wmail.h".
	- Changed Makefile to include "-D_MINIX" and "-D_POSIX_SOURCE".
	- The version-number has been increased to 3.0.

3.1	02/17/90	Cleaned for release.
	- Added "X-Mailer" header field.
	- Added lots of casts (Atari!).
	- Removed all (void)s from argument lists.
	- The version-number has been increased to 3.1.

3.2	04/10/90	Minor fixes in Header-scanner.
	- Added RFC-type comment fields into header-scanner.
	- Modified "reply" code.
	- The version-number has been increased to 3.2.

3.3	04/28/90	Minor fix to allowed() function.
	- Removed group-check for root from allowed().
	- Changed all "continue" statements in "interact()" into "break"
	  statements.
	- Added "<address>" literals support in the header scanner.  It caused
	  some mail to be lost...
	- Fixed the prototyping in the header file.
	- The version-number has been increased to 3.3.

3.4	05/14/90	Fixed some problems
	- Added fixes for Atari-ST (ptrs!)
	- Changed the Makefile to include the "LIBS" macro.
	- Fixed the header-overflow in find_string.
	- The version-number has been increased to 3.4

3.50	06/01/90	Summary change (by Blue Baron)
	- Added real_name to LETTER structure
	- Used real_name in summary
	- Different summary layout (real_name, compressed date, subject)
	- Changed i-command to h-command
	- The version-number has been increased to 3.50

3.51	06/08/90	Summary enhancement (by Blue Baron)
	- Added summary paging
	- Added H-command (next summary page)
	- The version-number has been increased to 3.51
  
3.52	06/12/90	Mods FvK
	- Changed interrupts() into void returning.
	- Fixed "errno.h" to "sys/errno.h" include bug.
	- The version-number has been increased to 3.52

3.53	07/01/90	Additions for Termcap
	- Added Termcap stuff to wmread.c
	- Increased version-number to 3.53

3.54	07/02/90	Small fix to old_hdr()
	- Fixed "reply" bug in old_hdr() (host not recognized !)
	- Changed Makefiles (renamed wminteract.c to wmcmd.c)
	- Increased version-number to 3.54

	07/05/90	Enhanced Summary() (by Wim 'Blue Baron' van Dorst)
	- Added no_lines to struct LETTER
	- Added no_chars to struct LETTER
	- Enhanced summary() with lines/chars in Mailx-style layout
	- Added <stdlib.h> inclusion to wmread.c

3.55	07/05/90	Added "Tilde" escapes and Mail Editor
	- General restructuring of message inputting.
	- Rewrote "wmcreate.c" contents for Mail Editor and Tilde Escapes
	- Increased version-number to 3.55

3.56	07/05/90	Added "Message Forwarding"
	- General restructuring of message delivery routines.
	- Added code for forwarding messages from Main Menu.
	- Increased version-number to 3.56

3.57	07/06/90	Added ".mailrc" and "alias" support
	- Added ".mailrc" scanner and support routines; added wmmailrc.c
	- Added code for handling aliases (needs improvement!)
	- Changed interact() again ("H"->"z" and the "newline" command)
	- Increased version-number to 3.57

3.58	07/07/90	Reworked "alias" code, cleaned for beta-test
	- Reworked alias expansion in do_send();
	  Changed parameters of do_send, deliver(), etc.
	- Added support for "system" mailrc file.
	- Added more user-settable variables (like "record").
	- Added "Cc:" and "Bcc:" fields and support.
	- Added "default" message number for "~m" escape during reply().
	- Cleaned for release to beta-testers.
	- Increased version-number to 3.58

3.59	07/18/90	Fixed all reported beta-test bugs.
	- Could not deliver() when -f used: reworked security code in main()
	  just after the 'case -f' code.
	- Deliver() uses the same mailbox[] variable as the main routine, which
	  causes mailbox update problems after reply() or forward(). Fixed this
	  by adding a new local 'dlmbox[]' variable to deliver().
	- Fixed termcap(3) code in wmread.c
	- Reworked the LETTER->sender code for [R,r]eply.
	- Added "-F" to Makefile macro "CC".
	- Changed "-t" option to be default TRUE.
	- Added "n" and "R" commands to interact().
	- Fixed double newline in do_reply() after Subject:
	- Fixed two little bugs in old_hdr() which broke the [R,r]eply() code.
	- Blue Baron added "Full Name" for local mail to summary()
	- Added small fix to wmmailrc.c for removing trailing spaces in SET
	- Modified the rc_read() routine for quoting of variable values.
	- Moved the rc_init() calls in main() for speed.
	- Added "-Q" commandline flag for fast startup.
	- Changed "," in To: field to ", ".
	- Added alias-expansion for Cc: and Bcc: fields.
	- Changed the message recoring code, and its position.
	- Increased version-number to 3.59

3.60	08/05/90	Final release V.3
	- Wrote complete documentation.
	- Fixed all reported bugs.
	- Increased version number to 3.60

3.61	09/09/90	Blue Baron changes
	- Precedence for reply-address check: <> first, then the rest

3.62	09/21/90	Small addition
	- Added 'u' command, after suggestion of Wayne Brown

3.63	11/05/90	Small fix and addition
	- Increased line buffer size in "wmailrc.c" for var[] .
	- Added "[quoted]" text in message editor.

