15.3. Mail queue directory: /var/spool/mqueue

The mail queue is a directory that stores data and controls files for mail messages that the sendmail command delivers. By default, the mail queue is /var/spool/mqueue. Mail messages may be queued for several reasons. First, the sendmail command can be configured to process the queue at certain intervals rather than immediately. If this is so, mail messages must be stored temporarily. Second, if a remote host does not answer a request for a mail connection, the mail system queues the message and tries again later.

15.3.1. Printing the mail queue

The contents of the queue can be printed using the mailq command (or by specifying the -bp flag with the sendmail command). This produces a listing of the ...

Get IBM eServer Certification Study Guide - pSeries AIX System Administration 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.