4 In the following numbers in [] reference either the commit SHA1 hash or
5 the name of a topic branch which relate to the NEWS entry;
6 Likewise, numbers after an at-sign @ are mdocmx(7) manual anchor
7 references which allow directly jumping to the given anchor.
8 Commits can be browsed by appending the commit hash to
9 https://git.sdaoden.eu/cgit/s-nail.git/commit/?id=
11 The complete changelog of commits in between two versions can be
12 inspected by using the git(1) `log' command as shown below, where "OLD"
13 and "NEW" are the two versions to be compared.
16 $ git log --reverse --topo-order --abbrev-commit OLD..NEW
17 # Only topic branch headers (--no-merges for content commits only):
18 $ git log --oneline --reverse --topo-order --merges OLD..NEW
19 # Same, but truly accessible:
20 $ git log --oneline --reverse --topo-order --merges --parents OLD..NEW |
21 while read c1 c2 c3 c4 c5 c6; do
22 printf "%-24s: \$ git log --oneline --no-merges ${c1} ^${c2}\n" "${c6}";
25 v14.8.9 ("Dung Beetle"), 2016-06-21
26 -----------------------------------
28 A cumulated bugfix release.
30 Credits Ralph Corderoy.
31 Apologies, Dirk-Wilhelm Peters.
33 S-nail will become S-mailx after v14.9, and all project resources
34 will move to www.sdaoden.eu with v14.9; only the ML remains hosted
35 at Sourceforge.net as of this writing.
36 We thank Sourceforge.net for hosting this project so many years!
41 - *signature* and tail injections now work correctly even in combination
42 with -t. [d4237ac] (Dirk-Wilhelm Peters)
44 - Fix faulty (by-one) buffer overflow calculation in the NCL line editor
45 that could sometimes be seen when using ^W for backward deleting
46 a word when using this at a freshly created rightmost columns.
47 Bug was introduced in [d33bd89] (tty.c, NCL: reduce realloc counts,
48 2013-08-23). (Ralph Corderoy)
53 b0b974e mk-conf.sh: disable -b for tcc(1) [mob]
54 a415c58 makefile:_update-release: symlinks do not work with lighttpd, use hard
56 2fefb1f collect(): fit ~? output in 25 lines (fixes [5dea8a4,4e61d5c] ;)
57 7c7c888 mime.types: oops, fix x-xz tbz->txz extension!
58 c40c206 collect(): hint for `~.' if *ignoreeof* is set, not ".": needs *dot*
59 d4237ac Fix *signature* / tail injection in conjunction with -t..
60 ef6a9c2 mk-conf.sh: pcc(1) as of CVS works without stack protectors!
61 d5cec10 FIX HTML filter: swallow lone ampersands in parameters (SIGH!)..
62 08eb902 FIX: avoid duplicate output for HTML filter..
63 524adf4 makeprint(): filter some iswprint()==true, but which really aren't..
64 552b2b8 `set': fix quoting when printing all variables
65 aa8df72 mk-conf.sh: fix DEVEL<->DEBUG interdependency; terminate printf(1)
67 f84b0cd mk-conf.sh: check for the needed environ(3)
68 b5af710 mk-conf.sh: fix [f84b0cd]: NULL needs stdio.h
69 fdcbf59 Again "improve" ~? listing
70 ba29651 FIX: cntrlchar() was broken since [4e49924] from 2012-10-15!!
71 08ab13f tty.c, NCL fix possible off-by-one (Ralph Corderoy)
72 815e99f makefile:_update-release: rm TODO in [timeline] _shipout release_ ball
74 v14.8.8 ("The Vulture 38"), 2016-03-26 (v14.8.7 as of 2016-03-25 broken)
75 ------------------------------------------------------------------------
77 A cumulated bugfix release.
79 Credits Gaetan Bisson, Sergey Matveev, Dirk-Wilhelm Peters, Allan McRae
81 All the mentioned persons deserve special thanks indeed.
83 We welcome Sergey Matveev, Allan McRae and Ralph Corderoy in THANKS.
85 S-nail will become S-mailx after v14.9, and all project resources
86 will move to www.sdaoden.eu with v14.9; only the ML remains hosted
87 at Sourceforge.net as of this writing.
88 We thank Sourceforge.net for hosting this project so many years!
90 NOTES, ChangeLog (packager-affine)
91 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93 - Thanks to Sergey Matveev the Maildir code is now compatible to *BSD.
94 Interested persons may read the commit log. [0c30b14] (Sergey Matveev)
96 - The (much to restricted) test target should now work if $SHELL is set
97 to something "nologin". [7876f3a] (Gaetan Bisson)
99 - If *sendmail-no-default-arguments* is set we will NOT (!) terminate
100 MTA options with "--", assuming the user does. This allows, e.g.,
101 very sick things like (ouch) [8b0bdbe]
103 set sendmail="/bin/ssh" \
104 sendmail-arguments="steffen@sdaoden.eu /usr/sbin/sendmail -t" \
105 sendmail-no-default-arguments \
106 sendmail-progname="ssh"
111 - The primitive builtin HTML filter should now correctly parse HTML
112 parameters. It seems to become necessary ;) [e227a78,65df701]
114 - *signature* will now undergo MIME encoding. [fe209f7]
115 (Dirk-Wilhelm Peters)
117 - Operating systems without getaddrinfo(3) but only with gethostname(3)
118 should be able to resolve DNS (port numbers) correctly again.
119 [7dd3a71] (Allan McRae)
121 - The builtin NCL no longer counts gabby history limits against the
122 given maximum persistent history size unless gabbiness is desired.
125 - The builtin NCL couldn't paste more than one line since October 2015.
126 [ff5d914] (Ralph Corderoy)
128 ChangeLog (purely technical)
129 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
131 - WANT_READLINE environments should possibly have a better experience
132 hen interactively editing the attachment list. [ede2800]
133 (In general interactive situation has to improve a lot.)
135 - Fix a bit of weird buffer handling. [536d3a7,0f2cc31,e9a5c22]
138 - Fix the fixed buffer handling which broke v14.8.7. [3e4831a]
141 v14.8.6 ("Hen Harrier II"), 2015-12-28
142 --------------------------------------
144 A cumulated bugfix release.
146 Credits Hilko Bengen, Salvatore Bonaccorso, Martin Sebor,
147 Aharon Robbins and Philip Guenther.
149 We welcome all credited persons in THANKS.
151 NOTES, ChangeLog (packager-affine)
152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
154 - WANT_AMALGAMATION dependency tracking has been fixed.
157 - "INSTALL": clarification: "make" OR "make install", NOT "[make &&]
158 make install". More to come in v14.9. Also INSTALL now says that the
159 default configuration includes all non-experimental features, whereas
160 the otherwise identical CONFIG=MAXIMAL does include them.
163 - SENDMAIL will now fallback to /usr/sbin/sendmail if we don't find any
164 executable sendmail(1). We had some similar issue on ArchLinux, but
165 i failed to deal with the no-sendmail-available case. sendmail(1) is
166 expected in /usr/sbin on *BSD and according to Debian Policy 11.6.
167 [0e09d5e] (Salvatore Bonaccorso)
169 - SYSCONFRC no longer includes SYSCONFDIR. I.e., S-nail now does
170 load(SYSCONFDIR "/" SYSCONFRC);
173 It seems only CRUX-Linux is affected, and i've sent a patch. [807f64e]
175 - We now support the TinyCCompiler. [topic/tcc]
177 - And -- ouch! -- fix S-nail on Solaris, again. It was broken since
178 [3e863c6] (2015-06-23) since necessary linker flags had been
179 overwritten. [fd40d5a,6fe5448]
180 (We also deal with NAME_MAX being the minimum possible now, see below.)
185 - When `Lreply'ing to multiple messages and using the `~:' tilde command
186 the argument list of the `Lreply' itself would have been overwritten,
187 resulting in crashs. [9f5c403 (+ 1162af5,5f08362)]
189 - Temporarily forbid `mbox' but in a system mailbox. I hope v14.9 can
190 perform the action gracefully. [781ee34]
192 - On systems with "unsigned char" "char"s S-nail was broken for about
193 two and a half year since an E(nd)O(f)F(ile) condition would never
194 have been satisfied, resulting endless loops. Detected by the Debian
195 package build bot who hung endlessly when running "$ make test".
198 - Fixes to false signal handler restoration, partially false forever.
201 - Fix crashes in the error path of Zopen(). If a de-/compressor fails
202 Heirloom mailx would crash, and S-nail would have crashed in the debug
203 path and print "Alert: Invalid file pointer" in optimized code. Since
204 S-nail allows *file-hook-{load,save}-EXTENSION* the situation is much
205 worse, however. [8e7f0f4]
207 - Don't crash in `varedit' when $EDITOR doesn't start up. [5a5350b]
209 - The build system now sorts source files in order to honour
210 <https://reproducible-builds.org/>. [a939517]
212 - The build script has seen improvements. The (mysterious) hangs in VMs
213 are gone now that i have switched configuration evaluation to awk(1)
214 thanks to a suggestion by Aharon Robbins. In fact doing "$ make
215 CC=tcc devel" now takes the same time all-in-all that the mentioned
216 evalution took alone. [fa2e248] (Aharon Robbins)
218 This is true even if we know do a lot more of run tests instead of
219 plain link tests for native environment detection since the GNU
220 C library monster uses empty ENOSYS stubs for system calls it doesn't
221 provide. This is the reason why the Debian kFreeBSD S-nail package
222 doesn't work out by now. We are not aware of booting different
223 kernels with different feature sets than what we detected upon compile
224 time, though. I don't think we ever will. [3ee2d4c]
226 ChangeLog (purely technical)
227 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
229 - Dotlock file locking now ignores lock file creation failures on
230 readonly filesystems. Since the mailbox will be degraded to read-only
231 no dotlock file is needed. [40785bc]
233 And that really hurts: [3517800]! On Solaris NAME_MAX is set to the
234 minimum that POSIX allows (14), and we were not really prepared for
235 that. I.e., the lock for /var/mail/sdaoden would be
236 /var/mail/sdaoden.lock, we require at least one more byte for safe
237 lock file creation and yet included the terminating NUL in the
238 calculation, and whoops, dotlocking failed because of ENAMETOOLONG!
239 So do use pathconf(2) _exclusively_ if that succeeds to give an
240 answer. And we still have room for improvements that i as a C++
241 programmer with speedy dynamic Str objects would never thought i have
244 - Fix pathconf(2) usage. [31ce3e1] (Not wrong: Martin Sebor)
246 - First step to use the new *at() series of system-calls if available,
247 inspired by (Philip Guenther). [topic/time]
249 v14.8.5 ("Hen Harrier"), 2015-09-05
250 -----------------------------------
252 Credits John Dodson, Claudio Cappelli.
254 We welcome Claudio Cappelli in THANKS.
256 NOTES, ChangeLog (packager-affine)
257 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
259 - I've forgotten to add obsoletion warning messages in v14.8.4, so
260 running with enabled -d/*debug* -vv/2x*verbose* may be useful.
263 - A series of bug FIXes (which caused the "Hen Harrier" in the end):
265 . v14.8.4 bug: macro content will be added to the history. [28672e5]
267 . Fallout of massive not-yet-dead style and control flow change series
268 in February 2014, I.: the close-on-exec bit of temporary file
269 descriptors wasn't set. [8f58404]
271 . Fallout of massive not-yet-dead style and control flow change series
272 in February 2014, II.: temporary files were always created in the
273 current directory. Aloha, heh. [edc12c8]
275 . v14.8.4 bug: when `resend'ing messages a crash would happen when
276 generating the Message-Id: (control flow messed up when hastily
277 implementing extended -t parsing). [9e63ae6]
278 (Hello, Bob Tennent: i finally have added at least a simple `resend'
279 test. Don't your worry.)
281 . v14.8.4 bug: plugged a file descriptor leak in the dotlock code (one
282 side of the control pipe was leaked upon success; there you see how
283 large ulimit(3) limits are by default today). [ed5c8cf]
285 - When using -t and a template message recipients given on the command
286 line will now be joined into the message instead of being discarded.
292 - The `set' command will now mark out assembled variables if *debug* or
293 2x*verbose* is set. [2b6e64a]
295 - Added *smime-cipher* @433 option (i.e., generic variant of
296 *smime-cipher-USER@HOST*). [58804ea]
298 - Messages will now _only_ be saved in *DEAD* if *save* is set (POSIX).
301 - The (pretty useless for now) `pipe' command will now also print the
302 overall message info (it printed MIME part infos already). [e0a8196]
304 - NAIL_FILENAME_GENERATED is now nothing but a random string. [36097df]
306 - *debug* now implies no*record* and no*save*. [ca9f512]
308 - After almost three years i've finally heard what John Dodson said and
309 changed/restored behaviour of plain "address" message specifications
310 to reflect the original intent (and a bit POSIX) so we now have
311 A case-insensitive “any substring matches” search against the
312 ‘From:’ header, which will match addresses (too) even if
313 showname[339] is set [things are different if *allnet* is set]
314 [44cec1f] (John Dodson)
316 - ..and therefore we need the possibility to somehow perform "exact
317 boundary" matches: for this i've extended the "@" message
318 specification with a header-name "~" prefix and header abbreviations:
319 ‘f’, ‘t’, ‘c’, ‘b’ and ‘s’ will match ‘From’, ‘To’, ‘Cc’, ‘Bcc’ and
320 ‘Subject’, respectively and case-insensitively.
322 This message specification performs full text comparison, but even
323 with regular expression support it is almost impossible to write a
324 search expression that savely matches only a specific address
325 domain. To request that the content of the header is treated as a
326 list of addresses, and to strip those down to the plain email
327 address which the search expression is to be matched against, pre‐
328 fix the header name (abbreviation) with a tilde ‘~’:
329 '@~f@@a\.safe\.domain\.match$'
332 - New option: *sendmail-no-default-arguments* @426 [d983036]
335 - Do no longer make a difference in "no mail for user" and "missing
336 system mailbox". The latter caused yet an annoying error message even
337 with *emptystart*. [7abff87]
339 - New command `source_if' @187 is like `source' but don't fails if the
340 file cannot be loaded. That is to say, we do not yet support
341 "-f FILE@ tests nor `test -f FILE` shell commands for `if', sigh.
344 ChangeLog (purely technical)
345 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
347 - Unless Gunnar Ritter is directly affected the fourth clause of the BSD
348 copyright has been dropped, as has been done for NetBSD Mail.
351 - Quoted-printable encoding will avoid printing a soft newline if only
352 a single character is about to follow. [6b31542]
354 - The configuration script now shows what it is doing at the beginning,
355 to overcome those hangs that can be seen especially in VMs. [4c29cea]
357 - The configuration will do an automatic "make clean" when the
358 configuration had been updated. [9706734]
360 - We no longer generate a MIME message unless that is necessary. I.e.,
361 a plain 7-bit (US-ASCII) message without attachments send from
362 a system daemon is a plain RFC 822/2822/5322 message and doesn't
363 require any MIME header. [824257a]
365 - To avoid that DNS resolver becomes unusable due to ^C interruption.
366 Also fixes a possible leak in non-getaddrinfo(3) codepath (old boxes).
369 v14.8.4 ("Nameless bird (shot by Hemingway)", 2015-08-04
370 --------------------------------------------------------
372 Thanks for Jérémie Courrèges-Anglas for beating me to it.
374 NOTES, ChangeLog (packager-affine)
375 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
377 - Added support for the (BSD-licensed) idnkit[1] IDNA library which is
378 now in the base system of DragonFly BSD. We still only support
379 encoding, though. (And assume the hostname is in locale encoding.)
382 [1] <https://www.nic.ad.jp/ja/idn/idnkit/download/>
384 - I have rewritten the privilege-separated dotlock helper program,
385 because among others a SETGID one is of no use in todays world.
386 So it is now SETUID to the new PRIVSEP_USER.
388 . WANT_PRIVSEP and PRIVSEP_GROUP have been dropped.
390 . New option: WANT_DOTLOCK, by default enabled.
391 It is henceforth possible to strip any dotlock code off S-nail.
392 So either S-nail has complete dotlock support, including the
393 privilege-separated dotlock helper, or none at all.
395 . New variable: PRIVSEP_USER, by default "root".
396 It must be a privileged user that can be used to implement the new
397 strategy: we create the dotlock file and then fchown(2) it to the
398 UID and GID of the mailbox that we created it for. Like this the
399 owner of the mailbox (remember %USER, $USER, -u USER ..) will be
400 capable to remove the lock file herself. Or himself.
402 . No dotlocking was performed for reading, only for writing. I've
403 changed this. We also didn't perform any (file) locking at all when
404 updating non system-mailboxes, which i have changed, too.
406 . Fixed horrific bug: on systems without realpath(3), e.g., Solaris 9,
407 S-nail would not resolve symbolic links on the mailbox to lock,
408 potentially creating the lock file in the wrong directory.
410 . We now compare the inode/device/etc. of the mailbox file with the
411 information we collected a lot earlier from the open mailbox file
412 descriptor, and bail if they are not identical, to reduce attach
415 . The privsep helper now re-checks that it is capable to read (or
416 read/write) the mailbox it is creating a dotlock for, to reduce the
417 chance of being misused (by itself). I.e., it does so before
418 raising its privileges, say.
422 - The predefined CONFIG=urations have been changed a bit and now
423 "require" more options than they did before.
425 - Renamed WANT_ALL_SSL_ALGORITHMS to WANT_SSL_ALL_ALGORITHMS.
426 That was a no-brainer, default of "yes" remains, but it now can also
427 be "require"d. [910849e]
429 - The GitLab project repository URL has been changed and now is
430 <https://gitlab.com/sdaoden/s-nail.git> (leave off ".git" for browsing
436 - It has become possible to fixate the input character set of
437 attachments from the command line (without going over ~@):
438 when the -a @39 option cannot access(2) the file to be attached it
439 searches the filename for an equals-sign "=" and splits into filename
440 and character set shall it find one. A character set defined like
441 this is "fixated" and therefore no character set conversion occurs.
444 ./s-nail -d -s subject du@auch \
445 -aversion.h -aversion.h=KoI8-r -aversion.h=LaTin1 -aversion.h
447 >>> Content-Type: text/x-chdr; charset=US-ASCII
448 >>> Content-Type: text/x-chdr; charset=KoI8-r
449 >>> Content-Type: text/x-chdr; charset=LaTin1
450 >>> Content-Type: text/x-chdr; charset=US-ASCII
454 - In *debug* mode the content of the message that would have been sent
455 is printed on standard error not only in *smtp*, but also MTA mode.
456 E.g., as in the example above. [c106f35]
458 - S/MIME oops: S-nail yet didn't test for the "application/pkcs7-mime"
459 MIME type at all, but only for "/x-pkcs7-mime" (pre-standardized
460 variant), so that S/MIME messages generated by more modern MUAs (e.g.
461 Alpine) wouldn't have been understood!
462 And we do now use that MIME type ourself, as standardized by RFC
463 5751. However, we are still stupid and don't handle a signed message
464 inside a multipart/mixed message, neither do we support fully
465 encrypted messages (nothing but rfc822 member) etc. [10c2b16]
467 - *smime-cipher-USER@HOST* @431 values changed to versions without
468 hyphen, as that is what OpenSSL uses: e.g., AES256 not AES-256; the
469 latter versions are no longer documented and will be dropped with
472 - New variable *smime-sign-message-digest* [-USER@HOST] @437 can be used
473 to define the message digest for S/MIME signing. RFC 5751 mandates
474 a default of SHA1, by default available are also SHA256, SHA512,
475 SHA384 and SHA224, MD5 may be available, dependent on OpenSSL.
476 With WANT_SSL_ALL_ALGORITHMS more digests may be available. [2f6dac3]
478 - Using NAIL_FILENAME_GENERATED was prevented since some time since it
479 ended up longer than NAME_MAX (ENAMETOOLONG). [3bcbbfc,f632b5b]
481 - Heavily rewritten manual section "Signed and encrypted messages with
482 S/MIME" @35, giving a ready-to-go example for CAcert.org.
484 - Nicer output for `help' @126 / `?' @74 when given an argument:
485 if that is a command ghost we search for the expansion and do print
486 the (further expansion and) help for that if possible [cea8c20]:
489 save: Append <message-list> to <file>
491 s (save): Append <message-list> to <file>
494 s -> s (save): Append <message-list> to <file>
496 - No longer allowing recursive commands in macros to avoid that the
497 following can crash us (check can be bypassed):
506 This is a pity because "? call ouch" does no longer cause a reply,
507 but the real healing will take time.
508 Also the `source' command is now actively disabled during macro
509 evaluation -- this only works(/ed) by accidence and anyway non-
510 synchronously (the `source'd file will be loaded after the macro
511 evaluation has finished). The real healing for this is heavy stuff
512 and will remove a smart and fantastic idea from before 1979, but it
513 won't work out with macro support (see commit message for more upon
516 - And `source' will be actively forbidden in compose mode, too. It
517 never worked the way it should. [abd388c]
519 - Did -t @60 ever work for real? Now it does.
520 Even better it now "supports" some more header fields (References:,
521 In-Reply-To:, Message-ID:, and Mail-Followup-To:, but the latter will
522 be subject of a nice followup content massage) -- S-nail can
523 henceforth be used for git(1)s send-email command.
524 We also improved the interdependency of -t (with[out] From:, Sender:),
525 -r, *from* and *sender*, but i don't say it is perfect yet.
526 [6842f12,631d402,a86ca2d]
528 - Completely reworked *expandaddr* @373 handling, and you can now define
529 *exactly* what you want, e.g., "fail,-all,+addr,+file" will only allow
530 mail address or file recipients and hard error out otherwise.
531 Note that in order to make that work "restrict" has been changed to be
532 effectively "restrict,-all,+name,+addr", which matters in, e.g.,
533 "fail,-all,+file,restrict" which therefore truly is "restrict,fail"!
535 Even in conjunction with -t you should now see proper (-d / *debug*,
536 -v / *verbose*) messages for *expandaddr* caused address stripping,
537 or, with "fail", hard errors. [8668be3]
539 ChangeLog (purely technical)
540 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
542 - We again allow Message-Id:s to start with a leading slash, as in
543 "/p/forge/site-support/10.../...". [143372a]
545 - We now support multiline values in make.rc: to do so, escape the
546 newlines with a backslash "\", e.g. [621cbed,9cf4e7b]
549 if [ -d /var/spool/mail ]; then \
550 echo /var/spool/mail;\
555 - Lowered the memory pressure caused by malicious spam messages that
556 place hundreds of references into the References: header body.
557 And we don't use alloca(3) no more for such things, in order to lower
558 stack usage. [1c4b8c9,47a1a5c]
560 v14.8.3 ("Startled chicken"), 2015-07-05
561 ----------------------------------------
563 Credits go to Martin Neitzel!
565 NOTES, ChangeLog (packager-affine)
566 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
568 - Prefilling INCS and LIBS is finally honoured by the build system, just
569 as documented. [9a34822]
571 - In place of "packager-install" "doinstall" will also do.
573 - New `make.rc' option: WANT_ERRORS, by default enabled.
574 Will enable the new command `errors' @105 (#_105) and an error message
575 queue ring: error messages will no longer get lost but duplicated into
576 the queue, to be displayed in interactive mode via `errors'. This is
577 a finite ring which rotates oldest messages if it full.
580 - S-nail no longer offers hooks for group identity switching: it no
581 longer makes sense to install it SETGID to a mail group (shall anyone
582 has done so). [ac42d24]
584 - New `make.rc' option: WANT_PRIVSEP, by default enabled.
585 The dotlock'ing has been completely rewritten (see `make.rc' for
586 a longer explanation of traditional Unix mailspool locking, please).
588 In order to be able to create lock files in *any* SETGID mailspool
589 directory in which user system mailboxes may reside S-nail now ships
590 with a privilege-separated mini dotlock program (source in
591 `privsep.c'), which will be installed in the new also LIBEXECDIR (as
592 YOUR_MUA_NAME-privsep) SETGID to the group given by the also new
593 PRIVSEP_GROUP (default "mail").
595 This dotlock program will be used whenever a mailbox has to be
596 dotlocked which is owned by group that is not the group of the user
597 who is running S-nail, assuming that the file in question resides in
598 a SETGID mailspool directory.
600 The new variable *dotlock-ignore-error* @294 (#_294) now controls
601 wether it is a failure if creation of a dotlock file is not possible.
602 This variable is by default enabled if WANT_PRIVSEP is false.
608 - Fix file locking, which was broken since v14.8. [7f8ebc0]
611 - -e now works with given boxes; -e is mutual exclusive with -H and -L;
612 and then any of -e, -H and -L causes the mailbox opened in readonly
613 mode. [3bb05a2, 2cf15c1]
615 - In *debug* mode no process will be started for a set *smtp*, but
616 instead the message will be directly generated (on the error channel).
617 Also GSS-API authentication will no longer be performed even with
618 enabled debug, oops. [3333d71]
620 ChangeLog (purely technical)
621 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
623 - A readonly IMAP box is opened via EXAMINE not SELECT. [2d5259c]
625 - snprintf(3) and vsnprintf(3) are now required preconditions. [c58c7e9]
627 v14.8.2 ("Wandering albatross"), 2015-06-17
628 -------------------------------------------
630 Many thanks Bob Tennent, for reporting and testing!
632 NOTES, ChangeLog (packager-affine)
633 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
635 - Configuration will now find clock_gettime(2) in -lrt and
636 gettimeofday(2) as such on Linux. [47c9ea7,5e248d2,df7d77f]
639 - MANDIR now defaults to ${PREFIX}/share/man (not ${PREFIX}/man)
645 - Added missing condition clause in `if' expression parsing
648 ?0[ +mbox]? if $du @@ hey
651 ?0[ +mbox]? if $du @@ hey
652 `if' conditional: unrecognized condition -- near "du"
653 Expression: $du @@ hey
654 Left to parse: $du @@ hey
657 - Ooops, fix pipe-TYPE/SUBTYPE @403 with value "@" (a.k.a. treat as
658 plain text and display "as is"): i've broken that once i've introduced
659 the extended type markers for the `mimetype' command. Must have been
660 a Freudian error, sorry! [ea655de]
662 - Fix a bug introduced in nail 9.29, 2001-12-10: a temporary buffer is
663 closed with fclose() even though it is a registered file that instead
664 needs to be closed via Fclose(). This effectively results in
665 a double-fclose(3) of the underlaying file descriptor once the
666 registered files are cleaned up next, which happens either after
667 signal interruption and, since [65e0510] as of 2015-05-21, whenever
668 the command loop ticks. [97fcb97] (Bob Tennent)
670 v14.8.1 ("Tristan albatross"), 2015-06-11
671 -----------------------------------------
674 Ypnose, Tarqi Kazan, Dagobert Michelsen and OpenCSW.org, Gianluca
675 Ramunno, Bob Tennent.
677 We welcome Dagobert Michelsen in THANKS.
679 NOTES, ChangeLog (packager-affine)
680 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
682 $ In all the following noticable changes to the release candidate are
683 $ marked with a $ in the first column
685 - We have been ported to Sun Solaris!
686 Thanks to Dagobert Michelsen for giving me an account on OpenCSW.org!
688 - The build system will now really find strip(1). [54e91c4]
690 - WANT_TERMCAP fix: we simply passed tputs(3) a pointer to putchar(3)
691 though that may be a macro etc. [cc65bc3]
693 - The following variables can be used to overwrite utilities needed
694 during configuration and build:
696 MAKE=, STRIP=, awk=, cat=, chmod=, cp=, cmp=, cksum=, grep=, mkdir=,
697 mv=, tee=, rm=, sed=, tr=
699 Note that rm(1), sed(1) and tr(1) are needed before `make.rc' is read.
700 Fix: these will now also affect "make test".
702 - WANT_AUTOCC now no longer sets compiler flags as of experience, but
703 compiles a test program to actually detect wether the compiler will
704 swallow the flag. This increases configuration time quite a bit.
705 Users who really did use "make devel" possibly want to use "make
706 CONFIG=DEVEL" followed by "make build" now.
707 Note we now also test for -fPIE as well as relro,now,noexecstack.
709 - WANT_SPAM_SPAMD is now decoupled from WANT_SOCKETS. [d247d86]
711 - The configuration now also detects any changes on PATH, C_INCLUDE_PATH
712 and LD_LIBRARY. [1038028]
717 - Fixed importing of SHELL/LISTER/PAGER variables from the program
718 environment. [940c7f1] (Ypnose)
720 - Moved -X @64 command line option handling before attachment
721 evaluation, so that, e.g., `mimetype's registered via it will already
722 be seen when classifying attachments. [5d9742f]
724 - Honour *asksign* @274 again, even if *askatend* @270 or *bsdcompat* @281
725 are not set. This also changes *askattach* @271 as we'll only ask for
726 addition of attachments if there are none yet. [e054d6a] (Tarqi Kazan)
728 - Support OpenSSL 1.1.0 and above: it obsoletes the more-than-a-decade
729 old SSLv23_client_method() in favour of a new TLS_client_method()
730 (instead of using some "magical" constant like, say, "SSL_METHOD_ANY",
731 but who am i). [c35b567]
733 - Generic file (mailbox) load and save hooks have been introduced:
734 *file-hook-(load|save)-EXTENSION* @374,@375, e.g.:
736 set file-hook-load-xy='echo >&2 XY-LOAD; gzip -cd' \
737 file-hook-save-xy='echo >&2 XY-SAVE; gzip -c' \
740 One could think about using all-encrypted mailboxes, or the like.
741 Note that before v15.0 these variables may not be changed while
742 a mailbox handled by these hooks is open. [b4c2c37] (Tarqi Kazan)
744 - When DNS resolving fails we now print error messages.
745 And then, if it fails because of an unknown service (protocol), we
746 check for the protocol and retry shall we have a well-known port
747 number builtin (smtp, submission, smtps, pop3, pop3s, imap, imaps).
748 [5f52370, (3f189f9)] It is not wrong to credit (Gianluca Ramunno)
750 - One may now force treatment of addresses as files with the new "./"
751 or "/" prefixes -- until now it wasn't possible to address files if
752 the addressee includes an at sign, now "./me@here.com" will do, just
753 as will "/me@here.com". [2cf5890,0da473f] (Bob Tennent)
755 - Fix *record-resent* @329, which never made it to *record* @414 since
756 [a11935b], but instead save the message in a file named after the
757 addressee! [a82af9f] (Bob Tennent)
759 - Fixed signal handler uninstallation in sopen() (DNS lookup and socket
760 creation): v14.8.0 could be forced in endless loop after failed DNS
761 lookups due to this. [3cca23b]
763 - Fixed possible double-free (causing a crash) after failed SSL
764 certificate verification (*ssl-verify*=strict etc.) with OpenSSL
765 versions that support SSL_CONF_CTX (1.0.2+). [c691726]
769 . The builtin HTML filter will now silently discard carriage-return
770 characters (looks better in e.g. less(1)). [cf4d800]
771 . When reopening the same box we now recognize if changes had been
772 written, forcing a reread of the box in order to display the actual
773 real content. [7dfbd38,0835212,a15dfed]
774 . `netrc' output changed, so that the output could (in theory) be fed
775 back into S-nail again in order to gain the same settings. [a9a2722]
776 . *pop3-keepalive* @410 gained (@USER)?-HOST forms [69cae68]
777 . *imap-keepalive* @387 gained (@USER)?-HOST forms [9a8c929]
778 . Do not use the builtin random generator if we find a suitable one in
779 the host environment. [0e01aeb,6bcb430,fc846c6] (Bob Tennent)
780 . The builtin HTML filter will now also expand entities in parameter
782 $ . *crt* will now only be checked when attached to a terminal device;
783 $ and no*crt* will now be honoured. [2508c32]
785 ChangeLog (purely technical)
786 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
788 - Solaris port resulted in a lot of changesets for the build system.
789 - I didn't use git(1) rebasing and the [crawl] branch but only [master].
790 And see where that ended: S-nail would have 10000 fossil commits!
791 - Plugged some memory leaks.
793 v14.8.0 ("Albatros"), 2015-04-30
794 --------------------------------
797 I'm glad and happy to announce "Albatros" after about seven months of
798 development. Development that brought many new features, bugfixes,
799 technical overhauling and behaviour tweaking. Shall you ever have been
800 interested in BSD Mail or its deriviatives you might want to give it
803 "Albatros" is indeed the first version of the codebase as such that
804 should allow IMAP->Maildir->MBOX->Maildir->IMAP message roundtripping
805 without causing possible message splitting due to faulty From_
806 detection / encoding. It also generates compliant MIME parameters.
808 Note there are incompatible changes, documented below. And it is also
809 advisable to try out existing configurations with enabled *debug* and/or
810 *verbose* (-d, -vv) in order to check for "obsoletion" warnings.
811 (Here "obsolete" would refer to v15, of course.)
813 Credits and Thanks go to Ypnose, Jérémie Courrèges-Anglas, Josef Jurek,
814 Gavin Troy, Rich Salz, Martin Brandenburg, Bob Tennent, Dominic Meskys
817 We welcome Jérémie Courrèges-Anglas, Josef Jurek, Rich Salz,
818 Dominic Meskys, Peter Bray, Dirk-Wilhelm Peters and Martin Brandenburg
820 Apologies to Dirk-Wilhelm Peters and Martin Brandenburg whom i had
821 forgotten to add to THANKS at first glance once i've added this file; it
822 was nothing but an oversight.
824 I also say «Thank you» to GitLab.com – i've mirrored the S-nail git(1)
825 repository (alongside others) to this free service.
827 Credits finally also have to go to Coverity.com [1] which helped to find
828 some bugs; the claim of a 0.00 defect density after a Friday 13th test
829 must have been an error from their side, though, as well as that the
830 page [1] still remains at a test with a defect density of 0.01, since
831 i've posted yet another run that must have ended with 0.00. (Note the
832 codebase was tested without IMAP code, i.e. my _next_ developer branch.)
834 [1] https://scan.coverity.com/projects/444
836 NOTES, ChangeLog (packager-affine)
837 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
839 $ In all the following noticable changes to the release candidate are
840 $ marked with a $ in the first column
842 + Crawling along the path of CVE [topic/cve-2014-7844.2]: to enable MTA
843 arguments after -- the new *expandargv* @372 must be set. More below.
845 + Even more crawling along the path of the CVE i decided to replace the
846 wordexp(3) based shell word expansion mechanism with an entirely new,
847 internally implemented restricted one, but complete mitigation will
848 take time. This has consequences in respect to backslash escaping in
849 file names (shall you ever have used such a filename with S-nail and
850 its predecessors, of course, and only ...).
851 Please see [topic/fexpand.2] below.
853 + A new member for the *attrlist* @351 variable (for unsure spam status).
854 Since a user setting with a false length will be ignored yet causes an
855 error message this is a backward incompatible change. [topic/spam.2]
857 - New make.rc option: WANT_ALL_SSL_ALGORITHMS (enabled).
858 See make.rc and *smime-cipher-USER@host* @427 below. [topic/ssl.1]
860 - The make.rc option WANT_IPV6 is gone; we use the respective standard
861 library facilities automatically whenever possible. [999e79a]
863 - New make.rc option: WANT_TERMCAP (disabled).
864 See *term-ca-mode* @345 below. [topic/termcap]
866 - The make.rc option WANT_SPAM has been dropped. Instead we have (see
867 [topic/spam.2] below for more):
869 . WANT_SPAM_SPAMC (default off):
870 Rather identical to the former WANT_SPAM (interaction with spamc(1)
871 from spamassassin(1)), but internally improved.
872 . WANT_SPAM_SPAMD (default off):
873 Direct interaction with spamd(1) from spamassassin(1) via a local
874 unix(4) domain socket.
875 . WANT_SPAM_FILTER (default on):
876 Freely configurable hook programs, e.g., bogofilter(1).
878 - It turned out that the manual wasn't mandb(1) compatible. [f5ab838]
880 - New make.rc option: WANT_FILTER_HTML_TAGSOUP (enabled).
881 S-nail now ships with a very primitive HTML-to-text converter.
882 It'll be used for HTML parts automatically if no pipe handler is
883 installed (and the builtin mime.types haven't been changed).
884 This works because of the new TYPEMARKER extension to mime.types(5) as
885 documented for [topic/mime.types.2] below.
886 (It is quite experimental but i think it rocks except it can be fooled
887 since it doesn't know about double quoted strings, e.g., <a href=""
888 onmouseover='javascript:alert("> This is plain text you see, oops");'>.
889 $ Yet it is ment for displaying HTML mails, and it works really well.
890 $ It doesn't support non-standard type="quote" attributes nor even-more
891 $ non-standard CSS classes "gmail_quote" or whatever it's name was --
892 $ these are used in the wild to generate automatic mail quoting, which
893 $ has resulted in an immense amount of top-posting; but maybe there will
894 $ be a S-nail v14.8.1 which will implement those, to ease the pain.
897 $- List output of `alias' @78, `ghost' @123 and `shortcut' @181
898 $ uses a new syntax that should (in theory) make it possible to feed
899 $ the output back into S-nail. [2913df3]
900 $ Ditto `set' @178 unless *bsdcompat* or *bsdset* are set. [373cc8a]
902 $- *keep* @308 will also affect secondary mailboxes (because *emptybox*
903 $ has been obsoleted, see below). [5fa5f8b]
905 $- New make.rc option: WANT_FORCED_STACKPROT (enabled with WANT_DEVEL or
907 $ In conjunction with WANT_AUTOCC this will trigger stack protectors
908 $ if the detected compiler does support them. (Before they were only
909 $ enabled if WANT_DEBUG was set, automatically.)
911 + v14.8 is the last release with IMAP support, which has been removed
912 from the developer's [crawl] branch for quite some time already.
913 He really hopes he can affort to readd support sometime after v15.0.
918 - S-nail now knows about named booleans (e.g., `localopts' @133 or
919 interactive approval prompts can now be given any of 1/yes/true/on or
920 0/no/false/off, case-insensitively; note this is true for the make.rc
921 $ system, too) and so-called "quad" options (either normal boolean or
922 $ "ask-BOOLEAN", which, in interactive context, will be prompted with
923 $ default values; the default value is chosen in non-interactive mode).
924 $ (on/off support not in the RC.)
927 - The `if' @128 combo:
929 . gained <, >, <= and >= tests;
930 ==, !=, <, <=, >=, > will try to convert their arguments to numbers
931 and perform their test numerically, if possible, [143d409]
932 . `if' supports boolean (as above) arguments, [topic/ifpimp]
933 . `if 1'+ return value fixed, [topic/ifpimp]
934 . `if'+: on syntax error, NOOP anything 'till `endif', [topic/ifpimp]
935 . `if'+ now support bracket groups, AND-OR lists and unary ! (not),
936 note that the separating spaces are required: [topic/ifpimp]
938 if [ [ true ] && [ [ $debug ] || [ $verbose ] ] ]
941 if true && $debug || $verbose
942 echo Left associativity, as is known from the shell
944 if ! ! true && ! [ ! $debug && ! $verbose ]
945 echo Unary operator support
948 . `if'+ now support new case-insensitive (ASCII) substring operators
949 =@ and !@: [topic/ifpimp]
951 if $features =@ "regex"
952 if $TERM =~ "^xterm.*"
953 echo ..in an X terminal
957 $ . `if'+: the three argument forms can now be given variables also on
958 $ the right hand side: [topic/ifpimp]
960 $ set xtest='^xterm.*'
962 $ echo Variables as right hand value
965 - `unalias' @198 learned that * means "all aliases".
966 Fixed: faulty list-head relinking caused "dead" aliases (since ever)
969 - `unshortcut' @219 learned that * means "all shortcuts".
970 `shortcut' @181 in turn can now define multiple shortcuts in one go
973 ?0[ /var/mail/steffen]? sho you 'any one' me 'no "one"'
974 ?0[ /var/mail/steffen]? sho
975 shortcut me "no \"one\""
976 shortcut you "any one"
977 ?0[ /var/mail/steffen]? unsho*
978 ?0[ /var/mail/steffen]? sho
979 ?0[ /var/mail/steffen]?
981 - S-nail learned how to deal with mailing-lists in respect to
982 Mail-Followup-To headers etc. (manual: "Mailing lists" @21):
984 . new commands `(un)?ml(list|subscribe)' to let S-nail decide which
985 addresses are mailing-lists, [topic/names]
986 . *headline* learned %T format to display message recipient flags:
987 "L" for a mailing-list, "S" for a subscribed one, [topic/names]
988 . new variable *followup-to-honour*, [topic/mft]
989 . new variable *reply-to-honour*, [topic/mft]
990 . new command `Lreply', forcing a list-only `reply' if possible.
991 When `Lreply'ing to messages which seem to originate from
992 mailing-lists (contain a "List-Post:" header), then S-nail will
993 treat the list address as a known mailing list (as via `mlist').
995 (It is advisable to try out several different combinations of non-/
996 subscribed mailing-lists in conjunction with `reply', `Reply' and
997 `Lreply' with *debug* set in order to get used to how S-nail will
998 modify the address lists; the results should be quite logical
1000 . For convenience `reply' and `Lreply' can now be used to reply to
1001 multiple messages in one go (each message will still be handled by
1002 itself, we simply start over internally). [topic/mft]
1004 - `unset' @217 no longer "fails" for unset variables, but only prints
1005 a message in *debug* or *verbose* mode. This changes traditional,
1006 decade-old behaviour, but shells don't even say something in (*debug*
1007 or) *verbose* mode, and it really simplifies things. [topic/okeys-attr]
1009 - SSL/TLS changes: [topic/ssl.1]
1011 . new variables: *ssl-cert-HOST* @451, *ssl-key-HOST* @456,
1012 *ssl-method-HOST* @457, *ssl-verify-HOST* @461,
1013 . *ssl-v2-allow* has been dropped,
1014 . *ssl-verify* @461 and *smime-cipher-USER@HOST* @427 use
1015 case-insensitive matching for value checks,
1016 . new variable-chain: *ssl-protocol* @458 (the introduction of which
1017 obsoletes *ssl-method* @457, see below),
1018 . new variants of *ssl-cipher-list* @452: *ssl-cipher-list-USER@HOST*,
1019 *ssl-cipher-list-HOST*,
1020 . new variable: *ssl-config-file* @453,
1021 . *smime-cipher-USER@HOST* @427 dropped builtin support for the
1022 obsolete RC2-40 and RC2-64 ciphers -- use the make.rc option
1023 WANT_ALL_SSL_ALGORITHMS to readd support,
1024 . with SSL_CONF_CTX support (OpenSSL v1.0.2+) the values of the
1025 following variables (and variants) will be parsed by OpenSSL instead
1026 of S-nail, offering more user and packager flexibility:
1027 *ssl-cert* @451, *ssl-cipher-list* @452, *ssl-key* @456,
1028 *ssl-protocol* @458.
1030 E.g., shall a new OpenSSL ship with TLS v1.3 S-nail doesn't need to
1031 be adjusted in order to support TLS v1.3, all there is to do is that
1032 the user has to adjust her *ssl-protocol* setting.
1033 This is at least the theory. :)
1034 And maybe OpenSSL (will) offer(s) symbolic constants like "NEWEST"
1037 - Folder hooks have been extended:
1039 . if there was no *folder-hook-FULLNAME* @376 we'll try
1040 *folder-hook-+NAME* if the mailbox NAME resides in *folder*, e.g.,
1041 the author has "folder-hook-+sent=MACRO" and all his *record*
1042 variables are "record=+sent", therefore MACRO can be shared in
1043 between all accounts with a single hook definition. [a5a4d89]
1044 . `localopts' @133 can now be used in folder hooks: the covered
1045 settings will be reverted once the folder is left again.
1046 $ (I know for sure someone asked for this long ago, directly after
1047 $ `localopts' came up first, but i couldn't find the corresponding
1048 $ message. Sorry!) [2c67091]
1050 - More security control à la CVE 2014-7844, possibly for the first time
1051 enabling safe usage of S-nail via CGI: [topic/cve-2014-7844.2]
1053 . fixed *sendmail-arguments* @420 parsing:
1054 *sendmail-arguments*='-F "Dubi Da"' will now result in <"-F" "Dubi
1055 Da"> not <"-F" ""Dubi Da"">,
1056 . new command line argument "-." @67 forcefully terminates options
1057 and enters send mode. I.e., using this option avoids possible
1058 misinterpretation of the following arguments.
1060 This operation is usually reserved for --, but since S-nail passes
1061 anything after -- to the MTA (but read on) i had to invent something
1062 $ else. Also, -. forcefully enters send mode, which -- couldn't have
1063 $ been overloaded to do.
1064 . New variable: *expandargv* @372: in equal spirit to *expandaddr* @371
1065 this one is required in order to pass arguments after -- to the MTA.
1066 If set to "fail" existence of such arguments is a hard error,
1067 "restrict" likewise except in interactive mode or in conjunction
1068 with the -~ or -# options.
1069 . *expandaddr* @371: new special value "fail" causes presence of
1070 extended recipient addresses to be treated as a hard error.
1071 $ In fact this is now interpreted as a comma separated list and may
1072 $ also include the string "noalias", disallowing non-network-addresses
1073 $ in the remaining (non-"extended") recipient addresses -- note this
1074 $ applies to system global aliases only, not to those of `alias'
1075 $ (except for their content, of course); "noalias" is a hard error in
1076 $ combination with "fail".
1078 - `unaccount' @197 and `undefine' @201 learned that * means "all
1079 accounts" and "all macros", respectively. [4c09114]
1081 - Spam handling has been rewritten completely, revealing a very old
1082 misbehaviour in nail's subprocess handling (malloc in signal handler).
1083 Please reread the manual section "Handling spam" @37 for more.
1084 The motivation was also that bogofilter(1), sylfilter(1) etc. can
1085 export their databases, so should the author ever find time to
1086 implement spam handling in C like his predecessor it will be possible
1087 to continue to use those databases: [topic/spam.2]
1089 . *headline* @380 format %$ has been fixed,
1090 . when working on multiple messages the operation is cancelled if an
1092 . new variables: *spam-interface* @436 chooses the, well, ...
1093 This one has extensive documentation. Plus the interface dependent
1094 *spamc-command* @438, *spamc-arguments* @439, *spamc-user* @440,
1095 *spamd-socket* @441, *spamd-user* @442,
1096 *spamfilter-ham* @443, *spamfilter-noham* @444,
1097 *spamfilter-nospam* @445, *spamfilter-rate* @446,
1098 *spamfilter-spam* @447 and *spamfilter-rate-spamscore* @448.
1099 . The *attrlist* @351 variable gained a new slot for an unsure-spam
1100 status (default character is ~).
1101 Messages with that flag can be specified via the :S colon modifier.
1103 - Fix: even though -# @66 implies *sendwait* @335 a user should have the
1104 option to turn *sendwait* off again. [4274bed]
1106 - Completely reworked mime.types(5) handling, note the backward
1107 incompatible drop of `mimetypes': [topic/mime.types.2]
1109 . dropped the `mimetypes' command,
1110 . new commands: `mimetype' @138 and `unmimetype' @209,
1111 . *encoding* @369 is now parsed case-insensitively,
1112 . *mime-counter-evidence* @390 gained new bit 3 to indicate the desire
1113 to forcefully overwrite MIME types if we think we know it better,
1114 . *mimetypes-load-control* @391 gained an extension that can be used to
1115 load more and specific files, which in addition may make use of
1116 a new non-portable S-nail-specific TYPEMARKER extension. The manual
1117 section "The mime.types files" @32 has been rewritten accordingly.
1118 (In short: mime.types(5) lines can be prefixed by @, @h@ or @H@, for
1119 plain text, builtin HTML filter (plain text fallback), ditto
1120 (without fallback).)
1121 $ . The builtin MIME types now make a lot of use of the @ and @h@
1122 $ TYPEMARKER extensions, so that you possibly can get rid of a lot of
1123 $ pipe-TYPE/SUBTYPE=@ plain-text type hooks, shall you have used them.
1125 - Support for RFC 2231 has been added. This means that S-nail generates
1126 truly MIME compliant messages and no longer requires help from other
1127 MUAs! In fact MIME parameter handling has been rewritten completely.
1130 - On the long run shell word expansion (via wordexp(3)) will be replaced
1131 by a new, restricted (and thus (hopefully) safer), internally
1132 implemented path expansion mechanism that only supports ~/ -> HOMEDIR
1133 and $SHELLVAR / ${SHELLVAR}.
1134 Since the original expansion is *so* hardwired that'll take time, for
1135 now it is used for attachments only, but here all through the way.
1137 But where it is used already it has consequences regarding backslash
1138 escaping; to improve user experience a bit `~@' @239 will display the
1139 escaped filename so that users only have to hit ENTER to accept paths:
1140 e.g., "diet\ is \curd.txt" will show up as "diet\\ is \\curd.txt".
1141 And, e.g., the test script does the following for RFC 2231 (excerpt):
1143 MAILRC=/dev/null "${SNAIL}" ${ARGS} -Snodot \
1144 -a "ma'ger.txt" -a "mä'ger.txt" \
1145 -a 'diet\\\ is\ \\curd.txt' -a diet \"is\" curd.txt \
1146 ^ ^ NOTE: 0x00A0, NBSP
1147 -a ✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆✆.txt
1149 The introduction of the manual section "COMMANDS" @5 has been updated
1150 accordingly. Also see -a @39. [topic/fexpand.2]
1154 . Multiple crash-causing bugs regarding `source' @185, also if used
1155 via `~:source', have been fixed. [aafb688,6979c73,4c6dfc2]
1156 . The NAILRC environment variable is no longer supported. [104c254]
1157 . The *Replyall* variable has been dropped as it was only an alias
1158 for the POSIX standard *flipr* @296 variable. [topic/mft]
1159 . New variables: *version*, *version-(major|minor|update)*,
1160 *features*. [topic/okeys-attr]
1161 . `varedit' @224 can be used to create variables. [topic/okeys-attr]
1162 . New variable: *charset-unknown-8bit* @357. [9b672f6]
1163 . *smtp-auth* @434 now defaults to "plain" (if *v15-compat* is set).
1164 (Josef Jurek, Gavin Troy) [dcbb31a]
1165 . All obsoleted: *autothread*, `thread' and `unthread'.
1166 Use *autosort*=thread, `sort thread' etc. instead. [ef16f43]
1167 . *showlast* @336 should have gained meaning. [4213d52] (Gavin Troy)
1168 . If the -r @57 option is given a full name specification (rather
1169 than only an address), pass the MTA the respective address parts
1170 via -F and -f. [dd90c14]
1171 $ Also try to pass -F _and_ -f if an empty argument was given to -r
1172 $ but *from* @378 (or, say, "From:") includes a full name. [5f68921]
1173 . New variable: *term-ca-mode* @345 (for WANT_TERMCAP). In
1174 interactive mode S-nail can now be forced to use ti and te termcap
1175 entries; in conjunction with a PAGER that does too ... [topic/termcap]
1176 . `ghost' @123 gained a new mode and tweaks (see manual). [8a49b12]
1177 . -r @57 option: fixed -h output and manual. [9a1a303]
1178 (Martin Brandenburg)
1179 . With *debug* or 2x *verbose* command lines (including those read
1180 from files) are now traced. [06042c4] (Bob Tennent)
1181 . NAIL_TMPDIR (new) and TMPDIR environment variables are now
1182 (guaranteed to be) set in pipe hooks. [a1cfb02]
1183 . "Subject:" Re: trimming: MIME decoding is now performed. [ede7c7d]
1184 . New variants of *pop3-bulk-load* @320: *-[USER@]HOST*. [5f5ae10]
1185 . *crt*=0 @366 now really works. [22f1477]
1186 . Maildir code now uses string relaxation which drastically reduced
1187 memory usage for large mailboxes. [d1c945f]
1188 And for the first time it performs real memory cleanup. [e549110]
1189 . Improved error message on MTA exec failure. (Dominic Meskys)
1190 . Fix: "setenv noVAR" would have set noVAR. [3c1f886]
1191 . When `setenv' is used to set any of HOME, USER, TMPDIR it'll be
1192 reflected by our internal variables. (Still hacky as special code
1193 is needed to do so; also "set HOME=x" shadows HOME for "varshow
1194 HOME" instead of being rejected. Future cleanup work.) [3f03b80]
1195 . Colon modifiers can now be joined, as in "f :uas". [8b6c259]
1196 $ . Maildir code did faulty From_ line detection, resulting in any
1197 $ non-quoted "From " line to start a new message (e.g., when doing
1198 $ things like "copy * MAILDIR" we could have f...ed up completely).
1199 $ Seems to have been added with Heirloom mailx 11.6 ([faf4b65],
1200 $ 2004-09-07). Neither goes credit to Jacob Gelbman nor to Robin
1201 $ Stjerndorff for messages to nail-devel@ on 2015-01-21 and
1202 $ 2015-02-20, respectively. :-)) [ae539c9]
1203 $ . *emptybox* has been obsoleted. *keep* @308 will also affect
1204 $ secondary mailboxes, and then both only deal with local regular
1205 $ MBOXes anyway, not to e.g., maildir files nor IMAP boxes. [d747c0a]
1206 $ . `unghost' @207 learned that * has to drop all ghosts. [34a92a5]
1207 $ . NAIL_TMPDIR (new) and TMPDIR environment variables are now
1208 $ (guaranteed to be) set for *agent-shell-lookup* @350. [5c3d7b5]
1209 $ . Things like "copy * MAILDIR" from within an IMAP (or POP3?) mailbox
1210 $ to a Maildir mailbox should now work again. [d747c0a]
1211 $ . IMAP code did faulty From_ line detection, resulting in some
1212 $ non-quoted "From " line to start a new message (e.g., when doing
1213 $ things like "copy * MAILDIR" we could have f...ed up completely).
1214 $ Present in Heirloom mailx since ever ([^b4ad9f2]). [66e3c93]
1215 $ . New variable: *mbox-rfc4155* @312: because of all the bugs in From_
1216 $ quoting etc., err, no. "Albatros" will last. I've just touched
1217 $ a lot of stuff regarding MBOX writing: From_ quoting (which may
1218 $ happen whenever we save already existent data in a MBOX, shall
1219 $ the original generator not have taken appropriate steps to ensure
1220 $ "false" From_ lines can't happen (S-nail does)) is now definitely
1221 $ POSIX compliant, meaning that we may quote much too much lines.
1222 $ So set *mbox-rfc4155* and we generate RFC 4155 compliant MBOX files,
1223 $ possibly leaving behind backward POSIX-only software. [70ba3ef]
1224 $ . New command line option: "-X cmd" @64 will execute "cmd" right
1225 $ before normal operation starts. The only option to execute commands
1226 $ in non-interactive mode when reading of resource files has been
1227 $ actively suppressed. This is an experimental feature. [d202869]
1229 ChangeLog (purely technical)
1230 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1232 . Improved output flushing, avoidance of printing of useless
1233 output (especially smoothens *editalong*). [topic/stdout-fflush]
1234 . String relaxation is now everywhere (but IMAP), the builtin buffer
1235 sizes were reduced to 1/3.
1236 . Again a manual review. The manual now supports mdocmx(7).
1237 . Using builtin ARC4 pseudo-random for random generation.
1238 . Better signal handling here and there.
1239 . Fixed most "unpluggable memory leaks" by plugging them via chains of
1240 signal handlers and longjmps. Terrible. But no more leaks.
1241 . A lot of this and that. (Really.)
1242 $. Slightly more tolerance for faulty Base64 encoding in message text
1243 $ parts. No real healing possible today, but requires v15.0 environment.
1244 $ This, however, only affects invalid data that, e.g., OpenSSL doesn't
1245 $ even give any output for! [54137fd,4d59cca]
1247 I didn't make it to improved message selection.
1248 And i also can't seem to find the necessary peace of mind to do a real
1249 review with this codebase, it's always that i start off doing something
1250 non-reviewish; but i'll see the day (what i hope).
1252 NEWS entries for the S-nail releases before v14.8.0 have been cut off
1253 after release v14.8.5 and can be found in the git(1) repository, e.g.,:
1254 $ git show v14.8.5:NEWS