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.
46 [[create_bootable_usb]]
49 [[mail_server_config]]
52 [[fitering_outgoing_mail]]
53 fitering_outgoing_mail
56 Important Service Daemons
57 -------------------------
61 include::pmgdaemon.adoc[]
63 include::pmgproxy.adoc[]
65 include::pmg-smtp-filter.adoc[]
67 include::pmgpolicy.adoc[]
69 include::pmgtunnel.adoc[]
71 include::pmgmirror.adoc[]
76 Useful Command Line Tools
77 -------------------------
84 include::pmgversion.adoc[]
86 include::pmgsubscription.adoc[]
88 include::pmgperf.adoc[]
92 include::pmgreport.adoc[]
94 include::pmgupgrade.adoc[]
99 include::pmg-bibliography.adoc[]
107 Access to the administration web interface is always done via
108 `https`. The default certificate is never valid for your browser and
109 you get always warnings.
111 If you want to get rid of these warnings, you have to generate a valid
112 certificate for your server.
114 Login to your Proxmox via ssh or use the console:
117 openssl req -newkey rsa:2048 -nodes -keyout key.pem -out req.pem
120 Follow the instructions on the screen, see this example:
123 Country Name (2 letter code) [AU]: AT
124 State or Province Name (full name) [Some-State]:Vienna
125 Locality Name (eg, city) []:Vienna
126 Organization Name (eg, company) [Internet Widgits Pty Ltd]: Proxmox GmbH
127 Organizational Unit Name (eg, section) []:Proxmox Mail Gateway
128 Common Name (eg, YOUR name) []: yourproxmox.yourdomain.com
129 Email Address []:support@yourdomain.com
131 Please enter the following 'extra' attributes to be sent with your certificate request
132 A challenge password []: not necessary
133 An optional company name []: not necessary
136 After you finished this certificate request you have to send the file
137 `req.pem` to your Certification Authority (CA). The CA will issue the
138 certificate (BASE64 encoded) based on your request – save this file as
139 `cert.pem` to your Proxmox.
141 To activate the new certificate, do the following on your Proxmox:
144 cat key.pem cert.pem >/etc/pmg/pmg-api.pem
147 The restart the API servers
150 systemctl restart pmgproxy
153 Test your new certificate by using your browser.
155 NOTE: To transfer files from and to your Proxmox, you can use secure
156 copy: If you desktop is Linux, you can use the `scp` command line
157 tool. If your desktop PC is windows, please use a scp client like
158 WinSCP (see http://winscp.net/).
162 Command Line Interface
163 ----------------------
165 *pmgbackup* - Proxmox Mail Gateway Backup and Restore Utility
166 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168 include::pmgbackup.1-synopsis.adoc[]
171 *pmgcm* - Proxmox Mail Gateway Cluster Management Toolkit
172 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 include::pmgcm.1-synopsis.adoc[]
180 include::pmgsh.1-synopsis.adoc[]
183 *pmgperf* - Proxmox Simple Performance Benchmark
184 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186 include::pmgperf.1-synopsis.adoc[]
189 *pmgconfig* - Configuration Management Toolkit
190 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192 include::pmgconfig.1-synopsis.adoc[]
195 *pmgdb* - Database Management Toolkit
196 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 include::pmgdb.1-synopsis.adoc[]
205 *pmgdaemon* - {pmg} API Daemon
206 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208 include::pmgdaemon.8-synopsis.adoc[]
211 *pmgproxy* - {pmg} API Proxy Daemon
212 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
214 include::pmgproxy.8-synopsis.adoc[]
217 *pmg-smtp-filter* - Proxmox SMTP Filter Daemon
218 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 include::pmg-smtp-filter.8-synopsis.adoc[]
223 *pmgpolicy* - {pmg} Policy Daemon
224 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
226 include::pmgpolicy.8-synopsis.adoc[]
229 *pmgtunnel* - Cluster Tunnel Daemon
230 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232 include::pmgtunnel.8-synopsis.adoc[]
235 *pmgmirror* - Database Mirror Daemon
236 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238 include::pmgmirror.8-synopsis.adoc[]
242 include::pmg-rule-macros.adoc[]
250 include::pmg.conf.adoc[]
252 include::cluster.conf.adoc[]
254 include::user.conf.adoc[]
256 include::ldap.conf.adoc[]