generate a Message-ID
generates and prints a unique Message-ID.
The Message-ID consists of an encoded timestamp, a random value, and a fully
qualified domain name.
The fully qualified domain name is arrived at by:
- Using ‘
- Resolving the current hostname.
- Using the domain component of the mail address in
If these steps don't result in a fully qualified domain name,
utility exits 0 on success,
and >0 if an error occurs.
M. Curtin and
J. Zawinski, Recommendations for
generating Message IDs,
is in the public domain.
To the extent possible under law, the creator of this work has waived all
copyright and related or neighboring rights to this work.