Commit Graph

473 Commits

Author SHA1 Message Date
Leah Neukirchen
1918eb7ba9 mhdr: print_addresses: first decode RFC2047, then parse address 2017-01-21 17:47:14 +01:00
Leah Neukirchen
55ded86ad5 maddr: addr: first decode RFC2047, then parse address 2017-01-21 17:44:34 +01:00
Leah Neukirchen
cf36745b0c mscan: fmt_from: first decode RFC2047, then parse address 2017-01-21 17:40:52 +01:00
Leah Neukirchen
225e5787bf Leahize 2017-01-21 17:22:39 +01:00
Leah Neukirchen
0da278a9ad mlist: don't use blaze822_loop for the case when arguments are given
blaze822_loop replaces directory arguments with all cur/ mails, which is
not what we want in mlist.
2017-01-21 17:13:47 +01:00
Christian Neukirchen
b93b9303da seq: avoid infinite loop in "mscan -n ." 2016-12-31 13:25:56 +01:00
Christian Neukirchen
6464ba5845 mlist: read directory names from stdin when used non-interactively
Closes #7.
2016-12-13 15:21:00 +01:00
Christian Neukirchen
2ef903a065 mmime: don't truncate a #type line when it has invalid syntax 2016-11-08 16:34:34 +01:00
Christian Neukirchen
3095d48655 mmime: ensure a new token in qp header generation 2016-11-08 16:20:44 +01:00
Christian Neukirchen
40b19264c5 rfc2047: only decode _ as spaces when decoding headers 2016-11-08 16:19:26 +01:00
Christian Neukirchen
b336acc23c rfc2047: blaze822_decode_qp: don't waste 75% memory 2016-11-02 13:37:22 +01:00
Christian Neukirchen
3207b0a6ba msuck: pad pids to 5 decimals 2016-10-18 17:53:31 +02:00
Christian Neukirchen
bde965dffb mcolor: recognize new mail headers after ^L
This makes mshow ... | mcolor work better.
2016-10-18 15:42:14 +02:00
Christian Neukirchen
27915af60d rfc2047: detect partial multibyte sequences and decode them correctly 2016-10-14 22:20:11 +02:00
Christian Neukirchen
631b6c7c82 slurp: zero-terminate buffer 2016-10-06 16:47:13 +02:00
Christian Neukirchen
f56755cffd mman: gen_file: slurp the file instead of mmap 2016-10-05 14:45:42 +02:00
Christian Neukirchen
b4a8090f75 seq: slurp the file instead of mmap
mmap is not robust when there are writes possible.
2016-10-05 14:44:36 +02:00
Christian Neukirchen
0b2e4880f5 mmime: gen_build: don't crash on #-line without space 2016-10-05 14:31:41 +02:00
Christian Neukirchen
e531f43ad6 msuck: off by one 2016-09-25 21:55:32 +02:00
Christian Neukirchen
cd255e0bc6 mcom: very elementary NNTP posting support 2016-09-25 21:30:20 +02:00
Christian Neukirchen
f7052abc8b mblow: print POST reponse on success (e.g. to show moderation) 2016-09-25 21:29:39 +02:00
Christian Neukirchen
c02a2878b2 contrib: add msuck and mblow for NNTP support 2016-09-25 21:04:58 +02:00
Christian Neukirchen
b9a26fa3b3 INSTALL.md: cygwin 2016-09-08 16:13:53 +02:00
Christian Neukirchen
7b4262e1f9 mlist: include <sys/syscall.h> only when required
Fixes build on cygwin.
2016-09-08 15:40:48 +02:00
Christian Neukirchen
77d7f8c7f6 mscan: style 2016-09-07 20:57:49 +02:00
Christian Neukirchen
06cc4bd693 mblaze822: blaze822_addr: add simple group parsing
Just ignores the group name, and considers ; an address separator too.
2016-09-07 15:50:59 +02:00
Christian Neukirchen
f7eee8dc01 INSTALL.md: mention GNU make 2016-09-05 14:31:39 +02:00
Christian Neukirchen
3b849d9068 add INSTALL.md 2016-09-05 14:28:00 +02:00
Christian Neukirchen
aa572b5c13 Makefile: bail out on bmake 2016-09-05 14:23:08 +02:00
Christian Neukirchen
472a74b75b use getdelim instead of getline
Avoids weird macros to build on FreeBSD.
2016-09-05 14:20:55 +02:00
Christian Neukirchen
3167a7a2d3 mcolor: use awk in shebang
This is reasonably portable, and easy to fix if not.
The current hack breaks on OpenBSD.
2016-09-05 14:17:11 +02:00
Christian Neukirchen
19405f51b4 Makefile: define OPENBSD to use libiconv 2016-09-05 14:04:03 +02:00
Christian Neukirchen
dfcb53dc0f mpick: shuffle for OpenBSD/FreeBSD 2016-09-05 14:03:46 +02:00
Christian Neukirchen
86b5b5c6aa Makefile: add -lrt for oldish glibc (e.g. 2.13) to find clock_gettime 2016-09-05 13:23:58 +02:00
Christian Neukirchen
fb8674ef10 README: update 2016-09-05 12:54:07 +02:00
Christian Neukirchen
1cdb871e3d mblaze.7: clarify a bit 2016-09-05 12:53:32 +02:00
Ivy Foster
7b5055f7ab mcom: allow user to specify sendmail, sendmail-args in $MBLAZE/profile
Closes: #6 [via git-merge-pr]
2016-09-04 18:20:33 +02:00
Ivy Foster
b9f09fc581 mcom: draft messages in $outbox/cur/, not $outbox/new/ 2016-09-04 18:20:33 +02:00
Ivy Foster
5ac3df8e44 Makefile: link mrep to mcom, not vice versa
Closes: #4 [via git-merge-pr]
2016-09-03 16:20:09 +02:00
Ivy Foster
1062f1bb11 Makefile: install .7 manuals to $MANDIR/man7 2016-09-03 16:20:04 +02:00
Ivy Foster
189e00144b Makefile: allow user to add CFLAGS on the command line 2016-09-03 16:18:25 +02:00
Christian Neukirchen
d4bbd8a8d3 README: update 2016-09-02 23:55:13 +02:00
Christian Neukirchen
d50bfcecba Merge pull request #3 from escondida/profiles
Add $MBLAZE environment variable to set profile location
2016-09-02 23:52:14 +02:00
Ivy Foster
81fbda6ff1 Style cleanup on previous commit 2016-09-02 16:48:56 -05:00
Ivy Foster
ca8cef1660 Add $MBLAZE environment variable to set profile location
As a side benefit, all callers of blaze822_home_file need only pass
the filename, so the base directory is set in only one place.
2016-09-01 18:50:20 -05:00
Christian Neukirchen
8d3fa82d82 seq: blaze822_home_file: guard missing entry in /etc/passwd or empty $HOME 2016-09-01 20:56:54 +02:00
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