Unix and Linux Discussions Tagged with sendmail |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
29,341 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
7,511 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,571 |
Shell Programming and Scripting |
|
|
|
3 |
6,897 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
8,093 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,452 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,326 |
Shell Programming and Scripting |
|
|
|
3 |
20,514 |
Shell Programming and Scripting |
|
|
|
8 |
4,382 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,909 |
Shell Programming and Scripting |
|
|
|
20 |
25,471 |
Shell Programming and Scripting |
|
|
|
11 |
15,824 |
UNIX and Linux Applications |
|
|
|
2 |
2,065 |
Shell Programming and Scripting |
|
|
|
0 |
5,887 |
Shell Programming and Scripting |
|
|
|
3 |
15,490 |
Shell Programming and Scripting |
|
|
|
2 |
6,167 |
Web Development |
|
|
|
2 |
3,881 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
9,910 |
Web Development |
|
|
|
5 |
7,056 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
3,289 |
HP-UX |
|
|
|
6 |
11,367 |
AIX |
|
|
|
6 |
11,663 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,753 |
Solaris |
|
|
|
1 |
9,266 |
Proxy Server |
|
|
|
2 |
6,179 |
Shell Programming and Scripting |
|
|
|
1 |
3,570 |
Solaris |
|
|
|
1 |
4,007 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,433 |
AIX |
|
|
|
12 |
32,643 |
Shell Programming and Scripting |
|
|
|
5 |
8,008 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,078 |
Shell Programming and Scripting |
|
|
|
1 |
2,943 |
Shell Programming and Scripting |
|
|
|
3 |
5,104 |
Solaris |
|
|
|
8 |
16,980 |
Shell Programming and Scripting |
|
|
|
1 |
8,566 |
Linux |
|
|
|
5 |
2,777 |
Shell Programming and Scripting |
|
|
|
0 |
5,009 |
Solaris |
|
|
|
1 |
4,340 |
Red Hat |
|
|
|
0 |
6,471 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
4,248 |
Shell Programming and Scripting |
mailstats(8) System Manager's Manual mailstats(8)
NAME
mailstats - Displays statistics about mail traffic
SYNOPSIS
mailstats [-o] [-C cffile [-f stfile]
FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send-
mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st.
DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats
it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the
sendmail.cf file.
EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position
of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the
number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M
msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6
43 59K 58 99K 0 0 smtp ============================================================ T 93
136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in
the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of
bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local
machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer.
Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer.
If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to
the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st.
FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail
RELATED INFORMATION
Commands: sendmail(8) delim off
mailstats(8)