]> git.proxmox.com Git - pmg-docs.git/blame - pmg-statistic.adoc
stats: add screenshots and expand a bit
[pmg-docs.git] / pmg-statistic.adoc
CommitLineData
85115a79
DC
1Statistics
2==========
3
002f0d49
TL
4{pmg} provides a useful and feature-rich statistics interface that allows
5administrators to quickly get an overview of the overall workload and easily
6identify problems.
85115a79 7
002f0d49
TL
8The statistics are displayed for a selected period, which by default is the
9current day. This period can be changed to any other day, a whole month or even
10a whole year.
85115a79 11
079acc51
TL
12[thumbnail="pmg-gui-statistics-general.png", big=1]
13
85115a79
DC
14On the main statistics page there are three graphs with additional data:
15
16'Total Mail Count'::
17
18Shows the total mail flow as a graph and the following details:
19
20* Total Mails
21* Incoming/Outgoing Mails (as count and percentage)
22* Virus Outbreaks (the amount of outgoing virus mails)
23* Avg. Mail Processing Time
24* Incoming/Outgoing Mail Traffic
25
26'Incoming Mails'::
27
002f0d49
TL
28Displays the count of incoming mails from each of the following categories,
29including their percentage of the total incoming mail volume:
85115a79
DC
30
31* Incoming Mails
32* Junk Mails (Virus + Spam + Greylisted + SPF rejects + RBL rejects)
33* Greylisted Mails
34* Spam Mails (Mails with Spamscore >= 3 and not containing a virus)
35* SPF rejects
36* Bounces (mails with an empty envelope-sender address)
37* Virus Mails
38
39'Outgoing Mails'::
40
002f0d49
TL
41Displays the count of outgoing mails from each of the following categories,
42including their percentage of the total outgoing mail volume:
85115a79
DC
43
44* Outgoing Mails
45* Bounces (mails with an empty envelope-sender address)
46* Virus Mails
47
48Spam Scores
49-----------
50
079acc51
TL
51[thumbnail="pmg-gui-statistics-spam-scores.png", big=1]
52
002f0d49
TL
53The `Spam Scores` panel shows the distribution of the different spam scores for
54the selected time period. Note that you can also select a whole month or even a
55whole year as period to display.
85115a79
DC
56
57Virus Charts
58------------
59
079acc51
TL
60[thumbnail="pmg-gui-statistics-virus-charts.png"]
61
62The `Virus Charts` panel gives you an overview of how many virus files were
63tried to be transmitted through your mail infrastructure, but got caught early
64by the {pmg}.
65
66The list shows which and how often a certain viruses were detected in the
002f0d49 67selected time period.
85115a79 68
079acc51
TL
69See xref:pmgconfig_clamav[Virus Detector Configuration] for details about how
70{pmg} scans for virus files.
71
85115a79
DC
72Hourly Distribution
73-------------------
74
079acc51
TL
75[thumbnail="pmg-gui-statistics-hourly-distribution.png", big=1]
76
002f0d49
TL
77The `Hourly Distribution` shows the amount of incoming and outgoing mail per
78hour for the selected time period. For periods spanning a whole month or a
79whole year the arithmetic average of mail volume in an hour will be shown.
85115a79
DC
80
81Postscreen
82----------
83
079acc51
TL
84[thumbnail="pmg-gui-statistics-postscreen.png"]
85
86Contains a chart with the RBL (Real-time Blackhole Lists) and `pregreet`
87rejects for the selected time frame.
88
89[quote, Postfix Postscreen Howto]
90____
91For each connection from an SMTP client, postscreen(8) performs a number of
92tests in the order as described below. Some tests introduce a delay of a few
93seconds. postscreen(8) maintains a temporary allowlist for clients that pass
94its tests; by allowing allowlisted clients to skip tests, postscreen(8)
95minimizes its impact on legitimate email traffic.
96____
97
85115a79
DC
98For more info about postscreen and pregreet tests, see the
99https://www.postfix.org/POSTSCREEN_README.html[postscreen readme].
100
101Domain
102------
103
079acc51
TL
104[thumbnail="pmg-gui-statistics-domain.png"]
105
002f0d49 106The `Domain` view is split into two tabs, one for incoming and one for outgoing
079acc51
TL
107mails.
108
109Each tab shows a list of domains that received mails in a selected time frame,
110with stats for:
111
112* traffic amount
113* counts for:
114** mail flow to a domain
115** how many viruses were detected,
116** and how many mails were classified as spam
85115a79
DC
117
118Sender
119------
120
079acc51
TL
121[thumbnail="pmg-gui-statistics-sender.png", big=1]
122
002f0d49
TL
123The `Sender` panel contains a list of e-mail addresses that sent mail out in
124the selected time frame, with a total count, how many viruses were detected and
125how big these mails were.
85115a79
DC
126
127If you click on one of these e-mail addresses, you see a detailed list of
128recipients, complete with size, date and time.
129
130Receiver
131--------
132
079acc51
TL
133[thumbnail="pmg-gui-statistics-receiver.png"]
134
85115a79
DC
135Similar to the `Sender` panel, this contains a list of e-mail addresses that
136received e-mails from outside, with a total, spam and virus count, as well
137as the total mail size.
138
139If you click an entry, it shows a detailed list of mails with size, date,
140time, virus and spam score info.
141
002f0d49
TL
142If the `Use advanced statistics filters` option (`Configurations -> Options`)
143is enabled, only active accounts will be listed. Active accounts are those that
144sent mail during the selected time period or up to 90 days before.
85115a79
DC
145
146Contact
147-------
148
079acc51
TL
149[thumbnail="pmg-gui-statistics-contact.png"]
150
85115a79
DC
151This contains the list of external recipients that received mail from this
152{pmg}, coming in on the internal port, with total count, virus count and size.
153
154If you click an entry, it shows a list of mails with size, date and time.
155
002f0d49
TL
156If the `Use advanced statistics filters` option (`Configurations -> Options`)
157is enabled, active accounts will be filtered out, since they can already be
158seen in the `Receiver` panel. Active accounts are those which sent mail in the
159selected time frame or up to 90 days before.