]> git.proxmox.com Git - pmg-docs.git/blame - pmg-administration.adoc
add before_queue params to gen-pmg.conf.5.-opts.pl
[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
3f02fc6b
DM
74image::images/screenshot/pmg-gui-spam-quarantine.png[]
75
76This panel lets you inspect the mail quarantine. Emails can be safely
77previewed and if desired, delivered to the original user.
78
79The email preview on the web interface is very secure as malicious
80code (attacking your operating system or email client) is removed by
81Proxmox.
82
e3eaa56a
DM
83
84Virus
85~~~~~
86
3f02fc6b
DM
87Allows administrators to inspect quarantined virus mails.
88
e3eaa56a 89
f7d90c0a
DC
90Attachment
91~~~~~~~~~~
92
93Allows administrators to inspect quarantined mails and download their
94attachments or deliver/delete them.
95
96NOTE: Use the options of the 'Remove attachment' action to control the Attachment Quarantine.
97
98
4a08dffe 99[[pmg_userblackwhitelist]]
e3eaa56a
DM
100User White- and Blacklist
101~~~~~~~~~~~~~~~~~~~~~~~~~
102
3f02fc6b
DM
103This is mostly useful to debug or verify white- and blacklist user
104settings. The administrator should not change these values because
105users can manage this themselves.
106
e3eaa56a 107
80034065 108[[pmg_tracking_center]]
e3eaa56a
DM
109Tracking Center
110---------------
111
b0a8e83b
DM
112image::images/screenshot/pmg-gui-tracking-center.png[]
113
e30d2fb3
DM
114Email processing is a complex task and involves several service
115daemons. Each daemon logs information to the syslog service. The
116problem is that a servers analyzes many emails in parallel, so it is
117usually very hard to find all logs corresponding to a specific mail.
118
119Introduced in {pmg} 2.1, the tracking center simplifies the search for
120emails dramatically. We use highly optimized C-code to search the
121available syslog data. This is very fast and powerful, and works for
122sites processing several million emails per day.
123
124The result is a list of received mails, including the following data:
125
126[cols="s,5d"]
127|====
128|Time | Timestamp of first found syslog entry.
129|From | Envelope 'From' address (the sender).
130|To | The email receiver address.
131|Status | Delivery status.
132|Syslog | The corresponding syslog entries are shown if you double click such
133entry, or if you press the '+' button on the left.
134|====
135
136Please notice that you can specify filters, most important you can set
137a 'Start' and 'End' time. By default the start time is set to one hour
138ago. If you still get to much result entries, you can try to restrict
139the search to specific sender or receiver addresses, or search for a
140specific text in the logs ('Filter' entry).
e3eaa56a 141
268f309d
DM
142NOTE: Search is faster if you use a short time interval.
143
f29824e9
DM
144The 'Status' field summarize what happens with an email. {pmg} is a
145mail proxy, meaning that the proxy receives mails from outside,
146process it and finally sends the result to the receiver.
147
148The first phase is receiving the mail. The proxy may reject the mail
149early, or instead accepts the mail and feeds it into the filter. The filter
150rules can block or accept the mail.
151
152In the second phase, accepted mails need to be delivered to the
153receiver, and this action may also fail or succeed. The status
154combines the result from the first and second phase:
155
156[options="header",cols="2s,1d,5d"]
157|====
158|Status |Phase |Description
159|rejected |1 | Email rejected (e.g. sender IP is listed on a IP blacklist)
160|greylisted |1 | Email temporarily rejected by greylisting
161|queued/deferred |1 | Internal Email was queued, still trying to deliver
162|queued/bounced |1 | Internal Email was queued but not accepted by the target email server (e. g. user unknown)
163|quarantine |1 | Email was moved to quanantine
164|blocked |1 | Email was blocked by filter rules
165|accepted/deferred |2 | Email accepted, still trying to deliver
166|accepted/bounced |2 | Email accepted but not accepted by the target email server (e. g. user unknown)
167|accepted/delivered |2 | Email accepted and deliverd
168|====
169
e3eaa56a
DM
170
171Postfix Queue Administration
172----------------------------
173
174TODO