Commit Graph

1099 Commits

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