Commit Graph

45 Commits (669af4ffcae6d6515f8de7a53c407ca26d1263c6)

Author SHA1 Message Date
Leah Neukirchen 669af4ffca mdeliver: ignore last empty line of mbox entries
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.
3 years ago
Leah Neukirchen 7d04932813 mexport: ensure mbox entries are separated by an empty line
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.
3 years ago
Leah Neukirchen 5b52110399 mmime: do not duplicate Content* headers
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.
3 years ago
Leah Neukirchen 741972a416 t/8000-mflag.t: fix when stdin is not a tty 3 years ago
Leah Neukirchen c2d497b139 t/6000-msort.t: fix when stdin is not a tty 3 years ago
Leah Neukirchen 2d6de31cd7 t/3000-magrep.t: fix when stdin is not a tty 3 years ago
Leah Neukirchen c525c0097e mmime: allow # in include lines, used to override the content-disposition 3 years ago
Leah Neukirchen 5167bbfe39 rfc2045: ensure mime boundaries end with a newline or - 4 years ago
Leah Neukirchen 4d566a6afe t/7000-mseq.t: use printf for robustness 4 years ago
Leah Neukirchen 1e9f6cd06b t/7000-mseq.t: add test for 74857db19 4 years ago
Leah Neukirchen 6649576fda t/5000-mscan.t: typo 4 years ago
Leah Neukirchen 32b5837bfd t/5000-mscan.t: add test for b41d2ef 4 years ago
Duncan Overbruck d9c3914924 mpick: breaking cmdline options
Two breaking changes which will make mpick fit more in with
all other mblaze tools by using mmsg(7) arguments:
- Use the -F flag to read script files.
- Remove msglist support
4 years ago
Leah Neukirchen 96c506085f t: use - instead of /dev/stdin 4 years ago
Leah Neukirchen e7442fcc72 seq: - now refers to the message on stdin, use .- for previous message 4 years ago
Julian Rother e5206792df t/2000-mpick.t: test environment variables in expressions 4 years ago
Leah Neukirchen d777d370dd t/lib.sh: work around a OpenBSD bug
Upstream report: https://marc.info/?i=871rnjhncc.fsf%20()%20vuxu%20!%20org
4 years ago
Duncan Overbruck b79e38b686 mpick: improve unknown binding error and add test case 4 years ago
Duncan Overbruck 0645634733 t/2000-mpick.t: check for double free with bindings 4 years ago
Duncaen aa2868822b t/2000-mpick.t: add tests for all the new features 4 years ago
Duncaen 8ae4801dd4 mpick: add header decodeop for better address matching 4 years ago
Leah Neukirchen e56f8ad294 blaze822: blaze822_addr: null-terminate ttok at the current position before appending 4 years ago
Leah Neukirchen 3370fd5f70 blaze822: blaze822_addr: don't force add space before quoted words 4 years ago
Leah Neukirchen 8c8a4bd422 blaze822: blaze822_addr: ignore leading obs-route 4 years ago
Leah Neukirchen 58365527e4 t: update links 5 years ago
Leah Neukirchen 6ec116f764 t/1501-maddr-regress.t: adapt to changes of bcd258a 6 years ago
Leah Neukirchen 718caa9b59 t/1500-maddr.t: adapt to changes of bcd258a 6 years ago
Leah Neukirchen d1a1245742 t/1501-maddr-regress.t: fix failing test, maddr never quotes the display name 6 years ago
Leah Neukirchen bbd8165f46 1501-maddr-regress.t: space in local part 6 years ago
Leah Neukirchen fe3e1629a6 t/1501-maddr-regress.t: add regression tests for address parsing 6 years ago
Leah Neukirchen 4dd363d51e t/1500-maddr.t: fix check, maddr now compresses whitespace. 6 years ago
Duncaen a604469303 t: add test case for latest magrep crash
This crash was reported in #76 and resolved with
commit 6239ef35357824308df079bd6df0dc4b202e898.
7 years ago
Duncaen 880f084177 mseq: remove the ,2: suffix from the file we search for and add testcase
This fixes #38

Closes: #39 [via git-merge-pr]
7 years ago
Duncaen 9bec745dde mpick: allow string expressions on any header 7 years ago
Duncaen b0f5662c5f t: add maddr and minc tests 7 years ago
Duncaen 537282d6af seq: fix selecting subthreads at the end of sequences and add test cases 7 years ago
Duncaen b960d5e3cc t: add check_test 7 years ago
Duncaen 2287e89631 t: add mseq and mflag tests 7 years ago
Duncaen 617e494ec0 t: minor fixes for mpick and mscan tests 7 years ago
Duncaen fe58e376bc t: add mscan and msort tests 7 years ago
Duncaen 0200d437d6 t: add msed tests 7 years ago
Duncaen 59900bed95 t: add magrep tests 7 years ago
Duncaen 914c0d744b mpick: add missing :R msglist type 7 years ago
Leah Neukirchen 4088f9f70b t/1000-mmime.t: wc -L is a gnuism 7 years ago
Leah Neukirchen 2c1ecbe4a6 t: beginnings of a test suite 7 years ago