summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/mailstats
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-02-17 21:56:45 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-02-17 21:56:45 +0000
commit514d1553cc1f49dd008e6e432664359124af60a9 (patch)
treee71b01386ad11f2e0c99bab2eab606f5c7360807 /contrib/sendmail/mailstats
parentc2a47cdbe88de50d484d2cdb605874e1168626dc (diff)
parent8449595fe97f4474b9b9a7e4edee1ef35dcff393 (diff)
downloadFreeBSD-src-514d1553cc1f49dd008e6e432664359124af60a9.zip
FreeBSD-src-514d1553cc1f49dd008e6e432664359124af60a9.tar.gz
This commit was generated by cvs2svn to compensate for changes in r90792,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/sendmail/mailstats')
-rw-r--r--contrib/sendmail/mailstats/Makefile.m42
-rw-r--r--contrib/sendmail/mailstats/mailstats.813
2 files changed, 10 insertions, 5 deletions
diff --git a/contrib/sendmail/mailstats/Makefile.m4 b/contrib/sendmail/mailstats/Makefile.m4
index 5a9259d..02dc956 100644
--- a/contrib/sendmail/mailstats/Makefile.m4
+++ b/contrib/sendmail/mailstats/Makefile.m4
@@ -1,5 +1,6 @@
include(confBUILDTOOLSDIR`/M4/switch.m4')
+define(`confREQUIRE_LIBSM', `true')
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
@@ -8,6 +9,7 @@ PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
bldPRODUCT_START(`executable', `mailstats')
define(`bldINSTALL_DIR', `S')
define(`bldSOURCES', `mailstats.c ')
+bldPUSH_SMLIB(`sm')
bldPUSH_SMLIB(`smutil')
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
bldPRODUCT_END
diff --git a/contrib/sendmail/mailstats/mailstats.8 b/contrib/sendmail/mailstats/mailstats.8
index 5ecde7c..fe8e861 100644
--- a/contrib/sendmail/mailstats/mailstats.8
+++ b/contrib/sendmail/mailstats/mailstats.8
@@ -6,15 +6,15 @@
.\" the sendmail distribution.
.\"
.\"
-.\" $Id: mailstats.8,v 8.17.4.6 2001/05/07 22:06:38 gshapiro Exp $
+.\" $Id: mailstats.8,v 8.26 2001/10/21 19:12:10 gshapiro Exp $
.\"
-.TH MAILSTATS 8 "$Date: 2001/05/07 22:06:38 $"
+.TH MAILSTATS 8 "$Date: 2001/10/21 19:12:10 $"
.SH NAME
mailstats
\- display mail statistics
.SH SYNOPSIS
.B mailstats
-.RB [ \-o "] [" \-p ]
+.RB [ \-o "] [" \-p "] [" \-P ]
.RB [ \-C
.IR cffile ]
.RB [ \-f
@@ -50,10 +50,10 @@ Number of messages to the mailer.
Kbytes to the mailer.
.TP
.B msgsrej
-Number of messages rejected.
+Number of messages rejected (by check_* rulesets).
.TP
.B msgsdis
-Number of messages discarded.
+Number of messages discarded (by check_* rulesets).
.TP
.B Mailer
The name of the mailer.
@@ -80,6 +80,9 @@ specified in the
.B sendmail
configuration file.
.TP
+.B \-P
+Output information in program-readable mode without clearing statistics.
+.TP
.B \-p
Output information in program-readable mode and clear statistics.
.TP
OpenPOWER on IntegriCloud