2018-12-25 18:31:34 +00:00
|
|
|
.Dd December 25, 2018
|
2016-08-01 15:21:39 +00:00
|
|
|
.Dt MGENMID 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mgenmid
|
|
|
|
.Nd generate a Message-ID
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2018-02-02 23:01:28 +00:00
|
|
|
generates and prints a unique Message-ID.
|
2018-12-25 18:31:34 +00:00
|
|
|
The Message-ID consists of an encrypted timestamp,
|
2016-08-01 15:21:39 +00:00
|
|
|
a random value,
|
|
|
|
and a fully qualified domain name.
|
|
|
|
.Pp
|
2018-02-02 23:01:28 +00:00
|
|
|
The fully qualified domain name is arrived at by:
|
2016-08-01 15:21:39 +00:00
|
|
|
.Bl -enum
|
|
|
|
.It
|
|
|
|
Using
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li FQDN\&:
|
2016-08-01 15:21:39 +00:00
|
|
|
from
|
2016-09-01 23:50:20 +00:00
|
|
|
.Pa "${MBLAZE:-$HOME/.mblaze}/profile"
|
2018-02-02 23:01:28 +00:00
|
|
|
.Pq if set .
|
2016-08-01 15:21:39 +00:00
|
|
|
.It
|
|
|
|
Resolving the current hostname.
|
|
|
|
.It
|
2018-02-02 23:01:28 +00:00
|
|
|
Using the domain component of the mail address in
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li Local\&-Mailbox\&:
|
2016-08-01 15:21:39 +00:00
|
|
|
from
|
2016-09-01 23:50:20 +00:00
|
|
|
.Pa "${MBLAZE:-$HOME/.mblaze}/profile"
|
2018-02-02 23:01:28 +00:00
|
|
|
.Pq if set .
|
2016-08-01 15:21:39 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
If these steps don't result in a fully qualified domain name,
|
|
|
|
.Nm
|
|
|
|
fails.
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
2017-02-20 14:39:21 +00:00
|
|
|
.Xr mblaze-profile 5
|
2016-08-01 15:21:39 +00:00
|
|
|
.Rs
|
|
|
|
.%A M. Curtin
|
|
|
|
.%A J. Zawinski
|
|
|
|
.%D July 1998
|
|
|
|
.%R draft-ietf-usefor-message-id-01.txt
|
|
|
|
.%T Recommendations for generating Message IDs
|
|
|
|
.Re
|
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-08-01 15:21:39 +00:00
|
|
|
.Sh LICENSE
|
|
|
|
.Nm
|
|
|
|
is in the public domain.
|
|
|
|
.Pp
|
|
|
|
To the extent possible under law,
|
|
|
|
the creator of this work
|
|
|
|
has waived all copyright and related or
|
|
|
|
neighboring rights to this work.
|
|
|
|
.Pp
|
|
|
|
.Lk http://creativecommons.org/publicdomain/zero/1.0/
|