[10.7] released 3/19/04
* The IEEE and The Open Group have granted permission to use parts of
  the POSIX standard text for the documentation of 'nail'. See the
  file 'COPYING' for general terms. The manual page has been updated
  accordingly.
* If the variable 'sendwait' is set and the mail transfer agent returns
  a non-zero exit status, the exit status of nail will also be non-zero
  (Christian Reiber).
* For the first (textual) part of a multipart message, create a
  'Content-Disposition: inline' header field to make it clear to other
  MUAs that this part should be displayed directly (suggested by
  Alexandros Gougousoudis).
* Base64 encoded messages were not decoded correctly on machines where
  the 'char' type is unsigned by default (Fix by Benjamin C. W. Sittler,
  reported by Hilko Bengen).
* Any address that contains a '@' character is treated as an internet
  mail address (even if it contains a '/' character before).
* Fixed the 'autocc' and 'autobcc' variables to really accept address
  lists instead of single names.
* If a message is sent to both addressed recipients and local folders,
  don't pass the file names with the SMTP client.
* The ~w command appends the message text to an existing file instead
  of refusing to write, as POSIX.2 states (Bugreport by Bob Tennent).
* Escape sequences in quoted arguments to the alias, unset, chdir, cd,
  source, set, group, ungroup, unalias, file, folder, if, else, endif,
  alternates, ignore, discard, retain, saveignore, savediscard, saveretain,
  unignore, unretain, unsaveignore, unsaveretain, shortcut, and unshortcut
  commands are no longer handled specially. This is for compatibility with
  System V mailx and POSIX standards.
* The echo command accepts the same escape sequences as specified for
  echo(1) in recent Open Group standards.
* Only the \t and \n sequences are handled for the ~a, ~A and ~i tilde
  commands and the insertion of the MAILX_HEAD and MAILX_TAIL strings
  (Thanks to Bob Tennent).
* Solaris: When the MAILX_TAIL variable was set and a ~p command was
  issued before the message was sent, parts of the text were sent twice.
* Introduced a 'hostname' variable to override the value obtained from
  uname(2) and getaddrinfo(3) (William Bader).

[10.6] released 11/15/03
* A nested MIME multipart message with a sub-part piped through an external
  program (such as HTML with w3m) caused nail to abort after SIGPIPE if the
  PAGER command terminated before reading the whole message.
* A 'next' command following a 'hold' command displays the next message
  after the one the 'hold' applies to (Bugreport by Mike Sipser). This 
  might not be exactly what POSIX specifies, but it makes sense and is
  consistent with traditional behavior. If you actually favor 'next'
  not to advance after 'hold', contact me and I'll add a configuration
  option for this.
* If the value of the 'record' variable started with an environment
  variable reference such as '$HOME' or with a tilde and the 'outfolder'
  variable was set, it was not expanded correctly (Bugreport by Volker
  Kuhlmann).

[10.5] released 4/27/03
* A command line argument specifying a To-address can contain multiple
  recipients separated by commas (Werner Fink).
* 'showname' variable (based on code contributed by Stephen Isard).
* Display nonprintable characters in mail addresses as question marks.
* Fixed MIME encoding of user's From address with respect to quoted
  characters.
* 'autobcc' and 'autocc' variables.
* The effects of the 'bsdcompat' variable are now individually configurable.
  This introduces the 'bsdflags', 'bsdheadline', 'bsdset', 'bsdannounce',
  'askatend', 'bsdorder', and 'bsdmsgs' variables.
* The current message pointer could be garbled when 'newmail' was set and
  new messages appeared (Fix by Stephen Isard).

[10.4] released 1/19/03
* A missing #ifdef HAVE_ICONV caused build errors on platforms without
  iconv() support (J.A. Neitzel, Jens Schleusener, Lars Kellogg-Stedman,
  Felicia Neff, Chris Pinnock).
* Extraction of parts from header fields with more than 2560 characters
  fixed (Lukasz Sznuk, William Cherry).
* Source archive name in nail.spec corrected (Didar Hussain).
* Fixed segmentation violation when encountering multipart header fields
  that contain no ':' character (William Cherry).
* Respect the 'allnet' variable when comparing strings in message lists.
* IPv6 support (Jun-ichiro itojun Hagino).

[10.3] released 11/29/02
* Fixed a buffer overflow that occured with iconv() support disabled (Stan
  Tobias).
* MIME encoding of '(non-ASCII-string' comment strings in address fields
  fixed (non-ASCII-string immediately following the opening parenthesis).
* Convert header fields to outgoing character set even if the body contains
  ASCII characters only.
* Build properly on platforms without socket support (J.A. Neitzel).
* Don't require towupper() with mbtowc() (J.A. Neitzel). Searches for
  wide characters in subject fields are not case-insensitive without
  towupper().
* Some OpenBSD and NetBSD versions don't adjust the kernel file offset
  properly after a 'fflush(); rewind()' sequence, violating POSIX.1.
  This caused empty mails to be sent if the 'record' variable was set.
  The code now works around the problem (Thanks to J.A. Neitzel).
* NetBSD lacks gethostent(), causing the configure check for socket
  support to fail. gethostbyname() is now used instead (Thanks to J.A.
  Neitzel).

[10.2] released 11/23/02
* Fixed a NULL pointer dereference that occured if the 'showto' variable
  was used without the 'alternates' command (Bugreport by Bob Tennent).
* POP3 client with SSL/TLS support. See the description of the 'folder'
  command, the 'EXAMPLES' and 'NOTES' sections in the manual page, and
  the description of the new variables 'password-user@host,
  'pop3-keepalive', 'ssl-no-default-ca', 'ssl-v2-allow', 'ssl-verify',
  'ssl-ca-dir', 'ssl-ca-file', 'ssl-cert', 'ssl-cert-user@host',
  'ssl-key', 'ssl-key-user@host', 'ssl-method', 'ssl-cipher-list'
  'ssl-rand-egd', 'ssl-rand-file'. You need to execute './configure
  --with-openssl' to compile with SSL support.
* Respect assignments to the MAIL variable in startup scripts.
* Secondary mailboxes with %:folder (see the 'folder' command).
* 'shortcut' and 'unshortcut' commands.
* NAIL_EXTRA_RC variable.
* ',' address (matches the parent of the current message).
* ';' address (matches the message that was previously the current message).
* Recognize MIME in header field searches with '/'.
* The 'save' and 'copy' commands use the mbox file if invoked without
  an argument.
* Use wordexp() to expand special characters in filenames if available.
  $SHELL-specific metacharacters are thus no longer recognized.
* The output of the 'from' command is piped through the pager if it exceeds
  the screen height.
* 'datefield' variable.
* 'editheaders' variable (contributed by Stephen Isard).
* '-t' command line option.
* 'term' condition for 'if' command (contributed by Stephen Isard).
* Don't prepend a message with a blank line when saving if a blank line 
  is already present at the end of the file.
* Fixed quoting for command argument of 'pipe' (Stephen Isard).
* 'save' and 'copy' commands accept quoted file names with embedded whitespace.
* Allow '|shell-cmd' (Stephen Isard).
* 'piperaw' variable (Stephen Isard).
* If 'askcc' or 'askbcc' are set and 'bsdcompat' is not set, the user is
  asked for additional recipients before composing the message starts.
* Don't append an additional newline to filenames in recipient lists.
* Message lines starting with '>' were truncated by the 'forward' command.
* Don't rename old Resent-xxx fields when creating new ones.
* Deletion of attachments with '~@' fixed.
* Don't mark the saved copy of an unread message as read.
* Fixed use of a char variable for getc() (Arthur Korn).

[10.1] released 10/14/02
* POSIX.2 leaves the characters following 'From ' unspecified, so the
  presence of sender or date strings is no longer required to separate
  messages in a folder.
* 'inc' and 'newmail' commands, 'autoinc' and 'newmail' variables.
* Don't use iconv() if a message contains us-ascii characters only
  (Problem reported by Thomas Fieseler).
* Don't report 'Held n messages in mailfile' if n == 0.
* Don't report a 'Fatal error in process' with '!' unless bsdcompat is set.
* Missing fflush() caused empty mails with some GNU libc versions to be
  sent, unless SMTP was used (Problem reported by Thomas Fieseler).

[10.0] released 9/29/02
* Base64 decoding was calling malloc(0) which caused "Out of memory"
  errors on some platforms (Bugreport by Stan Tobias).
* Install nail.rc in the place specified with --with-rcfile (Bugreport by
  Jeffrey Neitzel)
* Code cleanup in send.c (Contribution by Stan Tobias).
* When writing attachment data, the 'w' command will no longer append to
  a file, but truncate and overwrite it.
* Extract filenames from obsolete 'Content-Type: ...; name=file' fields (Stan
  Tobias).
* Delete directory components from attachment filenames before saving (Fix by
  Stan Tobias).
* NAILRC variable (based on a suggestion by Stan Tobias).
* "bsdcompat" and "prompt" variables; prompt defaults to "? ".
* "allnet", "debug", "flipr", "outfolder", "sendwait", and "showto" variables
* "bang" variable. NOTE: Previous versions behaved as if this variable
   had been set.
* ~a and ~A tilde escapes with standard semantics.
* -F command line option, "Mail", "followup", "Followup", "Copy" and "Save"
  commands.
  NOTE: This changes the abbreviation of the "folder" command to "fold".
* "set nofoo" unsets the variable "foo". The variables "nosave" and "noheader"
  have therefore changed in their positive counterparts and are now set by
  default.
* The pg command is now the default pager unless bsdcompat is set.
* Line and character counts are printed for copy and save commands.
* MAILX_HEAD and MAILX_TAIL variables.
* LC_MESSAGES support.
* -I option prints 'Newsgroups:' field in header summary now. NOTE: The
  functionality of the old -I option, "interactive", is no longer available
  as an option. Use something like "env interactive= nail ..." instead. If
  only tilde escapes in send mode are needed, the new -~ option can be used.
* The optional name argument in combination with the -f option is now
  evaluated as a separate operand, not as an argument to -f. This enables
  usage as "nail -fin name", but "nail -f name -in" is no longer valid.
* Pipe the output of ~p through the PAGER if the text is long (Bugreport
  by Stan Tobias).
* The output format of the "set" command is changed to 'variable="value"'
  if bsdcompat is not set.
* Pipe the output of the "set" command through the PAGER if it is long.
* Headers are not printed automatically after executing a "folder" command
  if bsdcompat is not set.
* The "next" command was fixed according to the remark in the POSIX
  rationale not to skip a message e. g. after "delete".
* -B, -h and -~ command line options.
* Lines in message files can now be of arbitrary length and can contain
  NUL characters.
* -r disables tilde escapes; -r flag and address is passed to sendmail.
* followupall, followupsender, replyall, replysender, respondall, and
  respondsender commands.
* New, new, and Unread commands (are all aliases to unread command).
* unalias command implemented (had been documented since 4.4BSD).
* unignore, unretain, unsaveignore, and unsaveretain commands.
* If data from standard input contains NUL characters, no character
  conversions are performed and it is sent in base64 encoding.
* Non-binary data with long lines is sent in quoted-printable encoding.
* Fixed segmentation violation when using the "folder" command after
  an interrupt signal was catched.
* Resent-Reply-To: header field is no longer generated for conformance
  with RFC 2822.
* Fixed -u user option and %user special file name not to ignore 'user'.
* The 'Reply' command uses the 'Reply-To:' header field in favor of
  'From:'; the 'reply' command adds recipients given in the 'To:' and
  'Cc:' fields if a 'Reply-To:' field was present in the message. This
  means that 'Reply-To:' just overrides 'From:' without a special effect
  on the 'reply' and 'Reply' commands.
* When grabbing headers e. g. with the '~h' command, a comma is printed
  between names if bsdcompat is not set.
* RPM spec file (contributed by Didar Hussain).

[9.31] released 6/18/02
* New editing mechanism for attachment list: ~@ tilde escape.
* The ~a tilde escape is obsoleted by ~@ and has been removed.
* Header fields starting with =? are only interpreted as RFC 2047 fields
  if they are entirely valid (Bugreport by Russell Kroll).
* Sender addresses in message lists (as in 'delete from@host') match only
  the exact from address.
* Added ~x tilde escape (abort message composition without saving dead.letter).
* Fixed recognition of RFC 2045 parameter attributes (Bugreport by Russell
  Kroll).
* The "for" command now inserts an intact "Resent-Reply-To:" header field.

[9.30] released 2/20/02
* Avoid to prepend quote prefix twice when replying to multipart messages.
* Fixed a problem with empty Content-type fields in multipart messages.
* Allow name lists for -b and -c command line options (Bugreport by Winfried
  Szukalski).
* Added a --with-rcfile option to configure for nail.rc.
* Added the "showlast" option (Contributed by Jay Nospam).
* Properly respect TMPDIR; create a new name for each temporary file.

[9.29] released 12/10/01
* Fixed a SIGPIPE problem concerning the PAGER.
* Avoid to display parts of next message when encountering masked From lines
  (Bugreport by Russell Kroll).
* Implemented pipe-content/subcontent MIME display mechanism (based on a
  suggestion by Bob Tennent).
* Respect continued MIME quoted-printable lines in non-text content.

[9.28] released 10/23/01
* Fixed a crash occuring at unterminated RFC 2047 header parts (Bugreport by
  Bruno Haible).
* Fixed a crash that occured when replying to a message with empty subject
  (Bugreport by Russell Kroll).
* Send attachments in base64 encoding if a line exceeds 950 characters
  (Bugreport by Rolf Jakob).

[9.27] released 5/13/01
* Check addresses when they are entered and drop invalid ones.
* Supress glibc's getopt(3) argument reordering.
* Fix handling of last entry on a mime.types file line (bug introduced in 9.24)
  (Bugreport by Allan Peda).
* Improved handling of proprietary character set names on SVr4 iconv.

[9.26] released 2/17/01
* Avoid to prepend or append multiple newline characters to the record folder.
* Handle unquoted multipart boundaries again (Bugreport by Bob Tennent).
* Help texts are compiled into the binary. Old files can be deleted (based on
  a comment by Christian Weisgerber).
* nail.rc gets installed in /etc and is not overwritten if it exists.
* Check for iswprint() before using wide character code (Bugreport by
  Hubertus Krogmann).
* Use a non-zero exit status if a message could not get formatted in send mode
  (Bugreport by Allan Peda).

[9.25] released 1/25/01
* Fixed the problems some people had when viewing multipart messages (Bugreport
  by Thomas Fieseler and Russell Kroll).
* Added the -r startup option to specify a From address.
* Make fallback paths for csh, more, ex and vi configureable (Suggested by
  Arthur Korn).
* Remove fcntl lock of mailbox while waiting for dot lock (Problem reported by
  Arthur Korn).

[9.24] released 1/18/01
* Use nl_langinfo to get the terminal's character set.
* Add an In-Reply-To header field in replies.
* Correct user's mime type file to ~/.mime.types as documented (Bugreport by
  Allan Peda).
* Build even if no sendmail installation is detected (Bugreport by Gabor Z.
  Papp).
* Adjust string length if an invalid multibyte character was replaced by '?'.
* Properly display lines that contain an invalid multibyte character sequence.
* Handle tabulators in MIME headers correctly (Bugreport by Russell Kroll).
* Drop invalid entries for the References field instead of refusing to send
  (Bugreport by Bob Tennent).
* Do not refuse valid domain literals in addresses (Bugreport by Bob Tennent).

[9.23] released 11/15/00
* Added the ~<! and ~i tilde escapes.
* Honor the MAILRC environment variable.
* Added the -e startup option.
* Do not remove quotes when skinning names.

[9.22] released 2000-09-29
* Use iconv() and setlocale() only if appropriate header files are found
  (Problem reported by Gabor Z. Papp)
* Clean UTF-8 decoding of continued quoted-printable lines
* Quote base64-encoded texts correctly
* Never perform RFC 1522 encodings of "Re: " in subject fields
* Quoted-printable encoder will not generate empty continued lines anymore
* Do not generate dupes when new mail arrives while old mail is deleted
  (Bugreport by Bob Tennent)
* Multipart sections without MIME declaration are correctly handled as text

[9.21] released 2000-08-21
* Always add a dot to a line that starts with one in SMTP mode.
* Fixed a core dump that occured on glibc 2.0 if the subject line was empty
  (Bugreport by Gelu G. Lupas)
* Removed some (up to now, harmless) namespace conflicts on Solaris.
* Fixed a problem with isprint() on Solaris (Bugreport by Thomas Fieseler).
* Support a few iconv naming conventions on Solaris.
* Corrected charset declaration of 7bit messages.

[9.20] released 2000-08-08
* Initialize the 'in_quote' variable in mime.c
* Better mailbox locking.
* Use LC_CTYPE locale setting to determine printable characters.
* Use iconv(3) to convert between character sets.
* Introduced the 'ttycharset' variable.
* Changed child process handling (Problem reported by Thomas Fieseler).
* Can handle addresses with embedded comments.
* Use base64 encoding for header fields containing many 8bit characters.
* Fixed a bug that could cause too long lines in quoted-printable.
* Proper handling of newlines at the end of multipart sections.

[9.14] released 2000-06-26
* Generate `User-Agent:' header fields instead of `X-Mailer:'
* Addresses in SMTP commands are surrounded with angle brackets
* Do not send an empty envelope From if using SMTP without given `from' (Problem
  reported by Gabor Z. Papp)
* Add a From: line even without a given `from' variable if using SMTP
* Removed wrong structure reference in tty.c (Bugreport by Steve Harris)
* Interpret all commands beginning with `#' as comments (Suggested by
  Gabor Z. Papp and Steve Harris)
* Insert an empty line after `xyz wrote:' in replies
* Fixed a possible buffer overflow in address allocation routines (Bugreport
  by James Sneeringer)
* The `z' command now accepts a number that specifies a window

[9.13] released 2000-05-30
* Changed _PATH_ to PATH_ in defines
* Fixed RFC 1522 encoding of header fields (important!) (Bugreport by Bob
  Tennent)
* Check syntax of addresses before sending

[9.12] released 2000-05-29
* Do not print the indentprefix if a line to quote is being continued
  in quoted-printable
* Omit the "No mail for ..." message if variable `emptystart' is set
* Implemented handling of message/rfc822 format
* Added SMTP client code
* Added the `Forward' command
* Avoid doubling line breaks when printing long addresses in header

[9.11] released 2000-05-15
* Do a fflush() before executing a ~| command (Bugreport by Edward V. Popkov)
* Make a backup copy of an already installed nail.rc file (problem reported
  by Gabor Z. Papp)
* The `write' command has a more consistent user interface
* Added the `forward' command (Suggested by Bob Tennent)
* Added the `emptystart' option

[9.10] released 2000-05-02
* Added the `-q' option
* Convert a subject given on the command line from RFC 1522 format
* The variable `srbuf' is now of type sigjmp_buf (Bugreport by Edward
  V. Popkov)
* Introduced GNU autoconf support (Contributed by Jacob Moorman)
* Corrected RFC1522-encoding of headers to respect word boundaries
* Use gethostbyname() to include the FQDN in message ids
* Use base36 to get shorter message ids and multipart boundaries
* Use data from /dev/urandom in message ids and boundaries if available
* Added the `pipe' command (Suggested by Bob Tennent)
* readline() should no longer fail if libsafe is used (Bugreport by Bob
  Tennent)
* Added the `-V' option
* Limit the `References' header field to 21 entries

[9.04] released 2000-04-17
* Some fixes for machines where chars are unsigned by default (Bugreport by
  Marcel Oliver)
* Merged the Mail.1 and nail.1 manual pages and added some missing
  features from `The Mail Reference Manual'
* Print attachment names correctly in ~p escape
* Use sprintf() if snprintf() is not available

[9.03] released 2000-04-11
* Some fixes to compile on FreeBSD 4.0 (Thanks to Anders Andersson)
* Check for write permission before dot-locking mail files (Bugreport by Bob
  Tennent)
* Do not accept an attachment list with unreadable files (Bugreport by Bob
  Tennent)
* Do not send a message if a file could not get attached or if the input could
  not get read; save dead.letter instead (Bugreport by Bob Tennent)
* Do not include Linux domainnames in the message id anymore
* Merged the Red Hat nopanic and nullchar patches (Thanks to Bob Tennent)
* Include a signature file if option `signature' is set
* Generate our own `Date:' header field for better local message archiving
* Made the `quote' option configurable (Suggested by Bob Tennent)
* Fixed segfault if a message to reply to had no message id
* Removed all `register' declarations of variables
* The code is intended to be POSIX.1 compatible now, except for the
  tempnam() and getopt() functions the system must provide in addition
* Removed the base64 encoding option for texts
* Perform CRLF translation when decoding base64
* Added the `emptybox' variable
* Splitted send.c to sendout.c

[9.02] relased 2000-04-05
* Include the domainname in the message id only if there is one
* Added the `stealthmua' option (based on a suggestion by Gabor Z. Papp)
* Fixed decoding of base64 when lines are not multiples of 4 characters
* Fixed erroneous recognition of message boundaries
* Whitespace at the end of a line is now encoded in quoted-printable

[9.01] released 2000-03-25
* Added the `Organization:' stuff
* Handle unknown encodings as application/octet stream for MIME conformance
* Generate a `Reference:' header line in replies
* Handle addresses in the `from' and `replyto' variables as if they were in
  the alternates list
* Added a message count to the generated message-id to ensure it is unique
  even when more than one message is sent per second
* Mbox format: Mask `^From ' lines inside messages with '>'
* Proper handling of nested multipart messages implemented
* We now ignore the MIME-Version header field and look at the Content-Type
  field instead
* Can now compile on SVR4 systems using -lucb
* Changed generation of multipart boundaries
* Sending MIME messages to files now works
* Fixed core dump if variable `encoding' was unset (Bugreport by Alexander
  Shelkovich)

[9.0] released 2000-03-20
* Initial release
