HoldExpensive

Queue for expensive mailers All versions

An expensive mailer is a delivery agent that contains an e flag in its F= equate (F=e on page 770). Typically, such delivery agents are associated with slow network connections such as SL/IP, or with costly networks such as those with high per-connect or connection startup rates. Whatever the reason, the HoldExpensive option allows you to queue all such mail for later delivery rather than connecting on demand. (Queuing is described in Chapter 11 on page 394.)

Note that this option affects only the initial delivery attempt, not later attempts when the queue is processed. Essentially, all this option does is to defer delivery until the next time the queue is processed.

The forms of the HoldExpensive option are as follows:

O HoldExpensive=boolconfiguration file (V8.7 and later)
-OHoldExpensive=boolcommand line (V8.7 and later)
define(`confCON_EXPENSIVE',bool)   ← mc configuration (V8.7 and later)
-c                                 ← command-line shorthand (not recommended)
Ocboolconfiguration file (deprecated)
-ocboolcommand line (deprecated)

The argument bool is of type Boolean. If the bool argument is missing, the default is true (expensive mail is queued). If the entire HoldExpensive option is missing, the default value is false (expensive mail is delivered immediately).

The -v (verbose) command-line switch automatically sets the HoldExpensive option to false. The HoldExpensive option is not safe. If specified from the command line, it can cause sendmail ...

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.