sendmail’s exit( ) Status

Like any other program under Unix, sendmail can return meaningful values to the environment and thus to you. All the possible exit values are documented in <sysexits.h>, along with the values assigned to each name. Here, we provide a bit more explanation about the most commonly used names.

The relationship between each exit value and its corresponding DSN detail is shown in Table 20-4 in error. That table also summarizes the values described here.

Get Sendmail, 3rd 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.