-d13.1

Show delivery Debug command-line switch

The -d13.1 (a.k.a. -d13) debugging switch causes sendmail to display information about the recipients of each mail message as it is being delivered. The -d13.1 debugging switch tells sendmail to print the mode of delivery and then the recipient information:

SENDALL: mode dmode, id=qid, e_from output of printaddr(  ) here (§15.3 on page
533)
        e_flags = envelope flags here
        sendqueue:
output of printaddr(  ) here (§15.3 on page 533)

Here, dmode is one of the delivery modes shown in Table 15-9. The qid is the queue message identifier (such as g7PI04TK027759). The address of the sender (e_from) is dumped by using the printaddr( ) routine. Then the envelope flags (e_flags) are dumped as described in Table 15-5 on page 545. Next, information about all the recipients (sendqueue:) is printed by using the printaddr( ) routine.

Table 15-9. Delivery modes used by sendall( )

Mode

Description

b

Deliver in background

d

Defer, queue without DNS lookups

i

Interactive delivery

q

Queue, don’t deliver

v

Verify only (used internally)

Finally, the -d13.1 debugging switch causes sendmail to print a message every time it splits an envelope in two:

sendall: split orig into new

Here, orig is the original queue message identifier for the original envelope (such as g7PKuBWE027877) and new is the identifier for the new envelope, the near identical clone of the first. Envelopes need to split if they have different owners.

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.