Commit Graph

736 Commits

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