-d11.2

Show the user-id running as during delivery Debug command-line switch

To perform delivery, sendmail often has to set its uid to something other than root’s. The logic behind that process is described in Delivery to Files on page 466. The -d11.2 debugging switch tells sendmail to print the real and effective user-ids that it is running under during delivery:

openmailer: running as r/euid=real-user-id/effective-user-id

Also, the -d11.2 debugging switch causes sendmail to print any error response that might be produced by a delivery agent:

giveresponse: stat=status, e->e_message=what

Here, status is the number of the error that caused delivery to fail (or succeed if it is 0) as defined in <sysexits.h>. The what is either the error message produced by the delivery agent, or <NULL> if the delivery agent was silent.

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.