🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #55

Re: getting mail statistics

#55
From: Bruce Lilly
Date: Tue, 03 Nov 1992 15:23
51 lines
2755 bytes
In article <1992Nov2.202912.3454@relay.nswc.navy.mil> motoole@relay.nswc.navy.mil (Edwina O'Toole - K31) wrote:
>Also, I am running the mailstats program that comes
>with sendmail, but I don't know how to
>interpret what it is reporting.  Is something
>written up about it somewhere or is the
>commented source code available for it?

mailstats

Statistics from Tue Jun 25 04:00:38 1991
 M msgsfr bytes_from  msgsto   bytes_to
 0    470    1146935    1146    2772985
 2     16      44768      29      52853
 3    969    2415614     345     948385
 7      3       3665       0          0

The first line indicates when the statistics file was last
initialized.

The second line consists of headers for the remaining lines.
M indicates the mailer number as configured in sendmail.cf, as
specified by lines beginning with the letter 'M'. The count
starts from zero.  E.g.:

grep ^M /etc/sendmail.cf

Mlocal,	P=/bin/lmail,	F=CDEFMPhlmnpsu,	S=10/50,	R=20/60,	A=rmail $u
Mprog,	P=/bin/sh,	F=CDFMels,	S=11/51,	R=21/61,	A=sh -c $u
Msmtp,	P=[IPC],	F=CDFILMXhmnsu,	S=12/52,	R=22/62,	A=[IPC] $h
Mbsmtp,	P=/usr/bin/uux,	F=BCDFLMXhmnsu,	S=13/53,	R=23/63,	M=100000,	A=uux - -r -a$f $h!bsmtp
Mrmaildns,	P=/usr/bin/uux,	F=CDFMUhmsu,	S=14/54,	R=24/64,	M=100000,	A=uux - -r -a$f $h!rmail ($u)
Mrmaildom,	P=/usr/bin/uux,	F=CDFMUhmsu,	S=15/55,	R=25/65,	M=100000,	A=uux - -r -a$f $h!rmail ($u)
Mrmailbang,	P=/usr/bin/uux,	F=CDFMUhmsu,	S=16/56,	R=26/66,	M=100000,	A=uux - -r -a$f $h!rmail ($u)
Mcompu,	P=/local/bin/csemail,	F=CDFLMehmnsu,	S=17/57,	R=27/67,	M=100000,	A=csemail -d3 -x6 $u

the "local" mailer is mailer 0, "prog" is mailer 1, etc.

The "msgsfr" column indicates the number of messages handled by
sendmail for which the sender's envelope address resolved to the
corresponding mailer for that row. "bytes_from" is a cumulative
total of the number of bytes of message content for those
messages. Some versions of sendmail may use "kbytes" which might
be 1000 or 1024, but is likely to be neither due to roundoff
errors.

The "msgsto" and "bytes_to" correspond to those messages for
which the recipient envelope address resolved to the particular
mailer.
-- 
	Bruce Lilly		blilly!bruce@Broadcast.Sony.COM
					...uunet!sonyusa!sonyd1!blilly!bruce
Technical Details
Message-ID: <1992Nov3.152350.24976@blilly.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!lll-winken!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!usc!wupost!udel!intercon!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce
References: <1992Nov2.202912.3454@relay.nswc.navy.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!lll-winken!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!usc!wupost!udel!intercon!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce
From: bruce@blilly.UUCP (Bruce Lilly)
Newsgroups: comp.mail.sendmail
Subject: Re: getting mail statistics
Message-ID: <1992Nov3.152350.24976@blilly.UUCP>
Date: 3 Nov 92 15:23:50 GMT
References: <1992Nov2.202912.3454@relay.nswc.navy.mil>
Organization: Bruce Lilly
Lines: 51