Added -messageid switch to send(1) and post(8). This allows selection
authorDavid Levine <levinedl@acm.org>
Sat, 21 Jul 2012 21:17:41 +0000 (16:17 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 21 Jul 2012 21:17:41 +0000 (16:17 -0500)
commit9f8f8b1e1d553774865f2c177191c359c3dc652c
tree1dd8b4a3bdaba71ca19b8d322ab962e59ee01a11
parent7946a8c713bd43a52229345ad0289aaa461acfb3
Added -messageid switch to send(1) and post(8).  This allows selection
of the style to use for generated Message-ID and Content-ID header
fields.  The default localname style is pid.time@localname, where time
is in seconds, and matches previous behavior.  The random style
replaces the localname with some (pseudo)random bytes and uses
microsecond-resolution time.
17 files changed:
Makefile.am
docs/pending-release-notes
h/mh.h
h/prototypes.h
man/post.man
man/send.man
sbr/base64.c [new file with mode: 0644]
sbr/m_rand.c [new file with mode: 0644]
sbr/message_id.c [new file with mode: 0644]
test/post/test-messageid [new file with mode: 0755]
test/post/test-mts
uip/mhbuildsbr.c
uip/mhoutsbr.c
uip/post.c
uip/send.c
uip/sendsbr.c
uip/whatnowsbr.c