1
[12.3] released 7/15/07
2
* Multibyte characters are now handled correctly when printing texts
3
encoded in base64. Previously, if a multibyte character spanned
4
across a line in the base64-encoded representation, it was not
5
recognized, and substitution characters were printed instead.
6
* In an SMTP exchange, ignore if the server closes the connection
7
following the QUIT command instead of sending a proper response code,
8
fixing a problem with GMail (Dr. Gary E. Rafe).
9
* A null pointer dereference that lead to a segmentation fault when
10
the user hit return at a yes/no question has been fixed (patch by
12
* If no proper boundary is present in a MIME multipart message, print
13
a notification message since otherwise no content is shown at all
14
(problem reported by Thomas Wolff).
15
* When both standard input and standard output refer to a terminal,
16
ignore SIGPIPE since there is no reason why it should ever terminate
17
mailx then. This fixes problems with mailx terminating when reading
18
a message and ^C is typed in the pager under some circumstances
19
(analysis by Stephen Isard and Perry Hutchison).
20
* Build without socket support again (patch by Andreas Niederl).
21
* Fixed a single quote in "makeconfig" that could cause a problem with
22
the C preprocessor (patch by Martin Neitzel).
23
* Building with recent versions of Mozilla NSS is now possible.
25
[12.2] released 1/7/07
26
* When a MIME message part is not of the "text/" content type, always
27
send it in base64 to avoid issues with CRLF conversion (David Ronis).
28
* Character set conversion is now also applied to attachments if they
29
have the "text/" content type. This is necessary because with the
30
"sendcharsets" variable, the character set declaration that becomes
31
effective in the message part is otherwise unpredictable.
32
* Character set conversion is now only applied to message parts that
33
have the "text/" content type. Previously, a message part that did
34
not contain any control characters but was not of type "text/" was
36
* When message file names in a maildir folder do not contain the ":2,"
37
preceding the flags part, append one (Brandon Andrews).
38
* An invalid memory access when determining the current message in
39
threaded mode has been fixed (MJ Ray).
40
* A "STRIP" makefile variable has been introduced to control the strip
41
command at "make install".
42
* The "remove" command no longer causes a core dump because of a null
43
pointer dereference when it is given a name with invalid shell syntax.
44
* Made it compile on UnixWare again (patch by Joe Julian).
45
* Fixes to build with more recent versions of Mozilla NSS.
47
[12.1] released 6/15/06
48
* The base64 encoder also used an invalid encoding for the last unit of
49
data if (bytes_of_input % 3 == 1). As with the previous similar bug,
50
most base64 decoders, including mailx's own, ignore such bits since
51
base64 data is always a multiple of 8-bit bytes. (Patch by
53
* Quotes are now placed around the "protocol" parameter in S/MIME headers
54
in accordance to RFC 2045 (Marco Arioli, Jeffrey Stedfast).
55
* The conversion of messages in state-dependent encodings has been fixed;
56
garbage characters could be inserted because the state was not properly
57
reset when a buffer was enlarged (patch by Matthew Fischer).
58
* A warning about an initalization of an unsigned value to -1 has been
59
eliminated (patch by Matthew Sienkiewicz).
60
* Percent characters in the "prompt" variable are now handled correctly;
61
values of "folder" beginning with an at character and longer than the
62
maximum system path length do not cause a heap overflow anymore (patch
65
[12.0] released 3/4/06
66
* The program has been integrated into the Heirloom project as "mailx". The
67
new project homepage is at <http://heirloom.sourceforge.net/mailx.html>.
68
The name "nail" will persist in some places, and the mailing list will
69
remain with the same address for now. If you want to continue to call
70
the program as "nail", create a symbolic link to "mailx".
71
* Mailx no longer prints a space before the address in "MAIL FROM:<xxx>" and
72
"RCPT TO:<xxx>" in SMTP. This should make it work with Sendmail X (bugs
73
reported by Stephane Lentz and Claus Assmann).
74
* The new "-S variable[=value]" command line option sets the internal option
75
"variable", and, in case of a string option, assigns "value" to it (based
76
on a request by Dmitry Butskoy).
77
* If the "smtp-auth-user" variable is set but neither "smtp-auth-password"
78
nor a matching "smtp-auth-password-user@host" can be found, the user is
79
asked for the SMTP AUTH password on the terminal (proposed by
81
* When a TERM signal is sent to the SMTP transfer child process, it will
82
abort and save the message to the "dead.letter" file (proposed by
84
* Use of the "resend" command with multiple messages at once now works as
85
documented (bug reported by Svend Sorensen).
86
* When the "next" or newline command is typed as the first command after a
87
folder has been opened, the first (new) message is printed even if a
88
folder hook has been executed previously (bugreport by Stephen Isard).
89
* In combination with OpenSSL, when a SIGPIPE was received on an SSL socket
90
during a call to SSL_read() e.g. because an IMAP connection had timed out,
91
a segmentation fault occurred because OpenSSL apparently cannot handle
92
calls to SSL_shutdown() from the signal handler. This has been fixed (bug
93
reported by Svend Sorensen).
94
* Building without socket support works again (Patch by Fernando J. Pereda).
96
[11.25] released 7/29/05
97
* The base64 encoder used an invalid encoding for the last unit of data if
98
(bytes_of_input % 3 == 2); it wrote two encoded bits beyond the last byte
99
then. Most base64 decoders, including nail's own, ignore such bits since
100
base64 data is always a multiple of 8-bit bytes. This might explain why
101
no harm caused by this error has been found for years. (Bug reported by
102
Lukasz Iwaszkiewicz).
103
* When a completely cached IMAP message was copied on a server supporting
104
the UIDPLUS IMAP extension and the message had not been printed during
105
the current session yet, the cached entry for the target message contained
106
the message body twice. This bug has been fixed, but cached messages
107
written by previous nail versions may still suffer from this error. To get
108
rid of them, delete them from the IMAP cache directory. The file README in
109
that directory explains its structure.
110
* When sending messages, input data that lacks a terminating newline is now
111
always encoded in quoted-printable.
112
* Wildcard host names in certificates according to RFC 2595 are now accepted
113
(Bug reported by Svend Sorensen).
114
* The new "maximum-unencoded-line-length" variable allows to configure the
115
limit on the line length that causes an ASCII text message to be sent in
116
quoted-printable if exceeded (on request by Greg Cox).
117
* Since RFC 2595 allows wildcards at other places than RFC 2818 which is
118
implemented by Mozilla NSS, host name verification is now done separately.
119
* The "sort xyz" commands now uncollapse all threads of a previously threaded
120
folder view; messages in collapsed threads were previously not shown when
121
the folder was sorted.
122
* The junk mail filter now also ignores the "X-pstn" header fields generated
123
by "postini" filtering software.
125
[11.24] released 7/14/05
126
* When the 'replyto' variable was set, sending a message resulted in a
127
segmentation fault due to a NULL pointer dereference (Bug reported by
129
* An 'imap-list-depth' variable was introduced to control the maximum depth
130
of the folder traversal for the 'folders' command if the folder separator
131
on the IMAP server is not the slash '/'.
132
* If standard output is not a terminal device, the output of the 'folders'
133
command applied to an IMAP account is no longer arranged into columns.
134
* The new '-R' option causes all folders to be opened read-only.
135
* When the From address was changed with '~H', the value obtained from the
136
'from' variable was still used for the SMTP transfer, for generating the
137
Message-Id, and for S/MIME signing. This has been fixed; the changed
138
address is now used throughout.
139
* When reading header fields from a terminal, the input buffer could
140
overflow by one byte (Patch by Ulf Harnhammar).
141
* Only applicable if Mozilla NSS is used for SSL support: If the certificate
142
of the server contains a dNSName, NSS ignores the CN. Thus if the CN
143
contains a name that does not also appear as one of the dNSNames, the
144
certificate is rejected. This case is now verified separately in nail,
145
and the certificate is accepted if the CN matches the host name of the
148
[11.23] released 6/28/05
149
* The output for the '~p' tilde escape was extended to include the fields
150
implied by the 'from', 'replyto', 'sender', and 'ORGANIZATION' variables
151
(Proposed by Bob Tennent).
152
* The 'autocc' and 'autobcc' variables are now evaluated before composition
153
of a message begins. The resulting addresses can thus be edited and viewed
154
using the '~b', '~c', '~h', and '~p' tilde escapes, but changing the values
155
of the 'autocc' and 'autobcc' variables using '~:set' has no effect on the
156
currently composed message anymore.
157
* The values of the 'from' and 'replyto' variables can now contain multiple
159
* A 'sender' variable was introduced to set the content of the 'Sender:'
160
field for outgoing messages.
161
* A '~H' tilde escape was introduced. It allows to set message-specific values
162
for the 'From', 'Reply-To', 'Sender', and 'Organization' header fields.
163
These fields are now also accepted in the editor output with the
164
'editheaders' variable.
165
* The '-r' option now actually disables tilde escapes as documented (Bugreport
167
* The INSTALL file now notes that sendmail must support the '-r' option if
168
the '-r' option of nail is used (Issue reported by Attila Zimler and
170
* The 'move' command does not anymore mark messages as moved if writing to
171
an IMAP folder fails.
172
* The 'undelete' command now also clears the 'saved' flags of messages that
174
* Fixed a crash due to a null pointer dereference that occurred when both
175
control and non-ASCII bytes but no NUL bytes were present in a message
176
body and no content type was defined in a mime.types file.
177
* The ~F and ~M tilde escapes did not work for interpolating messages with
178
binary attachments anymore since version 11.13 (Bugreport by Tivon Luker).
179
* The current message is now shown in the header summary even if it has been
181
* The 'kill' command did not operate correctly on 64-bit big-endian machines.
182
* A notification is now printed when text is saved to dead.letter.
183
* Changing %{prefix} in nail.spec works now for the RPM %install and %files
184
step too (Patch by Allan Peda).
186
[11.22] released 3/20/05
187
* In threaded mode, the thread structure is now shown using line-drawing
188
characters in the header summary. (This looks best on a UTF-8 terminal.)
189
* If a message contains both a 'References' and an 'In-Reply-To' header
190
field, 'In-Reply-To' is now preferred for threading and the ',' address.
191
* When a message part of content-type text/anything is written with the
192
pipe-type/subtype mechanism, it is now converted to the character encoding
193
of the locale (as it was before 11.14 or so).
194
* When using a hostname with a port number attached with SMTP STARTTLS,
195
strip the port number for correct host name verification (Bugreport by
198
[11.21] released 2/19/05
199
* When mail is sent using SMTP, 'Bcc:' fields are not passed to the
200
server anymore (Bugreport by Matthew Fischer.)
201
* When replying to a message part for which a 'pipe-type/subtype'
202
variable was set, quotes were inserted in the text sent to the pipe
203
instead of in the output received from it (since v. 11.14 or so).
204
* A message that is already marked as answered is not marked again if
205
it is replied to and the 'markanswered' variable is set.
206
* Nail no longer generates an error if renaming a message in a maildir
207
folder fails because both the old and the new link have the same name
208
(i.e. if the rename operation was superfluous).
209
* The new 'sendcharsets' variable was incorrectly named 'charsets' in
210
nail.rc in the last version. If nail 11.20 was the first version of
211
nail you ever installed, you should correct this by hand since the
212
file is not overwritten by 'make install'. (Bugreport by Matthew
214
* Mozilla NSS error reports are more detailed now.
215
* For the 'touch', 'mbox', 'unread', and 'new' commands, a following 'next'
216
command will advance to the next message as if the current one had been
217
printed, as it has been the case with traditional mailx (Bugreport by
219
* Files in maildir folders are now read in the order obtained from
221
* When the variables 'sign' or 'Sign' are set to the empty string, they
222
are treated as if they had been unset for the '~a' or '~A' commands.
224
[11.20] released 1/13/05
225
* A 'forward-as-attachment' variable has been introduced. If it is set,
226
the 'forward' command uses a MIME 'message/rfc822' attachment for the
227
original message instead of including it in the newly created text.
228
* The character set to be used for outgoing messages can now be specified
229
with the 'sendcharsets' variable. It can contain multiple values, with
230
the first appropriate one being used to send the message. The 'charset'
231
variable is still accepted but has been removed from the documentation.
232
* If 'sendcharsets' contains more than one character set name, the '~@'
233
tilde escape now asks about character sets for individual attachments
234
if it is invoked without arguments.
235
* If neither the 'sendcharsets' nor the 'charset' variable is set, the
236
character set for outgoing messages that contain non-ASCII characters is
237
now 'utf-8' instead of 'iso-8859-1'.
238
* When the 'encoding' variable was set to '8bit' and a message contained
239
characters that were not representable in the outgoing character set
240
in its body but not in its header, the characters were replaced by
241
question marks and the message was sent, instead of being rejected
242
(Bugreport by Suresh Ramasubramanian).
243
* When sending messages in 8bit, conversions from a multibyte terminal
244
character set failed because multibyte input characters where split
245
across two conversion buffers if they spanned across buffer boundaries.
246
* A 'reply-in-same-charset' variable has been introduced. If it is set,
247
nail tries to reply in the character set of the original message first.
248
* When the header of an outgoing message contained a non-ASCII character
249
but the body did not, the name of the international character set was
250
used for declaring the content-type of the body too. Us-ascii is now
251
used for the body in such cases.
252
* When the 'fullnames' variable was set and the full name of a recipient
253
was the only string in both header and body of an outgoing message that
254
contained non-ASCII characters, no conversion between terminal character
255
set and outgoing character set was performed for it.
256
* For files that contain ASCII control characters but no NULs, a 'charset'
257
parameter was erroneusly generated even though these are not 'text/plain'
259
* Resolved a symbol conflict with SVR4 systems like Solaris that lead to
260
failed builds because of a redeclaration of 'enum idtype'.
261
* When announcing messages after a folder open or a 'newmail' command, a
262
deleted message can no longer become the current message unless all the
263
messages have been deleted. This applies to message deleted by the
264
'folder-hook' mechanism in particular.
266
[11.19] released 1/2/05
267
* A 'chained-junk-tokens' variable was introduced for the Bayesian junk
268
mail filter. If set, the filter considers two-word tokens as described
269
in Jonathan A. Zdziarski's paper 'Advanced Language Classification using
270
Chained Tokens', <http://www.nuclearelephant.com/papers/chained.html>.
271
* When running in a UTF-8 locale, unprintable characters are now replaced
272
by Unicode control pictures or the Unicode replacement character when
273
printing to a terminal.
274
* The 'show' command now also avoids writing unprintable characters to a
275
terminal. Same for the 'classify' command with the 'verbose' option set.
276
* Only MIME-encode words in header fields if they start with '=?' or end
277
with '?=' (instead of encoding any words containing '?', '=', or '_'),
278
and declare them as 'us-ascii' if they do not contain any bytes with the
279
highest bit set (Bugreport by Suresh Ramasubramanian).
280
* Fixed a junk mail tokenizer bug which caused the remainder of a message
281
to be ignored if a period occurred at the first position following another
283
* 'In-Reply-To' fields that refer to multiple message-IDs are now handled;
284
the first matching ID wins for the 'thread' command, and the ',' address
285
selects all referenced messages.
287
[11.18] released 12/9/04
288
* When the 'write' command asks for an attachment filename and a '|' is
289
given as the first character, the attachment is piped to the rest of
290
the string interpreted as a shell command (contributed by Stephen Isard).
291
* The ~p escape now includes recipients that are local files in its output
292
(Bugreport by Bob Tennent).
293
* The 'ungood' and 'unjunk' commands put the wrong marking on the messages
294
they were applied too (regardless of the database update they performed).
295
'Ungood' now marks a message as being junk, and 'unjunk' clears the junk
297
* A 'record-resent' variable has been introduced. If it is set, the 'resend'
298
and 'Resend' commands save messages to the 'record' folder. (Proposed by
300
* 'redirect' and 'Redirect' are available as aliases for 'resend' and
301
'Resend', respectively (proposed by Bob Tennent).
302
* A 'forward' command has been introduced that behaves more like the
303
forwarding mechanisms of other contemporary mail user agents. Along with
304
it, there are 'fwdignore', 'fwdretain', 'unfwdignore', and 'unfwdretain'
305
commands, and a 'fwdheading' variable. The 'forward' command is probably
306
only useful with a 'fwdretain' command executed before. Such a command is
307
executed by default in /etc/nail.rc for new installations; for other sites,
308
it is recommended that it be added manually.
309
* Characters with width 0 (e.g. Unicode combining characters) are now handled
310
correctly in header summaries.
311
* When a message in a multibyte character set like UTF-8 that was encoded
312
as quoted-printable was printed and a multibyte character was separated
313
by a '=' continued line, it was not decoded correctly since release 11.14.
315
[11.17] released 11/18/04
316
* When the 'write' command was used to save attachments in releases after
317
11.14, the output file was not properly closed. Since writes to that file
318
are buffered, data was only completely written when nail was quit.
320
[11.16] released 11/18/04
321
* When a header field line that started and ended with a MIME encoded word
322
followed a line that ended with a MIME encoded word, the newline character
323
preceding the next header field was erroneously omitted when a message was
324
displayed since version 11.14.
325
* If a header fields contains a MIME encoded word and a large string of
326
ASCII characters at another point, the large string is encoded as multiple
327
encoded words to comply to RFC 2047.
328
* The pipe-type/subtype mechanism did not work for MIME contents other than
329
text/anything since release 11.14 (Bugreport by Bob Tennent).
330
* When S/MIME support was built using Mozilla NSS, the verification of an
331
encrypted message that had not yet been downloaded from an IMAP or POP3
332
server failed at the first attempt.
333
* Previous versions refused to write messages or attachments to /dev/null
334
on some Solaris versions.
335
* If the 'from' variable is set to an address that does not contain an '@'
336
character, no (syntactically incorrect) Message-ID is generated anymore.
338
[11.15] released 11/10/04
339
* The compilation process was fixed to work without CPPFLAGS=-D_GNU_SOURCE on
340
Linux/glibc again, although mremap() is not available then. It is therefore
341
recommended to use CPPFLAGS=-D_GNU_SOURCE with Linux/glibc. (Bugreports by
342
Stephen Isard, Laurens Blankers, Bob Tennent.)
343
* The handling of interrupts during IMAP and POP3 operations has been revised
344
as discussed on the mailing list. See the NOTES section in the manual page
346
* When an editor is invoked using ~e, ~v, 'edit', or 'visual', interrupts are
347
no longer ignored in its process. With most editor implementations, this
348
does not make any difference since they enable interrupts themselves again;
349
however, traditional implementations of 'ed' do not.
350
* The 'forward' command has been renamed to 'resend' for alignment with the
351
terminology of RFC 2822; it is still available under its old name for at
352
least a transition period. Also, 'Resent-From:' and related fields are now
353
prepended to older fields as specified.
354
* A 'seen' command has been introduced; it takes a message list and marks the
355
messages as having been read.
356
* The semantics of the 'unjunk' command have been changed; it is now exactly
357
the opposite of the 'junk' command and undoes its effects. An 'ungood'
358
command has also been introduced to do the same for a previous 'good'
360
* Since many versions of Linux do not correctly update the modification time
361
of a file with mmap(), utime() is now called to force an update when the
362
junk mail database is changed.
363
* A mbox-style "From " line is now generated when a "message/rfc822" MIME
365
* The 'multipart/digest' MIME content type is now properly handled.
366
* When a malformed MIME multipart message is encountered that contains the
367
boundary string on two immediately following lines, the second line is no
368
longer treated as the begin of a new part.
369
* The makeconfig script and the installation instructions now include support
370
for building nail with Mozilla NSS on Solaris.
371
* Building IMAP GSSAPI authentication with Heimdal Kerberos libraries works
374
[11.14] released 11/4/04
375
* A 'Z' command was introduced. It is similar to the 'z' command, but scrolls
376
only to header groups that contain at least one new or flagged message. This
377
is useful for reading large mailing lists.
378
* The attachment decoding functions have been rewritten. As a result, nail is
379
now able to decrypt and display encrypted parts of multipart messages.
380
* For MIME messages of type 'multipart/alternative', only the text/plain part
381
is displayed now if one is present with the 'print'-like commands. The
382
'print-alternatives' variable can be set to print all parts, as it was
383
done previously. The 'Print'-like commands always print all parts.
384
* The ~F and ~M escapes now cause all parts of MIME multipart messages to be
385
included in the message being composed.
386
* A 'show' command was introduced to make the raw MIME-encoded message text
388
* Modifications to messages made using the 'edit' and 'visual' commands do
389
no longer cause changes to the current folder. This is the behavior demanded
390
by POSIX.1-2004. MIME decoding and decryption are now performed before each
391
message is passed to the editor. If you prefer the old behavior, set the new
392
'writebackedited' variable.
393
* When large amounts of messages were deleted on an IMAP server (or many
394
other STORE commands were generated e.g. because many messages were marked
395
as read), nail sent all of these commands asynchronously. This did slow
396
down operation with some servers and eventually lead to a deadlock after
397
some thousand commands were sent. Nail now waits for server responses in
398
defined intervals. (Bugreport by Stephen Isard.)
399
* The handling of read-only compressed mbox format folders was fixed.
400
* In version 11.12, fcntl() read locking was erroneously introduced for files
401
other than system mailboxes too. It is now disabled for such files again.
402
* If the junk mail database is stored in uncompressed format, mmap() is now
403
used to access it if possible.
404
* Recipients that are file names are now removed from the Cc: and Bcc: fields
405
of outgoing mail too, as it was already done for To:.
406
* If S/MIME support was built using OpenSSL and an encrypted message was tried
407
to be decrypted without an appropriate private key, nail dumped core due to
408
a NULL pointer dereference. It now fails sanely.
410
[11.13] released 10/27/04
411
* Backslashes outside a quoted command argument are now handled properly.
412
* For junk mail detection, the characters '_', '#', '&', and '%' are now
413
considered as word constituents. Also the '/' character is kept if it
414
occurs between digits, and the ';' character if a '&' was previously
415
encountered within the same word.
416
* For junk mail detection, fields of MIME part headers are now handled like
417
fields of the main header.
418
* For junk mail detection, most HTML tags are now ignored, similar to the
419
proposal in Paul Graham's 'Better Bayesian Filtering'. Also, the top and
420
bottom probabilities are now adjusted to the number of messages used for
421
building the database.
422
* When the junk mail database is updated, it is now truncated beyond the
423
last byte just written. Previously, stale data could have remained after
424
this point, which was no problem for nail itself, but could make zcat(1)
426
* In the junk mail database, hashes of 56 bits are now used to represent
427
words. A side-effect is that it is possible to test for occurences of
428
given words with a higher certainty.
429
* To take advantage of the changes to the junk mail recognition method,
430
you have to delete your junk mail database and have to create it again.
431
* The new 'probability' command prints the junk statistics for given words.
432
* The 'answered', 'classify, 'draft', 'flag', 'good', 'junk', 'undraft',
433
'unflag', and 'unkill' command now make their argument the current
434
message. This is now also done by the 'score' command unless the new
435
score of the message is negative.
436
* Very old versions of OpenSSL are now detected by the configuration script.
437
OpenSSL code will not be included if the version is too old (Bugreport by
440
[11.12] released 10/21/04
441
* Blank characters between MIME encoded words in header fields are now
442
discarded for display purposes as demanded by RFC 2047.
443
* Unless the 'fullnames' variable was set, nail did not generate 'To' header
444
fields when replying to messages since version 11.5 (Bugreport by Bob
446
* An internal problem in the token scanning for junk mail detection has been
447
fixed; the end of the mail header was not always correctly determined.
448
* Special characters in IMAP or POP3 account strings like 'imap://user@host'
449
can now be escaped using URL notation, e.g. 'foo%2Fbar' for 'foo/bar'. It
450
was previously not possible to use these characters. This is a slightly
451
incompatible change as the '%' character must now also be escaped, as
452
'%25'. (Bugreport by Thomas Wolff.)
453
* The system mailbox is now locked using fcntl(2) for reading too (Problem
454
reported by Thomas Wolff).
455
* When new mail arrives in an IMAP mailbox, the current message is now
456
properly advanced by the 'next' command if it has been printed before.
457
* If neither the host name nor the user's email address can be determined,
458
no Message-ID fields are generated.
459
* The empty string is now accepted as a message subject for sending.
461
[11.11] released 10/13/04
462
* When sending messages that contain ASCII control characters but neither
463
NULs nor non-ASCII characters, the quoted-printable MIME encoding is now
464
used instead of 7bit.
465
* A dangling pointer after a memory reallocation could result in a coredump
466
when the junk mail database was updated by a 'good' or a 'junk' command.
467
* The code for accessing the junk mail database has been made more machine-
468
independent. It will not make a difference on most of the platforms on
469
which nail runs. If your compiler does insert padding into C structs that
470
contain only members of type char, you will have to create the junk mail
471
database from scratch again, though.
473
[11.10] released 10/3/04
474
* The creation of quoted-printable encoded MIME data was broken in 11.9.
475
* Junk mail filter improvement: Do not ignore single-letter words; extract
476
hostnames from URLs and store them separately.
478
[11.9] released 10/2/04
479
* A Bayesian junk mail filter has been added. See the 'EXAMPLES' section of
480
the manual page for an introduction.
481
* Fixed an IMAP response parsing bug which caused nail to hang on messages
482
that contained no text with many IMAP servers.
483
* Empty lines within the command lists for account or macro definitions are
485
* An attempt to define a macro twice is now properly detected and results in
487
* Nail was reported to hang sporadically when sending multipart messages on
488
HP-UX. A possible reason for such problems on systems without /dev/urandom
489
has been eliminated (Bugreport by Patrick Briggs).
490
* Fixed a small internal stack buffer overflow that occured regardless of
491
input data and lead to segmentation faults on some platforms when the
492
header summary was printed, depending on the stack layout.
493
* Nail now builds without socket (networking) support again.
494
* Function declarations and definitions have been converted to ANSI C. This
495
should cause no problems since the code used ANSI C features anyway before.
497
[11.8] released 9/23/04
498
* Support for S/MIME has been added. Introductory documentation is available
499
in the 'EXAMPLES' section of the manual page.
500
* It is now possible to use Mozilla NSS instead of OpenSSL for both S/MIME
501
and SSL/TLS. This makes it possible to use Mozilla to manage the certificate
502
databases. See the INSTALL file for futher details. Note to redistributors:
503
The new file nss.c is governed by the Mozilla Public License (MPL), so make
504
sure that you comply to it (or delete that file and do not use NSS).
505
* Certificate revocation lists (CRLs) can now be used with S/MIME and SSL/TLS
506
in combination with OpenSSL (for NSS, no special support is necessary).
507
* New 'remove' and 'rename' commands for mailboxes are available.
508
* Variable names that contain an '@' are now converted to all-lowercase
509
internally. Thus in variable names like disconnected-user@host,
510
imap-auth-user@host, password-user@host, smtp-auth-user@host, the case
511
of the user@host part does not matter anymore.
513
[11.7] released 9/16/04
514
* A collapsed view of message threads was introduced. See the 'collapse'
515
and 'uncollapse' commands, and the 'autocollapse' variable.
516
* The 'z' command now always shifts the header summary by a full screen
517
of messages and is not disturbed by deleted, hidden, or killed messages
519
* When an 'account' command was executed and messages were sent to mbox
520
when the old mailbox was quit, the mbox on the new account was used.
521
Messages from the old mailbox now go to the mbox on the old account.
522
* Nail did not properly keep the mark for the current message if messages
523
were expunged on an IMAP server.
524
* The 'move'/'Move' command now sets the current message to the first
525
undeleted message following the last message it moved, like the 'delete'
527
* The 'markanswered' variable has been fixed to be effective with the
528
'Reply' command too, and not to mark messages if the reply has been
529
aborted by '~q' or '~x' or if a send error was detected.
530
* If the initial connection setup to an IMAP server is interrupted or if
531
authentication fails, folder hooks are no longer executed.
532
* If the 'inc'/'newmail' commands were executed on an IMAP connection that
533
was already closed by the server, nail did not catch SIGPIPE properly and
535
* IMAP or POP3 servers that erroneously send a Unix 'From ' line at the
536
beginning of message headers are now handled gracefully.
538
[11.6] released 9/7/04
539
* An IMAP performance improvement introduced in release 11.5 lead to an
540
inconsistency in the internal states if a command like 'copy' was
541
followed by another command that fetched a message text from the server.
542
Due to an error in the IMAP response parser, this sometimes resulted in
544
* Support for the 'maildir' folder format was added.
545
* The 'account' command was changed; its syntax and semantics are similar
546
to the 'define' command now. This change is downwards compatible, and
547
old 'account' definitions are still accepted.
548
* If the account listing generated by the 'account' commands without an
549
argument exceeds the screen height, the pager is invoked now.
550
* It is not an error to 'unset' an undefined variable from within a 'call'
551
command or folder hook now.
552
* A 'defines' command was added to print the currently defined macros.
553
* The header summary that is printed when new mail arrives erroneously
554
included killed messages.
555
* When a message in a multibyte character set like UTF-8 that was encoded
556
as quoted-printable was printed and a multibyte character was separated
557
by a '=' continued line, it was not decoded correctly.
558
* The '&' addressing mode is now recognized in non-threaded mode too,
559
although it has no special effect then.
560
* When the 'thread', 'sort', 'unthread', or 'unsort' commands are called
561
from within a folder hook, they do not print a header summary anymore.
562
Also, the first new message is made the current message correctly now
565
[11.5] released 9/5/04
566
***************************************************************************
567
* A mailing list has been created to discuss future nail developments and *
568
* problem reports. If you like to participate, you can subscribe at *
569
* <https://lists.sourceforge.net/lists/listinfo/nail-devel>. Regardless *
570
* of your subscriber state, bug reports etc. should be sent to the list *
571
* address <nail-devel@lists.sourceforge.net> from now on. *
572
***************************************************************************
573
* A new message addressing mode '(criteria)' is now available. It uses the
574
IMAP SEARCH command if possible, and otherwise performs the equivalent
575
actions locally. This addressing mode is of interest even for those people
576
who do not use IMAP with nail because it adds powerful generic search
577
methods, such as a way to search within message bodies.
578
* The 'folders' command now really works with IMAP accounts. It also accepts
579
an argument to list the subfolders of a specific folder.
580
* The new 'headline' variable allows to customize the columns in the header
582
* The new 'attrlist' variable allows to customize the attributes column in
584
* The message flags 'Flagged' (F), 'Answered' (A), and 'Draft' (T) are now
585
available, for IMAP mailboxes as well as for local folders. See the 'flag',
586
'unflag', 'answered', 'unanswered', 'draft', and 'undraft' commands and the
587
'markanswered' variable.
588
* The 'kill'/'unkill'/'score' commands were added to make messages invisible
590
* It is now possible to define sequences of commands as macros, see the
591
'define', 'call', and 'undef' commands. Macros can also be automatically
592
invoked when a folder is opened using the 'folder-hook' and
593
'folder-hook-fullname' variables.
594
* The new 'move' and 'Move' commands mark messages for deletion when they
595
have been successfully transferred to the target folder.
596
* The new addressing mode '`' selects all messages that were included in the
597
message list to the previous command.
598
* The combination of the previous additions allows a score/filter file to be
599
set up; this is described in the EXAMPLES section of the manual page.
600
* New 'noop' command to send NOOP to POP3 or IMAP servers.
601
* The IMAP UIDPLUS extension (RFC 2359) is now used if available on the
602
server. It speeds up the IMAP cache when copying messages to IMAP folders;
603
the message is copied directly to the cached target folder then and does
604
not need to be downloaded again when it is accessed there.
605
* When an IMAP SELECT command fails and a connection to a folder that is
606
not located on the same server is made afterwards, the connection to
607
the old server is properly terminated now.
608
* Command lines like 'nail -A imap -f @mailbox' now work.
609
* IMAP or POP3 user names that contain an '@' character, such as 'foo@bar'
610
in 'imap://foo@bar@hostname', are now handled (Bugreport by Lars
612
* If the 'autoinc'/'newmail' variables are set and new mail arrives in
613
threaded/sorted mode, no summary of old headers is printed anymore.
614
* If new mail arrives and messages are expunged on an IMAP server at the same
615
time, all of the new messages are now announced correctly.
616
* The 'inc'/'newmail' commands now set the current message to the first new
617
message again. This undoes the change made for version 11.1.
618
* When the 'autoinc'/'newmail' variables are set and new mail arrives, the
619
'next' command or enter key prints the next message as usual if the current
620
one has been printed; it printed the current message again in this situation.
621
* IMAP performance improvement: When new mail arrives, or when messages have
622
been expunged, metadata is fetched only for the new messages, instead of
623
fetching it for all messages in the folder again as it was done before.
624
* IMAP performance improvement: If the header of a message was already
625
fetched from an IMAP server, nail now uses 'BODY.PEEK[TEXT]' when
626
fetching the whole message and does not download it again.
627
* IMAP performance improvement: The CLOSE command is now used instead of
628
EXPUNGE when a mailbox is quit.
629
* Cached IMAP performance improvement: When a mailbox is opened and messages
630
are cached, their sizes and internal dates are taken from the cache.
631
* The wcwidth() library function is now used to determine the width of
632
multibyte characters if it is available.
633
* If $MAIL does not exist and 'emptystart' is set, a proper error message
634
is printed now, and a following 'account' command succeeds.
635
* The SSL code compiles with older versions of OpenSSL (e.g. 0.9.6b) again
636
(Bugreport by Lutz Horn).
638
[11.4] released 8/29/04
639
* The SSL/X509 DNS name verification code was fixed; it used incorrect code
640
from a book which sometimes caused segmentation faults (Bugreport by Lars
642
* The 'disconnect' command now accepts an optional message list specifying
643
messages to be read into the IMAP cache before the connection is closed.
644
* The new 'cache' command reads a list of messages into the IMAP cache.
645
* IMAP BODY.PEEK[] is now used when fetching messages from the server, and
646
the '\Seen' flag is set when the 'quit' command is executed. Thus an
647
'exit' command does not cause messages marked to be read.
648
* The 'connect'/'online' commands now announce new messages that are found
650
* The 'replyto' variable can now contain multiple addresses.
651
* If the 'sort' command is used without arguments, the current sorting
652
criterion is printed.
653
* The 'sort', 'thread', 'unsort', and 'unthread' commands now only print a
654
header summary if the 'header' variable is set.
655
* The 'size' command has been fixed to print the full sizes of messages that
656
have not yet been entirely read in IMAP and POP3 folders, instead of the
657
sizes of the already downloaded parts.
658
* Deleted messages remained in the cache until an IMAP folder was accessed
659
a second time since 11.3. They are now deleted immediately when a folder
660
is quit in online mode.
661
* The configuration system now also checks for iconv() in libiconv if it is
662
not found in one of the standard libraries (Matthias Andree).
663
* Specifying LIBS on the make command line does now work with several make
664
implementations of commercial Unices too (Bugreports by Matthias Andree,
665
Matthew Sienkiewicz).
667
[11.3] released 8/18/04
668
* When an IMAP mailbox is opened in threaded/sorted mode and new messages
669
arrive or old ones are deleted, the internal thread structure is now
670
properly rebuilt. The previous failure to do so made nail dump core in
672
* The 'forward' command was fixed; it used an unitialized variable since
673
release 11.2, possibly leading to segmentation faults (Bugreport by Bob
675
* The behavior of the 'autoinc'/'newmail' variables regarding IMAP folders
676
was changed. If both variables are unset, announcements are printed only
677
if messages have been deleted on the server.
678
* The 'new'/'unread' commands now also work with IMAP folders.
679
* When a message is deleted or saved in disconnected mode, its cache entry
680
is not removed until the message is actually removed from the server in
681
online mode. This in particular means that saved or 'mbox'ed messages
682
are still available in IMAP inboxes in disconnected mode until they have
683
reached their target folder in online mode.
684
* When new messages were received in an IMAP mailbox after messages had
685
been deleted in a previously visited IMAP mailbox, 'Expunged x messages'
686
was erroneously printed.
688
[11.2] released 8/15/04
689
* A message thread-oriented mode is now optionally available; cf. the 'thread'
690
and 'unthread' commands, the 'autothread' variable, and addressing changes.
691
* It is also possible to sort messages by various other criteria; cf. the
692
'sort' and 'unsort' commands, the 'autosort' variable, and addressing
694
* New 'fullnames' variable: When replying to a message, full names for the
695
recipients are included if it is set, instead of using the plain email
697
* New commands 'disconnect' and 'connect'/'online' to switch to disconnected
698
IMAP mode and back while retaining the current mailbox.
699
* IMAP GSSAPI authentication was implemented; it has been successfully
700
compiled with MIT, Solaris, and HP-UX GSS libraries. See the 'imap-auth'
701
and 'imap-auth-user@host' variables.
702
* CRAM-MD5 authentication was implemented for IMAP and SMTP. See the
703
'imap-auth' and 'smtp-auth' variables.
704
* POP3 APOP authentication is now supported; see 'pop3-use-apop'.
705
* STARTTLS is now also supported for IMAP and POP3; see 'imap-use-starttls'
706
and 'pop3-use-starttls'.
707
* Autodetection of the terminal character set works again (did not work since
709
* The 'showlast' variable works again; it had no effect since version 11.0.
710
* Made it compile using the HP-UX C compiler again (did not work since 11.0).
711
* Standard input is now redirected to /dev/null in the child process that
712
contacts the MTA. A result is that ssl-verify=ask has the same effect as
713
ssl-verify=strict for SMTP servers, and does not put the terminal in an
714
indeterminable state anymore.
715
* The initial connection to IMAP or POP3 servers is now made before the
716
previous mailbox (if any) is quit. Thus if a server is unreachable, nail
717
keeps the previous mailbox open instead of getting in a mailbox-less
719
* Stale cache entries for messages deleted on the server were not removed
720
in some circumstances.
721
* The 'inc'/'newmail' commands are now ignored in disconnected mode and no
722
longer display errors about hidden (uncached) messages.
723
* The cache now compiles and works on systems that lack fchdir(), such as
724
some Cray machines (Thanks to Cray-Cyber.org).
725
* The defaults for /etc/nail.rc have been updated. This will have no effect
726
on existing installations unless the file is copied by hand.
727
* Nail does not hang anymore in disconnected mode if a message addressed
728
with ^ or $ is not cached.
730
[11.1] released 8/8/04
731
* IMAP mailboxes can now be cached locally. See the string variable
732
'imap-cache' in the manual page. The cache can also be used for
733
disconnected operation mode, see 'disconnected' and also the '-D'
735
* When nail is notified by the server that messages have been expunged,
736
the user is informed about this condition even if new messages have
738
* When the group of variables for an 'account' command contains a variable
739
prefixed by 'no...' and the related variable is not set, it is not an
741
* The 'headers' command has been made faster when operating on an IMAP
742
mailbox by bundling IMAP requests.
743
* When a 'folder' command was executed to change from an uncompressed
744
file to a compressed one, the latter was incorrectly detected as
746
* Unless one of the 'autoinc' or 'newmail' variables is set, nail does
747
not actively check for new messages in the current IMAP mailbox before
748
each prompt. New messages may nevertheless be detected after any
749
other IMAP command has been issued, so the effect is mostly that
750
not every nail command causes an IMAP command to be sent. Also if
751
'autoinc' or 'newmail' are set to the value "noimap", they are
752
ignored for IMAP mailboxes but still effective for local folders.
753
* The 'inc' and 'newmail' commands now use the same method to determine
754
the location of the current message as the 'folder' command does. That
755
means if there has been new mail before that is still unread when newer
756
mail arrives, the older messages are displayed first.
757
* Nail does not generate 'Sender:' fields anymore.
758
* If OpenSSL is not available, STARTTLS support is not built, and nail
759
compiles again without OpenSSL.
761
[11.0] released 7/30/04
762
* IMAP support has been added. It should considered to be in beta state
763
now, but should not have any disturbing effects on other code unless
764
it is actually used. (So the version jump does not require vendors to
765
continue to ship older releases.)
766
To get started with IMAP, see the manual page for the 'account',
767
'folder', and 'imap' commands, and for the 'folder' variable, as
768
well as the EXAMPLES and NOTES sections.
769
* Support for SMTP AUTH LOGIN was added (contributed by John Fawcett).
770
* It is now possible to encrypt SMTP with SSL/TLS, using the STARTTLS
771
method as well as with the SMTPS variant.
772
* New 'account' command to set groups of variables.
773
* Line and column limits (used e.g. for the header summary) are updated
774
when the size of the terminal is changed (handling SIGWINCH).
775
* If saving an outgoing message to the folder given in the 'record'
776
variable fails, the message is not sent but put in 'dead.letter'
777
instead. This rarely happens with local record folders, but is of
778
concern if 'record' refers to an IMAP mailbox.
779
* For addresses specified with the ~b, ~c, ~h, and ~t tilde escapes
780
or by the 'editheaders' method, if a comma, parenthesis, angle bracket,
781
or quoting character appears, only the comma is accepted as an address
782
separator. Otherwise, whitespace separates addresses as elsewhere. This
783
allows the insertion of comments in recipient addresses and more closely
784
matches the behavior of System V mailx. (Thanks to Ryan Lovett and Hilko
786
* An internal version of getopt() is now used to properly work around
787
system defects such as the option reordering on GNU libc based
788
systems. If you really prefer the libc version, remove getopt.o from
789
the list of objects in the Makefile. (Note that nail already worked
790
around the glibc problem, so unless _your_ patches changed its
791
behavior, use the new internal getopt() to remain compatible.)
792
* The undocumented facility to pass sendmail options on the command
793
line of nail has been removed because it was not compatible with
794
POSIX and System V. If you need to pass options to sendmail, create
795
a shell script which invokes it appropriately and let the nail
796
variable 'sendmail' point to its location.
797
* Fixed the text of some usage messages (thanks to Christian Reiber).
799
[10.8] released 6/28/04
800
* Support for IPv6 is not built by default anymore. There are just too
801
many hosts on which it doesn't work while the IPv4 functions work
802
fine. If you have use for IPv6 support and know that it works, enable
804
* autoconf and automake are no longer used for building. See the file
805
'INSTALL' which describes the transition of existing build setups.
806
* The --enable-all-chars configuration option is no longer available. A
807
run-time nail option variable 'print-all-chars' has been introduced
809
* Nail can now handle folders in compressed mbox format. If a file name
810
given on the command line or with the 'folder', 'copy', and 'save'
811
commands ends with '.gz' or '.bz2', gzip(1) or bzip2(1) are executed
812
when reading and writing to it. Likewise, if a folder 'name' does not
813
exist, but either 'name.gz' or 'name.bz2' are found, the compressed
814
folder is used. To make use of compressed folders, just compress the
815
respective mbox format file.
816
* If the variable SHELL is not set, the default shell is now /bin/sh
818
* If the variable EDITOR is not set, the default editor is now 'ed', as
820
* Introduced an 'ssl-verify-user@host' variable as an account-specific
821
variant of 'ssl-verify'.
822
* Introduced an 'ssl-method-user@host' variable as an account-specific
823
variant of 'ssl-method'.
825
[10.7] released 3/19/04
826
* The IEEE and The Open Group have granted permission to use parts of
827
the POSIX standard text for the documentation of 'nail'. See the
828
file 'COPYING' for general terms. The manual page has been updated
830
* If the variable 'sendwait' is set and the mail transfer agent returns
831
a non-zero exit status, the exit status of nail will also be non-zero
833
* For the first (textual) part of a multipart message, create a
834
'Content-Disposition: inline' header field to make it clear to other
835
MUAs that this part should be displayed directly (suggested by
836
Alexandros Gougousoudis).
837
* Base64 encoded messages were not decoded correctly on machines where
838
the 'char' type is unsigned by default (Fix by Benjamin C. W. Sittler,
839
reported by Hilko Bengen).
840
* Any address that contains a '@' character is treated as an internet
841
mail address (even if it contains a '/' character before).
842
* Fixed the 'autocc' and 'autobcc' variables to really accept address
843
lists instead of single names.
844
* If a message is sent to both addressed recipients and local folders,
845
don't pass the file names with the SMTP client.
846
* The ~w command appends the message text to an existing file instead
847
of refusing to write, as POSIX.2 states (Bugreport by Bob Tennent).
848
* Escape sequences in quoted arguments to the alias, unset, chdir, cd,
849
source, set, group, ungroup, unalias, file, folder, if, else, endif,
850
alternates, ignore, discard, retain, saveignore, savediscard, saveretain,
851
unignore, unretain, unsaveignore, unsaveretain, shortcut, and unshortcut
852
commands are no longer handled specially. This is for compatibility with
853
System V mailx and POSIX standards.
854
* The echo command accepts the same escape sequences as specified for
855
echo(1) in recent Open Group standards.
856
* Only the \t and \n sequences are handled for the ~a, ~A and ~i tilde
857
commands and the insertion of the MAILX_HEAD and MAILX_TAIL strings
858
(Thanks to Bob Tennent).
859
* Solaris: When the MAILX_TAIL variable was set and a ~p command was
860
issued before the message was sent, parts of the text were sent twice.
861
* Introduced a 'hostname' variable to override the value obtained from
862
uname(2) and getaddrinfo(3) (William Bader).
864
[10.6] released 11/15/03
865
* A nested MIME multipart message with a sub-part piped through an external
866
program (such as HTML with w3m) caused nail to abort after SIGPIPE if the
867
PAGER command terminated before reading the whole message.
868
* A 'next' command following a 'hold' command displays the next message
869
after the one the 'hold' applies to (Bugreport by Mike Sipser). This
870
might not be exactly what POSIX specifies, but it makes sense and is
871
consistent with traditional behavior. If you actually favor 'next'
872
not to advance after 'hold', contact me and I'll add a configuration
874
* If the value of the 'record' variable started with an environment
875
variable reference such as '$HOME' or with a tilde and the 'outfolder'
876
variable was set, it was not expanded correctly (Bugreport by Volker
879
[10.5] released 4/27/03
880
* A command line argument specifying a To-address can contain multiple
881
recipients separated by commas (Werner Fink).
882
* 'showname' variable (based on code contributed by Stephen Isard).
883
* Display nonprintable characters in mail addresses as question marks.
884
* Fixed MIME encoding of user's From address with respect to quoted
886
* 'autobcc' and 'autocc' variables.
887
* The effects of the 'bsdcompat' variable are now individually configurable.
888
This introduces the 'bsdflags', 'bsdheadline', 'bsdset', 'bsdannounce',
889
'askatend', 'bsdorder', and 'bsdmsgs' variables.
890
* The current message pointer could be garbled when 'newmail' was set and
891
new messages appeared (Fix by Stephen Isard).
893
[10.4] released 1/19/03
894
* A missing #ifdef HAVE_ICONV caused build errors on platforms without
895
iconv() support (J.A. Neitzel, Jens Schleusener, Lars Kellogg-Stedman,
896
Felicia Neff, Chris Pinnock).
897
* Extraction of parts from header fields with more than 2560 characters
898
fixed (Lukasz Sznuk, William Cherry).
899
* Source archive name in nail.spec corrected (Didar Hussain).
900
* Fixed segmentation violation when encountering multipart header fields
901
that contain no ':' character (William Cherry).
902
* Respect the 'allnet' variable when comparing strings in message lists.
903
* IPv6 support (Jun-ichiro itojun Hagino).
905
[10.3] released 11/29/02
906
* Fixed a buffer overflow that occured with iconv() support disabled (Stan
908
* MIME encoding of '(non-ASCII-string' comment strings in address fields
909
fixed (non-ASCII-string immediately following the opening parenthesis).
910
* Convert header fields to outgoing character set even if the body contains
911
ASCII characters only.
912
* Build properly on platforms without socket support (J.A. Neitzel).
913
* Don't require towupper() with mbtowc() (J.A. Neitzel). Searches for
914
wide characters in subject fields are not case-insensitive without
916
* Some OpenBSD and NetBSD versions don't adjust the kernel file offset
917
properly after a 'fflush(); rewind()' sequence, violating POSIX.1.
918
This caused empty mails to be sent if the 'record' variable was set.
919
The code now works around the problem (Thanks to J.A. Neitzel).
920
* NetBSD lacks gethostent(), causing the configure check for socket
921
support to fail. gethostbyname() is now used instead (Thanks to J.A.
924
[10.2] released 11/23/02
925
* Fixed a NULL pointer dereference that occured if the 'showto' variable
926
was used without the 'alternates' command (Bugreport by Bob Tennent).
927
* POP3 client with SSL/TLS support. See the description of the 'folder'
928
command, the 'EXAMPLES' and 'NOTES' sections in the manual page, and
929
the description of the new variables 'password-user@host,
930
'pop3-keepalive', 'ssl-no-default-ca', 'ssl-v2-allow', 'ssl-verify',
931
'ssl-ca-dir', 'ssl-ca-file', 'ssl-cert', 'ssl-cert-user@host',
932
'ssl-key', 'ssl-key-user@host', 'ssl-method', 'ssl-cipher-list'
933
'ssl-rand-egd', 'ssl-rand-file'. You need to execute './configure
934
--with-openssl' to compile with SSL support.
935
* Respect assignments to the MAIL variable in startup scripts.
936
* Secondary mailboxes with %:folder (see the 'folder' command).
937
* 'shortcut' and 'unshortcut' commands.
938
* NAIL_EXTRA_RC variable.
939
* ',' address (matches the parent of the current message).
940
* ';' address (matches the message that was previously the current message).
941
* Recognize MIME in header field searches with '/'.
942
* The 'save' and 'copy' commands use the mbox file if invoked without
944
* Use wordexp() to expand special characters in filenames if available.
945
$SHELL-specific metacharacters are thus no longer recognized.
946
* The output of the 'from' command is piped through the pager if it exceeds
948
* 'datefield' variable.
949
* 'editheaders' variable (contributed by Stephen Isard).
950
* '-t' command line option.
951
* 'term' condition for 'if' command (contributed by Stephen Isard).
952
* Don't prepend a message with a blank line when saving if a blank line
953
is already present at the end of the file.
954
* Fixed quoting for command argument of 'pipe' (Stephen Isard).
955
* 'save' and 'copy' commands accept quoted file names with embedded whitespace.
956
* Allow '|shell-cmd' (Stephen Isard).
957
* 'piperaw' variable (Stephen Isard).
958
* If 'askcc' or 'askbcc' are set and 'bsdcompat' is not set, the user is
959
asked for additional recipients before composing the message starts.
960
* Don't append an additional newline to filenames in recipient lists.
961
* Message lines starting with '>' were truncated by the 'forward' command.
962
* Don't rename old Resent-xxx fields when creating new ones.
963
* Deletion of attachments with '~@' fixed.
964
* Don't mark the saved copy of an unread message as read.
965
* Fixed use of a char variable for getc() (Arthur Korn).
967
[10.1] released 10/14/02
968
* POSIX.2 leaves the characters following 'From ' unspecified, so the
969
presence of sender or date strings is no longer required to separate
970
messages in a folder.
971
* 'inc' and 'newmail' commands, 'autoinc' and 'newmail' variables.
972
* Don't use iconv() if a message contains us-ascii characters only
973
(Problem reported by Thomas Fieseler).
974
* Don't report 'Held n messages in mailfile' if n == 0.
975
* Don't report a 'Fatal error in process' with '!' unless bsdcompat is set.
976
* Missing fflush() caused empty mails with some GNU libc versions to be
977
sent, unless SMTP was used (Problem reported by Thomas Fieseler).
979
[10.0] released 9/29/02
980
* Base64 decoding was calling malloc(0) which caused "Out of memory"
981
errors on some platforms (Bugreport by Stan Tobias).
982
* Install nail.rc in the place specified with --with-rcfile (Bugreport by
984
* Code cleanup in send.c (Contribution by Stan Tobias).
985
* When writing attachment data, the 'w' command will no longer append to
986
a file, but truncate and overwrite it.
987
* Extract filenames from obsolete 'Content-Type: ...; name=file' fields (Stan
989
* Delete directory components from attachment filenames before saving (Fix by
991
* NAILRC variable (based on a suggestion by Stan Tobias).
992
* "bsdcompat" and "prompt" variables; prompt defaults to "? ".
993
* "allnet", "debug", "flipr", "outfolder", "sendwait", and "showto" variables
994
* "bang" variable. NOTE: Previous versions behaved as if this variable
996
* ~a and ~A tilde escapes with standard semantics.
997
* -F command line option, "Mail", "followup", "Followup", "Copy" and "Save"
999
NOTE: This changes the abbreviation of the "folder" command to "fold".
1000
* "set nofoo" unsets the variable "foo". The variables "nosave" and "noheader"
1001
have therefore changed in their positive counterparts and are now set by
1003
* The pg command is now the default pager unless bsdcompat is set.
1004
* Line and character counts are printed for copy and save commands.
1005
* MAILX_HEAD and MAILX_TAIL variables.
1006
* LC_MESSAGES support.
1007
* -I option prints 'Newsgroups:' field in header summary now. NOTE: The
1008
functionality of the old -I option, "interactive", is no longer available
1009
as an option. Use something like "env interactive= nail ..." instead. If
1010
only tilde escapes in send mode are needed, the new -~ option can be used.
1011
* The optional name argument in combination with the -f option is now
1012
evaluated as a separate operand, not as an argument to -f. This enables
1013
usage as "nail -fin name", but "nail -f name -in" is no longer valid.
1014
* Pipe the output of ~p through the PAGER if the text is long (Bugreport
1016
* The output format of the "set" command is changed to 'variable="value"'
1017
if bsdcompat is not set.
1018
* Pipe the output of the "set" command through the PAGER if it is long.
1019
* Headers are not printed automatically after executing a "folder" command
1020
if bsdcompat is not set.
1021
* The "next" command was fixed according to the remark in the POSIX
1022
rationale not to skip a message e. g. after "delete".
1023
* -B, -h and -~ command line options.
1024
* Lines in message files can now be of arbitrary length and can contain
1026
* -r disables tilde escapes; -r flag and address is passed to sendmail.
1027
* followupall, followupsender, replyall, replysender, respondall, and
1028
respondsender commands.
1029
* New, new, and Unread commands (are all aliases to unread command).
1030
* unalias command implemented (had been documented since 4.4BSD).
1031
* unignore, unretain, unsaveignore, and unsaveretain commands.
1032
* If data from standard input contains NUL characters, no character
1033
conversions are performed and it is sent in base64 encoding.
1034
* Non-binary data with long lines is sent in quoted-printable encoding.
1035
* Fixed segmentation violation when using the "folder" command after
1036
an interrupt signal was catched.
1037
* Resent-Reply-To: header field is no longer generated for conformance
1039
* Fixed -u user option and %user special file name not to ignore 'user'.
1040
* The 'Reply' command uses the 'Reply-To:' header field in favor of
1041
'From:'; the 'reply' command adds recipients given in the 'To:' and
1042
'Cc:' fields if a 'Reply-To:' field was present in the message. This
1043
means that 'Reply-To:' just overrides 'From:' without a special effect
1044
on the 'reply' and 'Reply' commands.
1045
* When grabbing headers e. g. with the '~h' command, a comma is printed
1046
between names if bsdcompat is not set.
1047
* RPM spec file (contributed by Didar Hussain).
1049
[9.31] released 6/18/02
1050
* New editing mechanism for attachment list: ~@ tilde escape.
1051
* The ~a tilde escape is obsoleted by ~@ and has been removed.
1052
* Header fields starting with =? are only interpreted as RFC 2047 fields
1053
if they are entirely valid (Bugreport by Russell Kroll).
1054
* Sender addresses in message lists (as in 'delete from@host') match only
1055
the exact from address.
1056
* Added ~x tilde escape (abort message composition without saving dead.letter).
1057
* Fixed recognition of RFC 2045 parameter attributes (Bugreport by Russell
1059
* The "for" command now inserts an intact "Resent-Reply-To:" header field.
1061
[9.30] released 2/20/02
1062
* Avoid to prepend quote prefix twice when replying to multipart messages.
1063
* Fixed a problem with empty Content-type fields in multipart messages.
1064
* Allow name lists for -b and -c command line options (Bugreport by Winfried
1066
* Added a --with-rcfile option to configure for nail.rc.
1067
* Added the "showlast" option (Contributed by Jay Nospam).
1068
* Properly respect TMPDIR; create a new name for each temporary file.
1070
[9.29] released 12/10/01
1071
* Fixed a SIGPIPE problem concerning the PAGER.
1072
* Avoid to display parts of next message when encountering masked From lines
1073
(Bugreport by Russell Kroll).
1074
* Implemented pipe-content/subcontent MIME display mechanism (based on a
1075
suggestion by Bob Tennent).
1076
* Respect continued MIME quoted-printable lines in non-text content.
1078
[9.28] released 10/23/01
1079
* Fixed a crash occuring at unterminated RFC 2047 header parts (Bugreport by
1081
* Fixed a crash that occured when replying to a message with empty subject
1082
(Bugreport by Russell Kroll).
1083
* Send attachments in base64 encoding if a line exceeds 950 characters
1084
(Bugreport by Rolf Jakob).
1086
[9.27] released 5/13/01
1087
* Check addresses when they are entered and drop invalid ones.
1088
* Supress glibc's getopt(3) argument reordering.
1089
* Fix handling of last entry on a mime.types file line (bug introduced in 9.24)
1090
(Bugreport by Allan Peda).
1091
* Improved handling of proprietary character set names on SVr4 iconv.
1093
[9.26] released 2/17/01
1094
* Avoid to prepend or append multiple newline characters to the record folder.
1095
* Handle unquoted multipart boundaries again (Bugreport by Bob Tennent).
1096
* Help texts are compiled into the binary. Old files can be deleted (based on
1097
a comment by Christian Weisgerber).
1098
* nail.rc gets installed in /etc and is not overwritten if it exists.
1099
* Check for iswprint() before using wide character code (Bugreport by
1101
* Use a non-zero exit status if a message could not get formatted in send mode
1102
(Bugreport by Allan Peda).
1104
[9.25] released 1/25/01
1105
* Fixed the problems some people had when viewing multipart messages (Bugreport
1106
by Thomas Fieseler and Russell Kroll).
1107
* Added the -r startup option to specify a From address.
1108
* Make fallback paths for csh, more, ex and vi configureable (Suggested by
1110
* Remove fcntl lock of mailbox while waiting for dot lock (Problem reported by
1113
[9.24] released 1/18/01
1114
* Use nl_langinfo to get the terminal's character set.
1115
* Add an In-Reply-To header field in replies.
1116
* Correct user's mime type file to ~/.mime.types as documented (Bugreport by
1118
* Build even if no sendmail installation is detected (Bugreport by Gabor Z.
1120
* Adjust string length if an invalid multibyte character was replaced by '?'.
1121
* Properly display lines that contain an invalid multibyte character sequence.
1122
* Handle tabulators in MIME headers correctly (Bugreport by Russell Kroll).
1123
* Drop invalid entries for the References field instead of refusing to send
1124
(Bugreport by Bob Tennent).
1125
* Do not refuse valid domain literals in addresses (Bugreport by Bob Tennent).
1127
[9.23] released 11/15/00
1128
* Added the ~<! and ~i tilde escapes.
1129
* Honor the MAILRC environment variable.
1130
* Added the -e startup option.
1131
* Do not remove quotes when skinning names.
1133
[9.22] released 2000-09-29
1134
* Use iconv() and setlocale() only if appropriate header files are found
1135
(Problem reported by Gabor Z. Papp)
1136
* Clean UTF-8 decoding of continued quoted-printable lines
1137
* Quote base64-encoded texts correctly
1138
* Never perform RFC 1522 encodings of "Re: " in subject fields
1139
* Quoted-printable encoder will not generate empty continued lines anymore
1140
* Do not generate dupes when new mail arrives while old mail is deleted
1141
(Bugreport by Bob Tennent)
1142
* Multipart sections without MIME declaration are correctly handled as text
1144
[9.21] released 2000-08-21
1145
* Always add a dot to a line that starts with one in SMTP mode.
1146
* Fixed a core dump that occured on glibc 2.0 if the subject line was empty
1147
(Bugreport by Gelu G. Lupas)
1148
* Removed some (up to now, harmless) namespace conflicts on Solaris.
1149
* Fixed a problem with isprint() on Solaris (Bugreport by Thomas Fieseler).
1150
* Support a few iconv naming conventions on Solaris.
1151
* Corrected charset declaration of 7bit messages.
1153
[9.20] released 2000-08-08
1154
* Initialize the 'in_quote' variable in mime.c
1155
* Better mailbox locking.
1156
* Use LC_CTYPE locale setting to determine printable characters.
1157
* Use iconv(3) to convert between character sets.
1158
* Introduced the 'ttycharset' variable.
1159
* Changed child process handling (Problem reported by Thomas Fieseler).
1160
* Can handle addresses with embedded comments.
1161
* Use base64 encoding for header fields containing many 8bit characters.
1162
* Fixed a bug that could cause too long lines in quoted-printable.
1163
* Proper handling of newlines at the end of multipart sections.
1165
[9.14] released 2000-06-26
1166
* Generate `User-Agent:' header fields instead of `X-Mailer:'
1167
* Addresses in SMTP commands are surrounded with angle brackets
1168
* Do not send an empty envelope From if using SMTP without given `from' (Problem
1169
reported by Gabor Z. Papp)
1170
* Add a From: line even without a given `from' variable if using SMTP
1171
* Removed wrong structure reference in tty.c (Bugreport by Steve Harris)
1172
* Interpret all commands beginning with `#' as comments (Suggested by
1173
Gabor Z. Papp and Steve Harris)
1174
* Insert an empty line after `xyz wrote:' in replies
1175
* Fixed a possible buffer overflow in address allocation routines (Bugreport
1176
by James Sneeringer)
1177
* The `z' command now accepts a number that specifies a window
1179
[9.13] released 2000-05-30
1180
* Changed _PATH_ to PATH_ in defines
1181
* Fixed RFC 1522 encoding of header fields (important!) (Bugreport by Bob
1183
* Check syntax of addresses before sending
1185
[9.12] released 2000-05-29
1186
* Do not print the indentprefix if a line to quote is being continued
1188
* Omit the "No mail for ..." message if variable `emptystart' is set
1189
* Implemented handling of message/rfc822 format
1190
* Added SMTP client code
1191
* Added the `Forward' command
1192
* Avoid doubling line breaks when printing long addresses in header
1194
[9.11] released 2000-05-15
1195
* Do a fflush() before executing a ~| command (Bugreport by Edward V. Popkov)
1196
* Make a backup copy of an already installed nail.rc file (problem reported
1198
* The `write' command has a more consistent user interface
1199
* Added the `forward' command (Suggested by Bob Tennent)
1200
* Added the `emptystart' option
1202
[9.10] released 2000-05-02
1203
* Added the `-q' option
1204
* Convert a subject given on the command line from RFC 1522 format
1205
* The variable `srbuf' is now of type sigjmp_buf (Bugreport by Edward
1207
* Introduced GNU autoconf support (Contributed by Jacob Moorman)
1208
* Corrected RFC1522-encoding of headers to respect word boundaries
1209
* Use gethostbyname() to include the FQDN in message ids
1210
* Use base36 to get shorter message ids and multipart boundaries
1211
* Use data from /dev/urandom in message ids and boundaries if available
1212
* Added the `pipe' command (Suggested by Bob Tennent)
1213
* readline() should no longer fail if libsafe is used (Bugreport by Bob
1215
* Added the `-V' option
1216
* Limit the `References' header field to 21 entries
1218
[9.04] released 2000-04-17
1219
* Some fixes for machines where chars are unsigned by default (Bugreport by
1221
* Merged the Mail.1 and nail.1 manual pages and added some missing
1222
features from `The Mail Reference Manual'
1223
* Print attachment names correctly in ~p escape
1224
* Use sprintf() if snprintf() is not available
1226
[9.03] released 2000-04-11
1227
* Some fixes to compile on FreeBSD 4.0 (Thanks to Anders Andersson)
1228
* Check for write permission before dot-locking mail files (Bugreport by Bob
1230
* Do not accept an attachment list with unreadable files (Bugreport by Bob
1232
* Do not send a message if a file could not get attached or if the input could
1233
not get read; save dead.letter instead (Bugreport by Bob Tennent)
1234
* Do not include Linux domainnames in the message id anymore
1235
* Merged the Red Hat nopanic and nullchar patches (Thanks to Bob Tennent)
1236
* Include a signature file if option `signature' is set
1237
* Generate our own `Date:' header field for better local message archiving
1238
* Made the `quote' option configurable (Suggested by Bob Tennent)
1239
* Fixed segfault if a message to reply to had no message id
1240
* Removed all `register' declarations of variables
1241
* The code is intended to be POSIX.1 compatible now, except for the
1242
tempnam() and getopt() functions the system must provide in addition
1243
* Removed the base64 encoding option for texts
1244
* Perform CRLF translation when decoding base64
1245
* Added the `emptybox' variable
1246
* Splitted send.c to sendout.c
1248
[9.02] relased 2000-04-05
1249
* Include the domainname in the message id only if there is one
1250
* Added the `stealthmua' option (based on a suggestion by Gabor Z. Papp)
1251
* Fixed decoding of base64 when lines are not multiples of 4 characters
1252
* Fixed erroneous recognition of message boundaries
1253
* Whitespace at the end of a line is now encoded in quoted-printable
1255
[9.01] released 2000-03-25
1256
* Added the `Organization:' stuff
1257
* Handle unknown encodings as application/octet stream for MIME conformance
1258
* Generate a `Reference:' header line in replies
1259
* Handle addresses in the `from' and `replyto' variables as if they were in
1261
* Added a message count to the generated message-id to ensure it is unique
1262
even when more than one message is sent per second
1263
* Mbox format: Mask `^From ' lines inside messages with '>'
1264
* Proper handling of nested multipart messages implemented
1265
* We now ignore the MIME-Version header field and look at the Content-Type
1267
* Can now compile on SVR4 systems using -lucb
1268
* Changed generation of multipart boundaries
1269
* Sending MIME messages to files now works
1270
* Fixed core dump if variable `encoding' was unset (Bugreport by Alexander
1273
[9.0] released 2000-03-20