MAILSTATS(8)

πŸ’Œ MAILSTATS(8) β€” mailstats, bestie πŸ’Œ

okay so this is MAILSTATS(8) from the System Manager's Manual, and it’s literally the group-chat cheat sheet for reading your mail stats. no cap, it’s giving tiny utility, main character energy ✨


🌸 NAME 🌸

mailstats β€” display mail statistics

✨ SYNOPSIS ✨

mailstats [-c] [-o] [-p] [-P] [-C cffile] [-f stfile]

πŸ’… DESCRIPTION πŸ’…

The mailstats utility displays the current mail statistics. periodt. πŸ’–

First, the time at which statistics started being kept is displayed, in the format specified by ctime(3). Then, the statistics for each mailer are displayed on a single line, each with the following white space separated fields:

  • M β€” the mailer number.
  • msgsfr β€” number of messages from the mailer.
  • bytes_from β€” Kbytes from the mailer.
  • msgsto β€” number of messages to the mailer.
  • bytes_to β€” Kbytes to the mailer.
  • msgsrej β€” number of messages rejected.
  • msgsdis β€” number of messages discarded.
  • msgsqur β€” number of messages quarantined.
  • Mailer β€” the name of the mailer.

After this display, a line totaling the values for all of the mailers is displayed (preceded with a T), separated from the previous information by a line containing only equals (=) characters. Another line preceded with a C lists the number of TCP connections. iykyk 🫢

The options are as follows:

  • -C cffile β€” read the specified file instead of the default sendmail configuration file.
  • -c β€” try to use submit.cf instead of the default sendmail configuration file.
  • -f stfile β€” read the specified statistics file instead of the statistics file specified in the sendmail configuration file.
  • -P β€” output information in program-readable mode without clearing statistics.
  • -p β€” output information in program-readable mode and clear statistics.
  • -o β€” don’t display the name of the mailer in the output.

The mailstats utility exits 0 on success, and >0 if an error occurs. no notes, just vibes πŸ’–

πŸŽ€ FILES πŸŽ€

  • /etc/mail/sendmail.cf β€” the default sendmail configuration file.
  • /var/log/mail/statistics β€” the default sendmail statistics file.

πŸ¦‹ SEE ALSO πŸ¦‹

mailq(1), sendmail(8)


okay that’s the whole page, bestie β€” MAILSTATS(8), from the System Manager's Manual, with the footer’s source/version date marker $Date: 2013-11-22 20:51:51 $, and it ate πŸ’…βœ¨

πŸ“¦ where this page comes from
  • epel 10: sendmail 8.18.1-4.el10_0 Β· sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
  • fedora 43: sendmail 8.18.1-13.fc43 Β· sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
  • fedora 44: sendmail 8.18.2-2.fc44 Β· sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
  • fedora 44: sendmail 8.18.2-4.fc44 Β· sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms