Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | t/1900-mdeliver.t: fix plan | Leah Neukirchen | 2021-05-10 | 1 | -1/+1 |
| | |||||
* | msed: match header names case insensitively | Leah Neukirchen | 2021-05-10 | 1 | -1/+1 |
| | | | | Found by skarnet. | ||||
* | mexport: use UTC timestamp in the postmark line | Leah Neukirchen | 2021-05-09 | 1 | -1/+1 |
| | |||||
* | mexport: default timestamp to unix second 0, not -1 | Leah Neukirchen | 2021-05-09 | 1 | -1/+1 |
| | | | | This is better recognizable as "no data". | ||||
* | NEWS.md: update | Leah Neukirchen | 2021-05-09 | 1 | -0/+7 |
| | |||||
* | t/1900-mdeliver.t: add test for malformed mboxes | Leah Neukirchen | 2021-05-09 | 1 | -0/+16 |
| | |||||
* | mdeliver: ignore last empty line of mbox entries | Leah Neukirchen | 2021-05-09 | 2 | -3/+85 |
| | | | | | | | | | | https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml > Each message is immediately prefaced by a separation line and > terminated by an empty line. Bug discovered by skarnet. Fixes #207. | ||||
* | mexport: ensure mbox entries are separated by an empty line | Leah Neukirchen | 2021-05-09 | 2 | -0/+29 |
| | | | | | | | | https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml > Each message is immediately prefaced by a separation line and > terminated by an empty line. Bug discovered by skarnet. | ||||
* | mmime: do not duplicate Content* headers | Leah Neukirchen | 2021-05-09 | 2 | -8/+69 |
| | | | | | | | | | Do not add additional Content-Type and Content-Transfer-Encoding headers when using mmime on input already containing them. Do not reencode the message if Content-Transfer-Encoding is set. Based on a patch by Felix Van der Jeugt and duncaen. | ||||
* | mcom: also read $VISUAL to find the editor | Leah Neukirchen | 2021-04-21 | 2 | -3/+5 |
| | | | | Closes #206. | ||||
* | safe_u8putstr: add oneline mode that prints CR/LF as C0 sequences | Leah Neukirchen | 2021-03-15 | 3 | -17/+18 |
| | |||||
* | mdeliver.1: spelling | Leah Neukirchen | 2021-02-05 | 1 | -1/+1 |
| | |||||
* | mdeliver.1: small tweaks | Leah Neukirchen | 2021-02-04 | 1 | -2/+3 |
| | |||||
* | GNUmakefile: run tests without stdin connected to a terminal | Leah Neukirchen | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | t/8000-mflag.t: fix when stdin is not a tty | Leah Neukirchen | 2021-01-27 | 1 | -8/+8 |
| | |||||
* | t/6000-msort.t: fix when stdin is not a tty | Leah Neukirchen | 2021-01-27 | 1 | -5/+5 |
| | |||||
* | t/3000-magrep.t: fix when stdin is not a tty | Leah Neukirchen | 2021-01-27 | 1 | -10/+10 |
| | |||||
* | mshow: show last part of multipart/mixed when none matched | Leah Neukirchen | 2021-01-17 | 2 | -2/+9 |
| | | | | This is in conformance with RFC 1341. | ||||
* | mshow: add "-A all" to render all attachments | Leah Neukirchen | 2021-01-17 | 3 | -7/+17 |
| | | | | Closes #198. | ||||
* | Fix typo in NEWS | nicoo | 2021-01-14 | 1 | -1/+1 |
| | | | | Closes: #199 [via git-merge-pr] | ||||
* | NEWS.md: update for 1.1 v1.1 | Leah Neukirchen | 2021-01-14 | 2 | -1/+8 |
| | |||||
* | mcom: do not match shebang in needs_multipart() | codesoap | 2021-01-04 | 1 | -1/+1 |
| | | | | | | Avoids matching lines like '#!/usr/bin/env sh'. Closes: #196 [via git-merge-pr] | ||||
* | mmime: allow # in include lines, used to override the content-disposition | Leah Neukirchen | 2020-12-22 | 2 | -2/+29 |
| | |||||
* | rfc2045: blaze822_multipart: parse rest when boundary is missing | Leah Neukirchen | 2020-12-09 | 1 | -2/+2 |
| | | | | | Either the mail got truncated or was wrongly generated, try to go on by taking the remains of the buffer as part. | ||||
* | Allow gpg and gpg2 executables for gnupg interaction | James Rowe | 2020-11-24 | 4 | -5/+29 |
| | | | | Closes: #193 [via git-merge-pr] | ||||
* | rfc2045: mymemmemnl: make more check idiomatic | Leah Neukirchen | 2020-11-12 | 1 | -1/+1 |
| | |||||
* | rfc2045: fix overread in blaze822_mime_parameter | Leah Neukirchen | 2020-11-12 | 1 | -0/+2 |
| | | | | This triggered an invalid read in strchr on 'Content-Type: text/html; ' | ||||
* | rfc2045: ensure mime boundaries end with a newline or - | Leah Neukirchen | 2020-11-12 | 2 | -2/+63 |
| | |||||
* | mcom: detect and report mmime errors | Leah Neukirchen | 2020-11-08 | 1 | -1/+5 |
| | | | | Closes #191. | ||||
* | mmime: propagate errors when attaching a file fails | Leah Neukirchen | 2020-11-08 | 1 | -2/+4 |
| | |||||
* | Fix typo in NEWS | nicoo | 2020-11-02 | 1 | -2/+2 |
| | | | | Closes: #190 [via git-merge-pr] | ||||
* | add contrib/mmailto | Leah Neukirchen | 2020-10-15 | 1 | -0/+58 |
| | | | | | | | | Closes #189. This does not work with terminal emulators that don't use -e or properly support arbitrary arguments after it. Here's a nickel, get yourself a proper terminal emulator. | ||||
* | contrib/_mblaze: silence mseq errors | James Rowe | 2020-10-10 | 1 | -1/+1 |
| | | | | | | | On the first run or if you manually delete your sequence file, mseq errors will break your prompt when you hit tab. Closes: #188 [via git-merge-pr] | ||||
* | t/7000-mseq.t: use printf for robustness | Leah Neukirchen | 2020-10-09 | 1 | -1/+1 |
| | |||||
* | mcom: allow tilde prefixed path for profile's outbox setting | James Rowe | 2020-10-08 | 1 | -1/+1 |
| | | | | Closes: #187 [via git-merge-pr] | ||||
* | mpick: use function pointer type for callback | Michael Forney | 2020-09-25 | 1 | -1/+1 |
| | | | | | | | | Though POSIX requires this conversion to work correctly (for dlsym), it is not valid in ISO C, so it is better to just uses the appropriate function pointer type. Closes: #185 [via git-merge-pr] | ||||
* | include strings.h for str(n)casecmp | Michael Forney | 2020-09-25 | 4 | -0/+4 |
| | | | | | | These POSIX functions are declared in strings.h, so include this header explicitly instead of relying on the libc's default feature-test macros to include it through string.h. | ||||
* | README: update | Leah Neukirchen | 2020-09-12 | 1 | -4/+5 |
| | |||||
* | NEWS.md: update for 1.0 v1.0 | Leah Neukirchen | 2020-09-12 | 2 | -2/+8 |
| | |||||
* | mgenmid: fix pledge, needs dns | Leah Neukirchen | 2020-09-07 | 1 | -1/+1 |
| | | | | Found by lhynes. | ||||
* | mpick: relax pledge for redirects | Leah Neukirchen | 2020-09-06 | 1 | -1/+1 |
| | | | | | This allows mpick to create files and run popen. In the future, we can only pledge this if these features are actually used. | ||||
* | pledge(2) all programs | Tim Kuijsten | 2020-09-06 | 21 | -1/+100 |
| | | | | | | | | | | | | | | | | All programs except mshow have a very tight set of promises. mshow has a broad set of promises and might be a good future candidate to further restrict using unveil(2). This patch is based on commit 0300a112 by Alex Holst (dated 2017-12-07), which was proposed in GH PR #79. * pledged mpick, mflow and mdate so that now all programs are pledged * removed some unneeded promises and added some missing promises * move err.h include and OpenBSD ifdef into a new xpledge.h * cleaned up code aligning and whitespace Closes: #179 [via git-merge-pr] | ||||
* | mmime: allow ; and =, for ";charset=" | Leah Neukirchen | 2020-08-22 | 1 | -1/+2 |
| | |||||
* | t/7000-mseq.t: add test for 74857db19 | Leah Neukirchen | 2020-08-14 | 1 | -1/+2 |
| | |||||
* | t/5000-mscan.t: typo | Leah Neukirchen | 2020-08-11 | 1 | -1/+1 |
| | |||||
* | mseq: reinitialize iter for each command line argument | Leah Neukirchen | 2020-08-11 | 1 | -1/+1 |
| | | | | Fixes #181. | ||||
* | t/5000-mscan.t: add test for b41d2ef | Leah Neukirchen | 2020-08-11 | 1 | -1/+3 |
| | |||||
* | seq: blaze822_loop: reinitialize iter for each command line argument | Leah Neukirchen | 2020-08-11 | 1 | -1/+1 |
| | |||||
* | msort: order: remove dead assignment | Leah Neukirchen | 2020-08-10 | 1 | -3/+3 |
| | | | | Found by scan-build/clang 10.0.0 | ||||
* | seq: blaze822_seq_load: remove dead assignment | Leah Neukirchen | 2020-08-10 | 1 | -2/+2 |
| | | | | Found by scan-build/clang 10.0.0 |