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.
File |
§ |
Description |
|
Data (message body) | |
|
Lock file (obsolete and removed as of V5.62) | |
|
ID creation file (obsolete and removed as of V5.62) | |
|
Temporary qf rewrite image | |
|
Transcript file | |
|
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 version of
sendmail, so it is discussed separately at the
end of this chapter.
The Queue Identifier
To ensure that new filenames are not the same as the names of files ...
Get Sendmail, 3rd 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.