Commit Graph

645 Commits

Author SHA1 Message Date
Leah Neukirchen
938b2c2d31 mmime: gen_attachment: try to generate filenames as atoms, use qp for double quotes 2017-06-12 15:31:27 +02:00
Leah Neukirchen
f726c21276 rfc2231: blaze822_mime2231_parameter: decode first argument if we jumped inside the loop 2017-06-12 14:57:33 +02:00
Leah Neukirchen
5b6d2ff29f rfc2231: blaze822_mime2231_parameter: ensure plain file names are null terminated 2017-06-12 14:57:06 +02:00
Leah Neukirchen
4d2607fe21 blaze822: blaze822_addr: skip spaces after > 2017-06-03 17:24:14 +02:00
Leah Neukirchen
10a011b94e blaze822: blaze822_addr: use memcpy instead of strcpy, we know the length 2017-06-03 17:23:41 +02:00
Leah Neukirchen
12d38b8a13 GNUmakefile: museragent: use --dirty 2017-06-01 14:59:27 +02:00
Leah Neukirchen
84ae9a72b1 mcom: use museragent 2017-06-01 14:57:27 +02:00
Leah Neukirchen
f8a1c21a71 GNUmakefile: generate museragent 2017-06-01 14:57:01 +02:00
Leah Neukirchen
b2e97e6cfe mscan: use wint_t for %lc
%lc arguments in fprintf are of type wint_t, not wchar_t.

Reported by Léo Villeveygoux.
2017-05-31 14:57:24 +02:00
Leah Neukirchen
1fbebe4d16 GNUmakefile: detect OS 2017-05-27 23:51:48 +02:00
Leah Neukirchen
7b5533f518 rename Makefile 2017-05-27 23:43:56 +02:00
Leah Neukirchen
5719fbb793 contrib/mgpg: use mktemp with -t (for macOS) 2017-05-27 20:22:37 +02:00
Leah Neukirchen
d28b02d143 mhdr: cast printing of time_t 2017-05-27 17:49:49 +02:00
Leah Neukirchen
bbebc9896a mdeliver: cast printing of time_t 2017-05-27 17:49:36 +02:00
Leah Neukirchen
1ad29c59f6 Makefile: OpenBSD needs -pthread 2017-05-27 17:47:05 +02:00
Leah Neukirchen
63006f6f64 blaze822_mime2231_parameter: fix lookup and parsing of non-2231 fields 2017-05-27 17:38:28 +02:00
Leah Neukirchen
b45b0560d7 contrib: add msign and mencrypt 2017-05-26 23:31:06 +02:00
Leah Neukirchen
122711840c add contrib/README.md 2017-05-26 23:28:15 +02:00
Leah Neukirchen
508371253c mshow: try to keep CRLF intact for -r 2017-05-26 23:27:48 +02:00
Leah Neukirchen
7635bc4657 contrib/mverify: use unix2dos for CRLF normalization 2017-05-26 23:27:40 +02:00
Leah Neukirchen
46a44e2f22 mmime: add mblaze/raw for plain text inclusion 2017-05-26 23:24:26 +02:00
Leah Neukirchen
d8976d416c mmime: add -t to override toplevel content-type 2017-05-26 22:00:55 +02:00
Leah Neukirchen
687b3ddc0d add mgpg 2017-05-26 15:57:56 +02:00
Leah Neukirchen
df7cd7249c mcom: commajoin: use awk
The sed solution did not work with OpenBSD sed and Plan9 sed when only
one line was used.
2017-05-26 15:44:31 +02:00
Duncaen
36e9a1afb0 mdeliver: fix error string 2017-05-26 15:44:13 +02:00
Duncaen
5c457169a5 mless: replace grep -m1 with sed for portability 2017-05-26 15:44:13 +02:00
Leah Neukirchen
3b97f3794e pipeto: check argv[0] is set
This path couldn't so far be triggered, but can be useful if we reuse
this code.
2017-05-23 15:31:46 +02:00
Leah Neukirchen
94854ad185 mscan: spawn a pager for interactive use 2017-05-23 15:25:28 +02:00
Leah Neukirchen
e8107b1889 mshow: spawn a pager for interactive use 2017-05-23 15:16:27 +02:00
Leah Neukirchen
e7ce5ecc78 mshow: no safe output for -R 2017-05-23 15:05:56 +02:00
Leah Neukirchen
5fae53b12b mshow: document -n 2017-05-23 15:05:33 +02:00
Leah Neukirchen
3732dd355d mscan: use %H:%M timestamp for all mails newer than 24h 2017-05-21 01:07:47 +02:00
Leah Neukirchen
4f99861f09 mcom.1: tweak 2017-05-21 01:07:47 +02:00
Duncaen
7ef89bb5aa contrib/mvi: fix mktemp template 2017-05-19 19:28:17 +02:00
Leah Neukirchen
ceeb3848e4 man: fix rendering with groff
Closes #32.
2017-05-17 14:05:18 +02:00
Leah Neukirchen
152394d261 mblaze-profile.5: fix lint 2017-05-15 15:15:00 +02:00
Leah Neukirchen
099bf50aee mscan.1: fix lint 2017-05-15 15:15:00 +02:00
Leah Neukirchen
820c622404 mpick.1: fix lint 2017-05-15 15:15:00 +02:00
Leah Neukirchen
ce8f824332 magrep.1: fix lint 2017-05-15 15:15:00 +02:00
Larry Hynes
289716b630 mmime.1: closing > for <expr
Closes: #31 [via git-merge-pr]
2017-05-02 01:27:10 +02:00
Leah Neukirchen
67c0a3b17c mmime: print_header: only force qp-encoding for overlong lines
Lines SHOULD not be longer than 78 chars, and we try to fold like that,
but we only enforce qp-encoding for 7-bit safe lines if they would be
longer than 998, which they MUST not be.
2017-04-30 18:37:06 +02:00
Leah Neukirchen
f53e8dc672 mmime: check: allow up to 998 chars in header lines 2017-04-30 18:37:06 +02:00
Duncaen
b57c2d9b09 mpick: make message numbers starting at one
fixes #29
2017-04-27 23:49:12 +02:00
Leah Neukirchen
b21daa47d6 mscan: squeeze slashes for %F
Fixes #30.
2017-04-27 13:54:10 +02:00
leovilok
1f097f28e0 mgenmid: fix fallback random generation on 32bit
lrand48 returns a long int, which is 32bits wide on 32bits systems

Closes: #28 [via git-merge-pr]
2017-04-22 13:55:32 +02:00
Duncaen
9bec745dde mpick: allow string expressions on any header 2017-04-17 03:01:57 +02:00
Leah Neukirchen
2895704eee mcom: only generate multipart mime mails when using attachments 2017-04-16 19:38:51 +02:00
Leah Neukirchen
ad9fe95761 filter: simplify clean up logic 2017-04-14 20:00:25 +02:00
Leah Neukirchen
9e49cf7561 filter: use sigpending/sigismember/sigwait instead of sigtimedwait
sigtimedwait is just POSIX.1-2001, which lesser operating systems don't
implement completely.
2017-04-14 19:52:58 +02:00
Leah Neukirchen
b78cf918db filter: use sigtimedwait with zero wait time
Else it will block until SIGPIPE comes.
2017-04-14 02:22:12 +02:00