QUEUE

Enable queueing (prior to V8.12) Tune, edit sendmail/conf.h

If sendmail cannot immediately deliver a mail message, it places that message in a queue to await another try. Prior to V8.12, the QUEUE definition caused queue-handling code to be included in sendmail. As of V8.12, the QUEUE compile-time macro has been removed, and queue-handling code is always included in sendmail.

If queueing is not enabled and you need to queue, sendmail prints the following message and either bounces or discards the message:

dropenvelope: queueup

A word to the wise: always define QUEUE. Even if you have only a pure UUCP machine, mail can fail (for a reason such as a full disk). Without queueing, such mail will bounce when instead it should be queued for a later try.

The default is to always define QUEUE if NETINET or NETISO is defined; otherwise, QUEUE is undefined. There is no debugging flag to show whether QUEUE is defined, but the -bp switch (Printing the Queue on page 422) can be used to determine whether it is supported.

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.