Improve *mime-counter-evidence* deep inspection (Doug McIlroy)..
commit429a294dce2ab2cc555d95a8f9f997db8bff445d
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Sat, 25 Nov 2017 23:41:53 +0000 (26 00:41 +0100)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Tue, 5 Dec 2017 15:03:37 +0000 (5 16:03 +0100)
tree1f79af07052c6efc7238e895671d9f5bffd91b4b
parentca35643c66b514a96d12430cca10095181f94e68
Improve *mime-counter-evidence* deep inspection (Doug McIlroy)..

The deep application/octet-stream content inspection that is
controllable by bit 4 (0b1111) did yet use the normal MIME file
classification mechanism, which does not allow any content with
control characters other than \t, \n and such to be treated as
text.

It happened that Doug McIlroy has sent a mail with a single
embedded DC4 (device control 4) in a 2099 bytes message body.
In order to be able to easily look into such a message in the
future this changeset clears the way to pass through the actual
sendaction to the MIME classifier, and henceforth
SEND_TODISP(_ALL)? as well as SEND_QUOTE(_ALL)?, which mangle any
text to mask control characters etc., will wave through parts with
a certain (TODO fixed) number of control characters.
mime-parse.c
mime-types.c
nail.1
nail.h
nail.rc
nailfuns.h
send.c