${quarantine}

The reason why envelope was quarantined V8.13 and later

V8.13 introduced queue quarantining (Queue Quarantining on page 438), the process by which envelopes in the queue are marked as being ineligible for delivery. Such quarantined envelopes may then be reviewed manually or automatically.

When a message is quarantined, the reason it was quarantined is stored as the value of this ${quarantine} macro. When it is later read from the queue, the value of the queue file’s q line (The qf file’s quarantine reason: q line on page 444) is again copied into this ${quarantine} macro.

Note that the ${quarantine} macro can also be used to detect whether a message has been quarantined.

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.