Manual Page Search Parameters

MGENMID(1) General Commands Manual MGENMID(1)

generate a Message-ID


mgenmid generates and prints a unique Message-ID. The Message-ID consists of an encrypted timestamp, a random value, and a fully qualified domain name.

The fully qualified domain name is arrived at by:

  1. Using ‘FQDN:’ from ${MBLAZE:-$HOME/.mblaze}/profile (if set).
  2. Resolving the current hostname.
  3. Using the domain component of the mail address in ‘Local-Mailbox:’ from ${MBLAZE:-$HOME/.mblaze}/profile (if set).

If these steps don't result in a fully qualified domain name, mgenmid fails.

The mgenmid utility exits 0 on success, and >0 if an error occurs.


M. Curtin and J. Zawinski, Recommendations for generating Message IDs, draft-ietf-usefor-message-id-01.txt, July 1998.

Leah Neukirchen <>

mgenmid 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.

December 25, 2018 x86_64