Commit Graph

582 Commits

Author SHA1 Message Date
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
Leah Neukirchen
6fae889a13 filter: block SIGPIPE during filtering 2017-04-14 02:11:03 +02:00
Leah Neukirchen
07a60a3908 mrep: don't put our own addresses into Cc:
Closes #26.
2017-04-09 22:49:17 +02:00
Leah Neukirchen
36faf7f114 rfc2047: blaze822_decode_rfc2047: ignore RFC 2231 language tag 2017-04-06 22:55:00 +02:00
Leah Neukirchen
dc20c8248b rfc2231: fix warning 2017-04-06 22:32:08 +02:00
Leah Neukirchen
bbbde2616b mshow: safely print filenames 2017-04-06 22:31:27 +02:00
Leah Neukirchen
f8a305f441 Makefile: ensure to build object files 2017-04-06 22:15:14 +02:00
Leah Neukirchen
b2ecbde0a3 contrib/msendmail: add script to compose MIME mail noninteractively 2017-04-06 22:04:32 +02:00
Leah Neukirchen
93bfc9cf5f mshow: use blaze822_mime2231_parameter for filenames 2017-04-06 21:02:16 +02:00
Leah Neukirchen
c6480f4785 rfc2231: add RFC 2231 mime parameter parsing 2017-04-06 21:02:16 +02:00
Leah Neukirchen
da907f0045 mmime.1: cite RFC 2231 2017-04-06 21:02:16 +02:00
Leah Neukirchen
d75c446aff mmime: use RFC2231 for Content-Disposition when needed 2017-04-06 21:02:16 +02:00
Leah Neukirchen
935f4bf5b9 mshow: render_mime: don't access invalid addresses when no output was generated 2017-04-06 21:02:16 +02:00
Leah Neukirchen
9e8e0d38c9 filter: free buffer on failure 2017-04-06 21:02:16 +02:00