Commit Graph

1102 Commits

Author SHA1 Message Date
Leah Neukirchen
1349f617de mshow: exit with 1 if not all attachments were found 2019-01-02 18:39:19 +01:00
Leah Neukirchen
ae720c51e0 mrep: add -noquote
Closes #139.
2019-01-02 18:29:27 +01:00
Leah Neukirchen
5280abfa10 mgenmid: do not use raw timestamp
We one-time-pad the timestamp with a random key instead.
This will provide enough entropy to be unique, but not leak the system date.
Even with a bad RNG state it should guarantee uniqueness, however.
2018-12-25 19:31:34 +01:00
Julian Rother
3cc1944877 magrep: fix memory leak in magrep message body search
Closes: #147 [via git-merge-pr]
2018-12-19 16:31:54 +01:00
Leah Neukirchen
0da4342b22 mdeliver: keep permissions of message for freshly created files 2018-12-19 16:13:48 +01:00
Leah Neukirchen
ab80765c24 mmkdir: ensure dir permissions for toplevel directory too (using umask)
Fix a quoting bug on the side.
2018-12-18 18:16:04 +01:00
Leah Neukirchen
c2e0dcec3c mshow: extract: skip leading spaces for file names
Found by Solene Rapenne.
2018-12-16 18:53:22 +01:00
Leah Neukirchen
9d28d930e4 contrib/menter: more robustness on unexistant messages 2018-11-29 13:18:37 +01:00
Leah Neukirchen
cf15239377 safe_u8putstr: whitespace fix 2018-11-14 17:15:53 +01:00
Leah Neukirchen
4235c384ab mcom: aborting the editor is more like delete than cancel 2018-11-14 17:07:03 +01:00
Leah Neukirchen
188aeac3e1 safe_u8putstr: handle NUL bytes
These have length 0, but we still want to progress one byte.
Found by duncaen with afl-fuzz.
2018-11-14 16:03:13 +01:00
Leah Neukirchen
2069a0e913 mshow: choose_alternative: skip empty MIME parts. 2018-11-14 15:04:36 +01:00
Leah Neukirchen
41098c3851 mdirs: reset cwd after each iteration
Else `mdirs dir1/a dir2/b` fails, as the first iteration remains in `dir1`.
Found by milliardo.
2018-11-13 13:25:35 +01:00
Leah Neukirchen
7ea96a6dea mrefile: better error message on ENOENT 2018-10-30 15:04:59 +01:00
Leah Neukirchen
d2dfe8bd30 contrib/msearch: errors to stderr 2018-09-27 14:10:35 +02:00
Leah Neukirchen
c04d2edd08 contrib/msearch: -- handling is builtin 2018-09-27 14:10:35 +02:00
Leah Neukirchen
67e0beb56b contrib/msearch: add -x for mairix 2018-09-27 14:10:35 +02:00
Thomas Schneider
fbb797253d Add contrib/msearch
Closes: #138 [via git-merge-pr]
2018-09-27 14:10:35 +02:00
Duncaen
9d793b3662 mpick: add -v to usage 2018-09-25 16:37:38 +02:00
Duncaen
d09efa6aa9 mpick: add -v flag
Closes: #137 [via git-merge-pr]
2018-09-25 16:05:51 +02:00
Leah Neukirchen
d5714df6c9 mscan: rename pid1 to pager_pid 2018-09-25 14:01:32 +02:00
Leah Neukirchen
ddd7e54fbb mscan: hide message count behind -v
Also ensure output is flushed before printing it.
2018-09-25 13:59:58 +02:00
Leah Neukirchen
82faec5cfe mscan: u8putstr: take length of replacement char into account 2018-09-14 13:25:59 +02:00
Leah Neukirchen
1336ea5512 magrep: add -h, which is like -p but doesn't print the file name. 2018-09-10 15:22:02 +02:00
Leah Neukirchen
c818ab8645 contrib/mgpg: ensure gpg errors are shown 2018-09-03 16:01:45 +02:00
Marcin Niestroj
8274295d90 mpick: Increase buffer for decoded header field
When using:

  $ mlist maildir | mpick -t '"cc" ~~ "*vger.kernel.org*"'

with a maildir containing mails from Linux Mailing List, not all
messages were picked correctly. It turned out that the reason was
small (100 bytes) buffer for header fields.

Increase header field buffer to 4096, which is the most commonly used
value.

Closes: #133 [via git-merge-pr]
2018-08-30 13:08:08 +02:00
Chris Lamb
5dbed68b6a GNUmakefile: correct reference to SOURCE_DATE_EPOCH
It's DATE, not TIME.

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907537

Closes: #132 [via git-merge-pr]
2018-08-29 13:40:00 +02:00
Vincent Breitmoser
562fec2614 man/mshow.1: document -x behavior if no parts are specified
Closes: #131 [via git-merge-pr]
2018-08-27 14:18:06 +02:00
Leah Neukirchen
704c9cec62 mscan: prioritize displaying trashed mail over other markers
Trashing is the most dangerous flag.

Closes #130.
2018-08-26 16:47:15 +02:00
Vincent Breitmoser
0afe5e3638 contrib/_mblaze: small fixes to _mhdr and _minc
Closes: #129 [via git-merge-pr]
2018-08-26 16:27:44 +02:00
Vincent Breitmoser
e7c3c08da3 man/msed.1: mention mhdr in see also section of msed
Closes: #128 [via git-merge-pr]
2018-08-26 16:26:36 +02:00
Leah Neukirchen
5495fdd0c4 man/mshow.1: document $MAILFILTER, small tweaks
Closes #126.
2018-08-24 19:11:22 +02:00
Vincent Breitmoser
147301d16c contrib/_mblaze: mflag takes a message argument, not directory
Closes: #125 [via git-merge-pr]
2018-08-22 15:20:25 +02:00
Vincent Breitmoser
0b6080219b contrib/_mblaze: fix _mblaze_message
This ignores lines from mseq | mscan that don't start with a sequence
number, i.e.  dangling messages in threads.

Closes: #124 [via git-merge-pr]
2018-08-22 15:20:08 +02:00
Leah Neukirchen
1288ade9ed mthread: keep toplevel thread date-order when pruning
Else this could result in a toplevel thread getting pruned, but its
child has an older date than was calculated by newest(), messing up the
order.
2018-08-21 17:44:24 +02:00
Leah Neukirchen
d82e7d4555 contrib/_mblaze: add zsh completion
By @Valodim.
2018-08-18 17:06:37 +02:00
Leah Neukirchen
9f10db393e mthread: avoid truncating internal buffer 2018-08-15 17:58:58 +02:00
Leah Neukirchen
86bddb5527 VERSION: update for 0.4 2018-08-15 17:16:45 +02:00
Leah Neukirchen
ca75530061 NEWS.md: update for 0.4 2018-08-15 17:16:45 +02:00
Leah Neukirchen
6ec116f764 t/1501-maddr-regress.t: adapt to changes of bcd258a 2018-08-15 17:16:45 +02:00
Leah Neukirchen
718caa9b59 t/1500-maddr.t: adapt to changes of bcd258a 2018-08-15 17:16:45 +02:00
Leah Neukirchen
5294c374df mcom: whitespace fixes 2018-08-15 17:01:06 +02:00
Leah Neukirchen
eca1ff8087 mrep: don't put To: into Cc:, don't duplicate addresses in Cc: 2018-08-13 13:18:22 +02:00
Leah Neukirchen
ebaf9e2df2 mcom: detect Attach: headers for automiming 2018-07-16 13:09:20 +02:00
Leah Neukirchen
0d397f6790 mdeliver: fix stray whitespace 2018-07-08 17:13:43 +02:00
Duncaen
98918783aa magrep: add -l flag
Closes: #121 [via git-merge-pr]
2018-07-08 15:13:17 +02:00
Leah Neukirchen
817a111909 mdeliver: improve message when not delivering to a maildir 2018-06-09 19:23:41 +02:00
Leah Neukirchen
ece2717771 mdeliver: more careful Status: parsing 2018-06-08 14:02:50 +02:00
Leah Neukirchen
6eebeaf68f mdeliver: recognize CRLF empty line after header 2018-06-08 14:02:34 +02:00
Thomas Schneider
e356ae5e5c Update VERSION
Closes: #120 [via git-merge-pr]
2018-06-04 12:12:41 +02:00