Commit Graph

1084 Commits

Author SHA1 Message Date
codesoap
33a6c48fb6 mcom: Quote one more variable 2019-02-06 21:11:29 +01:00
codesoap
d164496e09 mcom: Quote two more variables
Before quoting these two variables I experienced problems when
trying to use the "encrypt" option while using mcom.
2019-02-06 21:11:29 +01:00
Leah Neukirchen
1aa4977f71 mcom: decode address for Reply-To: and To: header
mmime will recode again if required.
2019-02-06 17:32:13 +01:00
Leah Neukirchen
9d280aa8a3 mcom: do_mime: fix for loop quoting 2019-02-05 09:49:59 +01:00
codesoap
5bd1ef9cff contrib/mencrypt: Quote variables whenever possible 2019-02-03 19:57:14 +01:00
codesoap
1dd3415085 mless: Quote variables whenever possible 2019-02-03 19:57:14 +01:00
codesoap
d68287aae5 mcom: Quote variables and subshells whenever possible 2019-02-03 19:57:14 +01:00
Leah Neukirchen
237ad8a2f3 mmime: print_header: use signed variable for linelen 2019-02-03 18:06:40 +01:00
Leah Neukirchen
adb5850983 blaze822: safe_append: avoid different signedness in comparison 2019-02-03 18:03:13 +01:00
Leah Neukirchen
6645e80324 mdeliver: force mode 0600 for pipes (BSD gives 0000 here by default) 2019-02-03 17:17:32 +01:00
Leah Neukirchen
5a2c6747b6 mcom: check if mail is formatted sensibly 2019-02-01 15:08:20 +01:00
Leah Neukirchen
79434e45db msed: allow final empty command 2019-02-01 14:46:09 +01:00
Leah Neukirchen
763be1967c mflag.1: tweak description 2019-01-31 20:49:46 +01:00
Vincent Breitmoser
8e4ed10b6c mshow: put message-id into env, if available
Closes: #135 [via git-merge-pr]
2019-01-29 13:20:06 +01:00
Leah Neukirchen
a6f48fe371 mcom: add -send 2019-01-29 13:10:25 +01:00
Duncaen
6b3cca21fb mscan.1: fix typo 2019-01-14 18:15:37 +01:00
Leah Neukirchen
3c6f5c3cee mcom: enter the loop again when we should run mime, another place 2019-01-12 16:14:12 +01:00
Leah Neukirchen
577b4497e4 mcom: enter the loop again when we should run mime 2019-01-12 16:12:12 +01:00
Leah Neukirchen
30fba2bcfd mcom: automime can be empty 2019-01-12 16:11:57 +01:00
Leah Neukirchen
d6c2470ad1 mcom: check drafts exist, and ensure they contain a / 2019-01-12 16:11:46 +01:00
Leah Neukirchen
8427990730 NEWS.md: update 2019-01-12 16:10:57 +01:00
Leah Neukirchen
d2f4294d95 NEWS.md: update 2019-01-11 16:29:44 +01:00
Leah Neukirchen
db4c4a118c mflow: avoid adding a space after the leading quotes if there already is one
Found by lhynes.
2019-01-10 20:43:50 +01:00
Leah Neukirchen
e9fb9ca796 contrib/mencrypt: use default key for From: 2019-01-10 16:53:47 +01:00
Leah Neukirchen
75980790a6 contrib/msign: use default key for From: 2019-01-10 16:53:36 +01:00
Leah Neukirchen
c5cd4df026 seq: sort dir file lists numerically 2019-01-10 16:43:25 +01:00
Leah Neukirchen
518ff4c148 contrib/mmairix: sort by date, newest first 2019-01-10 16:42:59 +01:00
Leah Neukirchen
08a46e6848 contrib/mverify: use gpg2 2019-01-10 16:42:18 +01:00
Leah Neukirchen
d9aaac6903 contrib/msign: use gpg2 2019-01-10 16:42:11 +01:00
Leah Neukirchen
87e5a1b2c3 contrib/mgpg: use gpg2 2019-01-10 16:42:05 +01:00
Leah Neukirchen
62706de483 NEWS.md: update 2019-01-02 19:12:06 +01:00
Leah Neukirchen
55c188a0c8 mless: remove mnext/mprev 2019-01-02 19:11:53 +01:00
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