---
name: "mgenmid"
section: "1"
platform: "linux"
package: "mblaze"
version: "1.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mgenmid"
---

# mgenmid(1)

generate a Message-ID

## NAME

**mgenmid** – generate a Message-ID

## SYNOPSIS

**mgenmid**

## DESCRIPTION

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

## EXIT STATUS

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

## SEE ALSO

[mblaze-profile(5)](/mblaze-profile/5.md) M. Curtin and J. Zawinski, *Recommendations for generating Message IDs*, draft-ietf-usefor-message-id-01.txt, July 1998.

## AUTHORS

Leah Neukirchen ⟨*leah@vuxu.org*⟩

## LICENSE

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

**http://creativecommons.org/publicdomain/zero/1.0/**
