Commit Graph

627 Commits

Author SHA1 Message Date
Christian Neukirchen
0c381fa2cb seq: blaze822_seq_cur: use void prototype 2016-09-01 15:42:35 +02:00
Christian Neukirchen
a350d1c731 mdate: style tweak 2016-09-01 15:40:39 +02:00
Christian Neukirchen
e725365d45 blaze822: blaze822_addr: add bounds check when extracting display name
Discovered using the TREC 2005 Spam Public Corpora.
http://plg.uwaterloo.ca/~gvcormac/treccorpus/README.html
2016-09-01 15:38:21 +02:00
Christian Neukirchen
4d63b6fd8e Makefile: use static rule, simplify
(The Makefile worked with GNU make only anyway...)
2016-08-23 17:33:55 +02:00
Christian Neukirchen
d71a1fbe44 add mexport 2016-08-19 17:53:40 +02:00
Christian Neukirchen
7c9a5c9c76 mdeliver: parse both Status: and X-Status:, then drop them 2016-08-19 17:36:05 +02:00
Christian Neukirchen
ce625878de mdeliver: deliver to new/ by default, use -c for cur/ now 2016-08-19 16:59:19 +02:00
Christian Neukirchen
2cb93984a1 add contrib/mpeek 2016-08-17 16:13:33 +02:00
Christian Neukirchen
7604589738 mhdr: -H to print file name 2016-08-17 15:45:09 +02:00
Christian Neukirchen
bfe841eb1e mscan.1: sort formatting codes 2016-08-11 20:37:39 +02:00
Christian Neukirchen
d4f72ab52d mscan: add %I for message-id 2016-08-11 20:32:54 +02:00
Christian Neukirchen
2ad6ae80d8 mscan: make negative width in %f, %s mean "rest minus N" 2016-08-10 18:00:51 +02:00
Christian Neukirchen
e34e3dc9ea mcom: simplify subject generation 2016-08-10 17:50:04 +02:00
Christian Neukirchen
b4df49565f mscan: add %S for stripped subject 2016-08-10 17:48:33 +02:00
Christian Neukirchen
2c0ace3d82 mscan.1: mention %R for filename 2016-08-09 21:28:58 +02:00
Christian Neukirchen
923ef6a51e mscan: better width for %F 2016-08-09 21:27:44 +02:00
Christian Neukirchen
4c5a007030 mscan: add width to %b 2016-08-09 21:16:09 +02:00
Christian Neukirchen
56e87c6a10 mscan: u8putstr: force left-alignment 2016-08-09 21:13:54 +02:00
Christian Neukirchen
a5c5e22204 mscan: fix formatting of %f without width, and for %s with width 2016-08-09 21:08:49 +02:00
Christian Neukirchen
d779211dc7 mshow: ensure plain text output ends with a newline 2016-08-09 20:53:43 +02:00
Christian Neukirchen
d233737be4 mseq: setcur: unset MAILDOT, because with -C we really want to force setting cur 2016-08-09 19:16:19 +02:00
Christian Neukirchen
b8631d13ff mseq: allow message syntax in -c 2016-08-09 19:10:12 +02:00
Christian Neukirchen
f34a284b42 mseq: add -c to override . 2016-08-09 19:03:59 +02:00
Christian Neukirchen
c9c5346e63 seq: add $MAILDOT to override the value of . 2016-08-09 18:55:29 +02:00
Christian Neukirchen
4bb35cbead blaze822: blaze822_addr: make a bit more robust
Start over when seeing another < in the address part.

Support "..." in the address part.
2016-08-09 15:49:59 +02:00
Christian Neukirchen
edf4458016 maddr: -a to only print address part 2016-08-09 15:49:46 +02:00
Christian Neukirchen
cfec8ca377 mless: add ^ to go to parent 2016-08-08 17:39:25 +02:00
Christian Neukirchen
d458439970 import and use timegm from musl
It's ridiculous this function is not in the standards.
2016-08-08 16:28:25 +02:00
Christian Neukirchen
20dae518c4 mscan: oneline: fix flag fiddling 2016-08-08 16:13:51 +02:00
Christian Neukirchen
22e406514c mcom: simplify To: 2016-08-08 16:11:17 +02:00
Christian Neukirchen
07d3be7a8f mcom: add delete 2016-08-08 16:06:52 +02:00
Christian Neukirchen
d2d687478d rename mcomp -> mcom, mrepl -> mrep
mcomp is in mtools already.

mfwd will be added in the future.
2016-08-08 16:01:06 +02:00
Christian Neukirchen
d453a5ac58 mless.1: extend a bit 2016-08-08 14:37:22 +02:00
Christian Neukirchen
fd06b1d466 seq: exit with 2 on fatal parsing error 2016-08-08 14:23:34 +02:00
Christian Neukirchen
914b78a58f mhdr: set exit status to 1 when no header was found 2016-08-08 14:23:20 +02:00
Christian Neukirchen
21d353f91e Makefile: add install rule 2016-08-08 14:16:45 +02:00
Christian Neukirchen
6229023e78 msed: drop date generation (use mdate) 2016-08-08 14:03:29 +02:00
Christian Neukirchen
45176425e3 mcomp: use mdate 2016-08-08 14:01:56 +02:00
Christian Neukirchen
c9eba354ab mcomp: cleanup 2016-08-08 14:01:48 +02:00
Christian Neukirchen
0f74f4d062 mrepl: check message has a message-id 2016-08-08 14:01:33 +02:00
Christian Neukirchen
2a72a341c0 add mdate, a portable version of GNU date --rfc-2822 2016-08-08 14:01:05 +02:00
Christian Neukirchen
55c823f89a mquote: needs := for empty strings 2016-08-08 13:32:43 +02:00
Christian Neukirchen
f3c6724830 seq: parse_parent: bump previndent size 2016-08-07 17:38:38 +02:00
Christian Neukirchen
e2679e4423 add contrib/mverify to verify a OpenPGP or SMIME message 2016-08-06 20:43:08 +02:00
Christian Neukirchen
7377f0dfc3 mshow: rather, use -r -O to print the part raw 2016-08-06 20:10:33 +02:00
Christian Neukirchen
2776c838fe mshow: extract headers with -H -O 2016-08-06 19:30:45 +02:00
Christian Neukirchen
5eb7837aa8 mshow: simplify -H with orig_header 2016-08-06 19:28:46 +02:00
Christian Neukirchen
7575e07b9f blaze822: keep a pointer to the original header, if we have it anyway 2016-08-06 19:27:02 +02:00
Christian Neukirchen
f9226dde7b mmime: generate LF before MIME boundaries 2016-08-06 19:15:12 +02:00
Christian Neukirchen
758351abc5 rfc2045: the (CR)LF before the boundary belongs to the boundary 2016-08-06 19:09:49 +02:00