2 image:./images/proxmox-logo.svg[] pass:[<br>] Proxmox Mail Gateway Administration Guide
3 =======================================================================================
6 Proxmox Mail Gateway Administration Guide
7 =========================================
10 :title: Proxmox Mail Gateway Administration Guide
19 // Push titles down one level.
22 include::pmg-intro.adoc[]
24 include::pmg-planning-deployment.adoc[]
26 include::pmg-installation.adoc[]
28 include::pmgconfig.adoc[]
30 include::pmg-mail-filter.adoc[]
32 include::pmgbackup.adoc[]
36 // Return to normal title levels.
40 Important Service Daemons
41 -------------------------
45 include::pmgdaemon.adoc[]
47 include::pmgproxy.adoc[]
49 include::pmg-smtp-filter.adoc[]
51 include::pmgpolicy.adoc[]
53 include::pmgtunnel.adoc[]
55 include::pmgmirror.adoc[]
60 Useful Command Line Tools
61 -------------------------
68 include::pmgversion.adoc[]
70 include::pmgsubscription.adoc[]
72 include::pmgperf.adoc[]
76 include::pmgreport.adoc[]
78 include::pmgupgrade.adoc[]
91 include::pmg-bibliography.adoc[]
99 Access to the administration web interface is always done via
100 `https`. The default certificate is never valid for your browser and
101 you get always warnings.
103 If you want to get rid of these warnings, you have to generate a valid
104 certificate for your server.
106 Login to your Proxmox via ssh or use the console:
109 openssl req -newkey rsa:2048 -nodes -keyout key.pem -out req.pem
112 Follow the instructions on the screen, see this example:
115 Country Name (2 letter code) [AU]: AT
116 State or Province Name (full name) [Some-State]:Vienna
117 Locality Name (eg, city) []:Vienna
118 Organization Name (eg, company) [Internet Widgits Pty Ltd]: Proxmox GmbH
119 Organizational Unit Name (eg, section) []:Proxmox Mail Gateway
120 Common Name (eg, YOUR name) []: yourproxmox.yourdomain.com
121 Email Address []:support@yourdomain.com
123 Please enter the following 'extra' attributes to be sent with your certificate request
124 A challenge password []: not necessary
125 An optional company name []: not necessary
128 After you finished this certificate request you have to send the file
129 `req.pem` to your Certification Authority (CA). The CA will issue the
130 certificate (BASE64 encoded) based on your request – save this file as
131 `cert.pem` to your Proxmox.
133 To activate the new certificate, do the following on your Proxmox:
136 cat key.pem cert.pem >/etc/pmg/pmg-api.pem
139 The restart the API servers
142 systemctl restart pmgproxy
145 Test your new certificate by using your browser.
147 NOTE: To transfer files from and to your Proxmox, you can use secure
148 copy: If you desktop is Linux, you can use the `scp` command line
149 tool. If your desktop PC is windows, please use a scp client like
150 WinSCP (see http://winscp.net/).
154 Command Line Interface
155 ----------------------
157 *pmgbackup* - Proxmox Mail Gateway Backup and Restore Utility
158 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 include::pmgbackup.1-synopsis.adoc[]
163 *pmgcm* - Proxmox Mail Gateway Cluster Management Toolkit
164 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 include::pmgcm.1-synopsis.adoc[]
172 include::pmgsh.1-synopsis.adoc[]
175 *pmgperf* - Proxmox Simple Performance Benchmark
176 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
178 include::pmgperf.1-synopsis.adoc[]
181 *pmgconfig* - Configuration Management Toolkit
182 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184 include::pmgconfig.1-synopsis.adoc[]
187 *pmgdb* - Database Management Toolkit
188 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
190 include::pmgdb.1-synopsis.adoc[]
197 *pmgdaemon* - {pmg} API Daemon
198 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 include::pmgdaemon.8-synopsis.adoc[]
203 *pmgproxy* - {pmg} API Proxy Daemon
204 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 include::pmgproxy.8-synopsis.adoc[]
209 *pmg-smtp-filter* - Proxmox SMTP Filter Daemon
210 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 include::pmg-smtp-filter.8-synopsis.adoc[]
215 *pmgpolicy* - {pmg} Policy Daemon
216 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
218 include::pmgpolicy.8-synopsis.adoc[]
221 *pmgtunnel* - Cluster Tunnel Daemon
222 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 include::pmgtunnel.8-synopsis.adoc[]
227 *pmgmirror* - Database Mirror Daemon
228 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 include::pmgmirror.8-synopsis.adoc[]
234 include::pmg-rule-macros.adoc[]
242 include::pmg.conf.adoc[]
244 include::cluster.conf.adoc[]
246 include::user.conf.adoc[]
248 include::ldap.conf.adoc[]