Commit Graph

1041 Commits

Author SHA1 Message Date
Julian Rother
e5206792df t/2000-mpick.t: test environment variables in expressions 2020-06-07 15:33:53 +02:00
Leah Neukirchen
282de65079 mrep: use Reply-From configuration to find From header
This allows replying from different addresses than Local-Mailbox
if they appear in To, Cc or Bcc.

Idea and initial patch by @nmeum.
2020-05-23 16:00:06 +02:00
Leah Neukirchen
3ea0c9c355 mrep: don't add another From: when -from is used already
Fixes #176.
2020-05-23 15:41:59 +02:00
Leah Neukirchen
17fe13a95f add contrib/mcount, a tool to count mails (possibly between pipes) 2020-05-16 21:31:12 +02:00
Leah Neukirchen
41a9a6b40d mthread: remove count output
Closes #174.
2020-05-16 21:20:41 +02:00
Leah Neukirchen
d777d370dd t/lib.sh: work around a OpenBSD bug
Upstream report: https://marc.info/?i=871rnjhncc.fsf%20()%20vuxu%20!%20org
2020-05-16 18:54:39 +02:00
Leah Neukirchen
fb77179bbd NEWS.md: update for 0.7 2020-05-15 18:52:13 +02:00
Leah Neukirchen
7cd43f4203 mlist: fix dangling else warning 2020-05-15 18:51:25 +02:00
Duncan Overbruck
b79e38b686 mpick: improve unknown binding error and add test case 2020-05-15 18:41:13 +02:00
Duncan Overbruck
0645634733 t/2000-mpick.t: check for double free with bindings 2020-05-15 18:41:13 +02:00
Duncan Overbruck
95a9c0837b mpick: fix memory leaks 2020-05-15 18:41:13 +02:00
Duncaen
331d0e4680 mpick: use slurp instead of mmaping files 2020-05-15 18:41:13 +02:00
Duncaen
d45d1c4ff5 mpick: fix memory leak in parse_dur 2020-05-15 18:41:13 +02:00
Duncaen
d93c1e2fe4 mpick: always point to malloc memory in parse_string 2020-05-15 18:41:13 +02:00
Duncaen
aa2868822b t/2000-mpick.t: add tests for all the new features 2020-05-15 18:41:13 +02:00
Duncaen
8ae4801dd4 mpick: add header decodeop for better address matching 2020-05-15 18:41:13 +02:00
Duncaen
32f0fcbc0d mpick: add let expressions 2020-05-15 18:41:13 +02:00
Duncaen
d5afda072b mpick: better error for missing ) over multiple lines 2020-05-15 18:41:13 +02:00
Duncaen
4baa330b63 mpick: allow reading expressions from files i.e. using #!/bin/mpick 2020-05-15 18:41:13 +02:00
Duncaen
d235a3e64c mpick: minor cleanups/memleak fixes for parse_msglist 2020-05-15 18:41:13 +02:00
Duncaen
482bbffd2c mpick: refactor mailfile handling
- fix some memory leaks
- fix handling of unexisting files/mthread containers
- in oneline mode use one mailinfo struct for each line
2020-05-15 18:41:13 +02:00
Duncaen
1010ae06bf mpick: add support for multiline expressions and comments 2020-05-15 18:41:13 +02:00
Duncaen
b8cf02825a mpick: add xcalloc and xstrdup 2020-05-15 18:41:13 +02:00
Duncaen
28d0d51e34 mpick: add freeexpr 2020-05-15 18:41:13 +02:00
Duncaen
8f0b6e2117 mpick: add ternary (conditional) operator 2020-05-15 18:41:13 +02:00
Duncaen
3968f2ef03 mpick: add skip expression 2020-05-15 18:41:13 +02:00
Duncaen
401aa88752 mpick: add pipes and file redirection 2020-05-15 18:41:13 +02:00
Duncaen
eec6a4ebfd mdeliver.1: add mrefile to SEE ALSO 2020-05-15 18:41:13 +02:00
Leah Neukirchen
41c8fefb73 blaze822_walk_mime: limit recursion depth 2020-05-09 23:09:48 +02:00
Leah Neukirchen
61caf5a6a3 mthread: comment depth convention 2020-05-04 15:00:07 +02:00
Leah Neukirchen
4927d44d55 mthread: add -p to only add parent messages via -S 2020-05-04 14:58:58 +02:00
Leah Neukirchen
62da7c59ea mthread: add -r to reverse top-level order 2020-05-04 14:45:07 +02:00
Leah Neukirchen
a5c77c71bc mlist: print number of matches when message selection is in place 2020-04-30 23:45:35 +02:00
Leah Neukirchen
e4e15bb4f0 mflag: list: don't clobber f when flags and -i is used 2020-04-30 23:27:39 +02:00
Leah Neukirchen
d83860c34e man/*: normalize references, use %T for RFC titles 2020-04-27 01:00:13 +02:00
Alyssa Ross
3663d7365b msuck: don't init maildir until connected
Previously, a typo in the newsgroup name would leave an empty mailbox
for a non-existent newsgroup.  This can be avoided by delaying maildir
initialization until after the NNTP server has 221ed the group.
2020-04-15 13:56:59 +02:00
Alyssa Ross
99b7d47a10 msuck: exit unsuccessfully if some groups failed
The failing exit status is EX_UNAVAILABLE from BSD's sysexits.h.
2020-04-15 13:31:58 +02:00
Leah Neukirchen
e56f8ad294 blaze822: blaze822_addr: null-terminate ttok at the current position before appending 2020-04-03 22:46:35 +02:00
Leah Neukirchen
3370fd5f70 blaze822: blaze822_addr: don't force add space before quoted words 2020-04-03 22:10:58 +02:00
Leah Neukirchen
8c8a4bd422 blaze822: blaze822_addr: ignore leading obs-route 2020-04-03 21:31:02 +02:00
Leah Neukirchen
d50bb5772a maddr: add -d to only print display name. 2020-03-30 19:02:55 +02:00
Leah Neukirchen
eabdda4405 mytimegm: fix whitespace 2020-03-29 00:19:07 +01:00
Leah Neukirchen
604afb5011 mytimegm: replace with own implementation 2020-03-28 21:29:34 +01:00
Leah Neukirchen
7e6b1c97e6 mrep/mbnc: allow only one message as argument 2020-03-21 17:47:33 +01:00
Leah Neukirchen
5885bbe69f mshow: don't spawn pager for -x 2020-03-14 17:30:48 +01:00
Leah Neukirchen
8c9e0aae05 mmkdir: create subdirectories in order like maildirmake 2020-03-09 18:56:32 +01:00
Leah Neukirchen
079e423438 mlist: extract DT_* handling, follow symlinks
Closes #172.
2020-03-08 17:20:37 +01:00
Leah Neukirchen
8d611a8a3d mseq: extract DT_* handling, follow symlinks 2020-03-08 17:20:29 +01:00
Leah Neukirchen
dfc18e0040 seq: extract DT_* handling, follow symlinks 2020-03-08 17:20:23 +01:00
Leah Neukirchen
48b490f379 minc: extract DT_* handling 2020-03-08 17:17:48 +01:00