2016-08-01 15:21:39 +00:00
|
|
|
.Dd August 1, 2016
|
|
|
|
.Dt MGENMID 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mgenmid
|
|
|
|
.Nd generate a Message-ID
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
generates a fresh Message-ID and prints it.
|
|
|
|
The Message-ID consists of a timestamp,
|
|
|
|
a random value,
|
|
|
|
and a fully qualified domain name.
|
|
|
|
.Pp
|
|
|
|
The fully qualified domain name is computed by:
|
|
|
|
.Bl -enum
|
|
|
|
.It
|
|
|
|
Using
|
|
|
|
.Sq Li "FQDN:"
|
|
|
|
from
|
2016-09-01 23:50:20 +00:00
|
|
|
.Pa "${MBLAZE:-$HOME/.mblaze}/profile"
|
2016-08-01 15:21:39 +00:00
|
|
|
(if set).
|
|
|
|
.It
|
|
|
|
Resolving the current hostname.
|
|
|
|
.It
|
|
|
|
Using the host part of the address in
|
|
|
|
.Sq Li "Local-Mailbox:"
|
|
|
|
from
|
2016-09-01 23:50:20 +00:00
|
|
|
.Pa "${MBLAZE:-$HOME/.mblaze}/profile"
|
2016-08-01 15:21:39 +00:00
|
|
|
(if set).
|
|
|
|
.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/
|