how to use mailstat command and its examples

  • About mailstat: To shows mail-arrival statistics
  • It comes from “procmail-3.22” package.
  • Configuration Files:
  • Path: /usr/bin/mailstat


1. To see the mail arrival stats

$ mailstat

 2. To keep the log file intact

$ mailstat -k

3. To merge any errors into one line

$ mailstat -m

4. To have a long display format

$ mailstat -l

5. To use the old log file

$ mailstat -o

6. To have terse display format

$ mailstat -t

7. To keep silent if no mails

$ mailstat -s


Leave a Reply

Your email address will not be published. Required fields are marked *