Commit Graph

841 Commits

Author SHA1 Message Date
Leah Neukirchen
3e22345cfa mdirs: use blaze822.h 2018-01-25 13:46:56 +01:00
Leah Neukirchen
f20ca5fa88 blaze822.h: ensure PATH_MAX is defined 2018-01-25 13:09:45 +01:00
Larry Hynes
e17be52f43 mblaze.7: local maildir spool wording
Closes: #87 [via git-merge-pr]
2018-01-24 15:48:46 +01:00
Larry Hynes
67d0f4e4ba mblaze.7: use .Pq for single-line parens enclosure 2018-01-24 15:48:46 +01:00
Larry Hynes
62dc7e931b mblaze.7: incorporate review changes 2018-01-24 15:48:46 +01:00
Larry Hynes
a112b0e7a7 mblaze.7: update man page 2018-01-24 15:48:46 +01:00
Larry Hynes
b0dc63d61b mflow.1: correct quote char
Closes: #86 [via git-merge-pr]
2018-01-22 17:56:31 +01:00
Leah Neukirchen
37db100dcd mshow: render_mime: render message/delivery-status as plain text 2018-01-16 18:14:06 +01:00
Leah Neukirchen
fe3e1629a6 t/1501-maddr-regress.t: add regression tests for address parsing 2018-01-14 21:38:41 +01:00
Leah Neukirchen
2708f184e9 blaze822: blaze822_addr: empty ttok after using it 2018-01-14 21:38:20 +01:00
Leah Neukirchen
86b08d1925 blaze822: blaze822_addr: spaces in local-part need quoting too 2018-01-14 21:25:19 +01:00
Leah Neukirchen
4e18bb2131 blaze822: blaze822_addr: make < in <> reset mail address parsing 2018-01-14 21:06:56 +01:00
Leah Neukirchen
fce30ace50 blaze822: blaze822_addr: move previous addr contents to disp 2018-01-13 21:31:22 +01:00
Leah Neukirchen
09c92d5dd8 blaze822: blaze822_addr: <> always resets the address 2018-01-13 21:28:43 +01:00
Leah Neukirchen
effc645f8a blaze822: safe_append: off by one 2018-01-13 21:27:54 +01:00
Leah Neukirchen
13b4ad9a19 NEWS.md: update 2018-01-12 17:31:48 +01:00
Leah Neukirchen
4dd363d51e t/1500-maddr.t: fix check, maddr now compresses whitespace. 2018-01-12 17:26:08 +01:00
Leah Neukirchen
f860f2d2c1 msed: sed: free h and v 2018-01-11 15:45:16 +01:00
Leah Neukirchen
9f49370ae3 mshow: list_mime: fix small leak 2018-01-11 15:39:51 +01:00
Leah Neukirchen
ebae697000 mthread: thread: fix small leak 2018-01-11 15:39:42 +01:00
Leah Neukirchen
3c3c175086 rfc2047: blaze822_decode_rfc2047: fix memory leak of srcenc 2018-01-11 15:39:07 +01:00
Leah Neukirchen
1207c53444 msed: fix parsing of a// 2018-01-11 15:38:54 +01:00
Leah Neukirchen
3957080127 mscan: u8putstr: factor out common code 2018-01-11 15:37:47 +01:00
Leah Neukirchen
7999b44de8 mverify: properly quote the sed mess 2018-01-10 23:50:54 +01:00
Leah Neukirchen
bafe62e898 NEWS.md: update 2018-01-09 17:06:04 +01:00
Leah Neukirchen
de30dce638 mquote: fall back to rendering when no plaint text reply was found 2018-01-09 17:02:02 +01:00
Leah Neukirchen
e2c243bc26 mshow: exit with status 1 if -R didn't find a plain text reply 2018-01-09 17:01:35 +01:00
Leah Neukirchen
4bf38b9751 mless: add { }/$ to jump to first/last message 2018-01-07 23:30:28 +01:00
Leah Neukirchen
a07be8d7c8 NEWS.md: update 2018-01-07 23:07:16 +01:00
Leah Neukirchen
cb33213374 mshow.1: explain filter exit statuses 2018-01-07 23:00:06 +01:00
Leah Neukirchen
dd6915d47e mcom: strip empty headers after editing 2018-01-07 21:32:48 +01:00
Leah Neukirchen
07f3f044ed msed: add s///d flag to remove on match 2018-01-07 21:28:02 +01:00
Leah Neukirchen
5e7c300b42 blaze822: blaze822_loop: use long as return type 2018-01-07 21:13:59 +01:00
Leah Neukirchen
a5026c9b99 blaze822: blaze822_addr: rewrite address parsing
This hopefully fixes many bugs and subtleties related to extracting
adresses.
2018-01-07 20:42:53 +01:00
Leah Neukirchen
ed16bee191 mseq: create tmpfile O_EXCL to detect multiple mseq -S in a pipeline 2018-01-06 23:26:05 +01:00
Leah Neukirchen
5f500a9134 contrib/mverify: fix quoting 2018-01-06 23:10:12 +01:00
Leah Neukirchen
3ee9525824 add contrib/mraw 2018-01-06 22:54:08 +01:00
Leah Neukirchen
6f3fa0d78b mcom: avoid xargs 2018-01-06 22:53:23 +01:00
Leah Neukirchen
88a87a361a add mbnc to bounce messages 2018-01-06 19:17:49 +01:00
Leah Neukirchen
a6243d7a2f mless: drop PATH change 2018-01-06 18:36:32 +01:00
Leah Neukirchen
d1d2a41baf mverify: drop dependency on unix2dos and bash 2018-01-06 18:34:16 +01:00
Leah Neukirchen
48a3769f34 mverify: use -r for plain text signatures 2018-01-06 18:20:15 +01:00
Leah Neukirchen
e89e6f835d mless: allow overriding of colors in colorscan
Fixes #81.
2018-01-04 17:47:47 +01:00
Leah Neukirchen
af7d6750fd mlist: listarg: list empty Maildirs if no filtering took place 2018-01-01 18:44:59 +01:00
Leah Neukirchen
3ebd4cc3a3 mlist: list: update total count too 2018-01-01 18:44:36 +01:00
Leah Neukirchen
6310898b10 mshow: list, reply: skip leading spaces for file names 2017-12-06 14:00:38 +01:00
Leah Neukirchen
4fef01ab6d rfc2047: blaze822_decode_rfc2047: check for NUL bytes at the very end of decoding 2017-12-05 18:05:58 +01:00
Leah Neukirchen
ba4a0cf589 rfc2047: blaze822_decode_rfc2047: don't decode encoded-words that contain NUL bytes
This is a lax interpretation of RFC 2047, 4.5:
> Only printable and white space character data should be encoded using
> this scheme.  However, since these encoding schemes allow the
> encoding of arbitrary octet values, mail readers that implement this
> decoding should also ensure that display of the decoded data on the
> recipient's terminal will not cause unwanted side-effects.

Since many of the code that deals with header values does not support
inline NUL bytes, it's best to not decode them here.
We check for this after iconv, so quoted-printable UTF-32 e.g. should be
safe.

Also see https://www.mailsploit.com/
2017-12-05 16:59:31 +01:00
Leah Neukirchen
4d40475364 mscan: fetch window size from /dev/tty
Fixes mscan width inside mless.
2017-11-28 18:31:49 +01:00
Leah Neukirchen
3e6f8047a6 u8decode: detect invalid encodings 2017-11-23 16:22:06 +01:00