Name

mailstats

Synopsis

mailstats [options]

System administration command. Display a formatted report of the current sendmail mail statistics.

Options

-c

Use configuration in /etc/mail/submit.cf instead of /etc/mail/sendmail.cf.

-C file

Use sendmail configuration file file instead of the default sendmail.cf file.

-f file

Use sendmail statistics file file instead of the file specified in the sendmail configuration file.

-o

Don’t show the name of the mailer in the report.

-p

Print stats without headers or separators. Output suitable for use by other programs. Reset statistics.

-P

Print stats without headers or separators. Output suitable for use by other programs. Do not reset statistics.

Get Linux in a Nutshell, 6th 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.