Commit Graph

765 Commits

Author SHA1 Message Date
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
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