]> git.proxmox.com Git - pmg-docs.git/blame - pmg-administration.adoc
pmg-administration.adoc: descrive delivery status
[pmg-docs.git] / pmg-administration.adoc
CommitLineData
e3eaa56a
DM
1Administration
2==============
3
4The Administration GUI allows you to do common administration tasks
5like updating software packages, manage quarantine, view service
6status and manage mail queues. It also provides server statistics in
7order to verify server health.
8
9
10Server Administration
11---------------------
12
13Server status
14~~~~~~~~~~~~~
15
16image::images/screenshot/pmg-gui-server-status.png[]
17
18This page shows server statistics about CPU, memory, disk and network
19usage. You can select the displayed time span on the upper right.
20
21Administrators can open a terminal window using the 'Console'
22button. It is also possible to trigger a server 'Restart' or
23'Shutdown'.
24
25
26Services
27~~~~~~~~
28
29image::images/screenshot/pmg-gui-service-status.png[]
30
31This panel lists all major services used for mail processing and
32cluster synchronization. If necessary, you can start, stop or restart
33them. The 'Syslog' button shows the system log filtered for the
34selected service.
35
36Please note that {pmg} uses {systemd} to manage services, so you can
37also use the standard `systemctl` command line tool to manage or view
38service status, for example:
39
40-----
41systemctl status postfix
42-----
43
44
45Updates
46~~~~~~~
47
48image::images/screenshot/pmg-gui-updates.png[]
49
50We release software updates on a regular basis, and it is recommended
51to always run the latest available version. This page shows the
52available updates, and administrator can run an upgrade by pressing
53the 'Upgrade' button.
54
55See section xref:pmg_package_repositories[Package Repositories] for
56details abaout available package repositories.
57
58
59Syslog and Tasks
60~~~~~~~~~~~~~~~~
61
62image::images/screenshot/pmg-gui-syslog.png[]
63
80034065
DM
64The syslog page gives you a quick real-time log view. Please use the
65xref:pmg_tracking_center[Tracking Center] to search the logs.
e3eaa56a
DM
66
67
68Quarantine
69----------
70
71Spam
72~~~~
73
74DODO
75
76Virus
77~~~~~
78
79TODO
80
81User White- and Blacklist
82~~~~~~~~~~~~~~~~~~~~~~~~~
83
84TODO
85
80034065 86[[pmg_tracking_center]]
e3eaa56a
DM
87Tracking Center
88---------------
89
b0a8e83b
DM
90image::images/screenshot/pmg-gui-tracking-center.png[]
91
e30d2fb3
DM
92Email processing is a complex task and involves several service
93daemons. Each daemon logs information to the syslog service. The
94problem is that a servers analyzes many emails in parallel, so it is
95usually very hard to find all logs corresponding to a specific mail.
96
97Introduced in {pmg} 2.1, the tracking center simplifies the search for
98emails dramatically. We use highly optimized C-code to search the
99available syslog data. This is very fast and powerful, and works for
100sites processing several million emails per day.
101
102The result is a list of received mails, including the following data:
103
104[cols="s,5d"]
105|====
106|Time | Timestamp of first found syslog entry.
107|From | Envelope 'From' address (the sender).
108|To | The email receiver address.
109|Status | Delivery status.
110|Syslog | The corresponding syslog entries are shown if you double click such
111entry, or if you press the '+' button on the left.
112|====
113
114Please notice that you can specify filters, most important you can set
115a 'Start' and 'End' time. By default the start time is set to one hour
116ago. If you still get to much result entries, you can try to restrict
117the search to specific sender or receiver addresses, or search for a
118specific text in the logs ('Filter' entry).
e3eaa56a 119
268f309d
DM
120NOTE: Search is faster if you use a short time interval.
121
f29824e9
DM
122The 'Status' field summarize what happens with an email. {pmg} is a
123mail proxy, meaning that the proxy receives mails from outside,
124process it and finally sends the result to the receiver.
125
126The first phase is receiving the mail. The proxy may reject the mail
127early, or instead accepts the mail and feeds it into the filter. The filter
128rules can block or accept the mail.
129
130In the second phase, accepted mails need to be delivered to the
131receiver, and this action may also fail or succeed. The status
132combines the result from the first and second phase:
133
134[options="header",cols="2s,1d,5d"]
135|====
136|Status |Phase |Description
137|rejected |1 | Email rejected (e.g. sender IP is listed on a IP blacklist)
138|greylisted |1 | Email temporarily rejected by greylisting
139|queued/deferred |1 | Internal Email was queued, still trying to deliver
140|queued/bounced |1 | Internal Email was queued but not accepted by the target email server (e. g. user unknown)
141|quarantine |1 | Email was moved to quanantine
142|blocked |1 | Email was blocked by filter rules
143|accepted/deferred |2 | Email accepted, still trying to deliver
144|accepted/bounced |2 | Email accepted but not accepted by the target email server (e. g. user unknown)
145|accepted/delivered |2 | Email accepted and deliverd
146|====
147
e3eaa56a
DM
148
149Postfix Queue Administration
150----------------------------
151
152TODO