MMDF Queue Structure

Each message in the MMDF system has a unique message identifier, usually something like aa12345. Each message queued in the system is represented in the queue directories by two files and one (or more) hard links. All the files and links have the same name, which will be msg.aa12345 for the message id above.

A file in the msg directory contains the actual message text, including headers and body. This is untouched by the system once created.

A file in the addr directory contains an MMDF control file that (primarily) contains the address list of all the recipients of the message. The file also details whether each recipient has actually been delivered a copy yet, and so on. The full details may be found in the queue(7) manual page.

Each channel has a directory (called q.<channel>). If there are any undelivered addresses that will be delivered via this channel, then a hard link from the control file will exist in the channel directory.

That's it, for the moment. Back to toplevel.