Because there is no general rule, we
describe the behavior of each item (such as macros and options) in a chapter dedicated
to each.
6.4.5 Fifth: Collecting Recipients
The final step sendmail undertakes in processing its command line is gathering the
list of recipients. Eachrecipient (or list of recipients if more than one is contained in
a single command-line argument) is fully processed for delivery, and any error messages
are printed before delivery is actually undertaken.
If sendmail is running in a mode that doesn??™t require recipients, any list of recipients
in the command line is silently ignored.
6.5 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
,
along withth e values assigned to eachname. Here, we provide a bit more explanation
about the most commonly used names.
The relationship between each exit value and its corresponding Delivery Status Notification
(DSN) detail is shown in Table 20-4 on page 721. That table also summarizes
the values described here.
6.5.1 EX_CANTCREAT
Can??™t write a user??™s file sendmail exit value
An exit value of EX_CANTCREAT (the value 73) means that an output file could not be written
to. This error generally refers to a user-specified file rather than a system- or configurationfile-
specified file.
Pages:
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430