Parts of a Queued Message

When a message is stored in the queue, it is split into pieces. Each piece is stored as a separate file in the queue directory. That is, the header and other information about the message are stored in one file, while the body (the data) is stored in another. All told, six different types of files can appear in the queue directory. The type of each is denoted by the first two letters of the filenames. Each filename begins with a single letter followed by an f character. The complete list is shown in Table 11-1.

Table 11-1. Queue file types

File

§

Description

df

The Data (Message Body) File: df on page 398

Data (message body)

lf

Queue File Locking on page 398

Lock file (obsolete and removed as of V5.62)

nf

The ID Creation File (Obsolete As of V5.62): nf on page 399

ID creation file (obsolete and removed as of V5.62)

tf

The Temporary qf Rewrite Image: tf on page 400

Temporary qf rewrite image

xf

The Transcript File: xf on page 401

Transcript file

qf

The Queue Control File: qf on page 399

Queue control file (and headers)

The complete form for each filename is:

Xfident

The X is one of the leading letters shown in Table 11-1. The f is the constant letter f. The ident is a unique queue identifier associated with each mail message.

In the following sections, we first describe the identifier that is common to all the queue file parts, then describe each file type in alphabetical order. The internal details of the qf file can vary depending on the ...

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.