SuperSafe

Queue everything just in case All versions

At times, such as when calling /bin/mail to deliver local mail, sendmail holds an entire message internally while waiting for that delivery to complete. Clearly, this runs the risk that the message will be lost if the system crashes at the wrong time.

As a safeguard against such rare catastrophes, the SuperSafe option can be used to force sendmail to queue every message and to sync(2) the queued files to disk for maximum safety. The queued copy is left in place until sendmail is sure that delivery was successful. We strongly recommend that this option always be declared as true.

The forms of the SuperSafe option are as follows:

O SuperSafe=characterconfiguration file (V8.12 and later)
-OSuperSafe=charactercommand line (V8.12 and later)
define(`confSAFE_QUEUE',`character')    ← mc configuration (V8.12 and later)
O SuperSafe=boolconfiguration file (V8.7 and later)
-OSuperSafe=boolcommand line (V8.7 and later)
define(`confSAFE_QUEUE',`bool')         ← mc configuration (V8.7 and later)
Osboolconfiguration file (deprecated)
-osboolcommand line (deprecated)

The argument, prior to V8.12, was of type Boolean. The argument, with V8.12 and later, is of type Character. If the argument is missing, the default value is true (everything is queued). The default for the mc configuration technique is also true. If the entire SuperSafe option is missing, the default for V8.11 and earlier becomes false (no special queuing behavior), but for V8.12 ...

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.