-bP

Print number of messages in the queue V8.12 and later

The -bP command-line switch causes sendmail to print the number of messages currently queued and then exit. See Print the Number of Messages in the Queue on page 425 for a full description of how to use this command-line switch.

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.