]> git.proxmox.com Git - pmg-docs.git/blame - pmgconfig.adoc
pmgconfig.adoc: add network setup docu
[pmg-docs.git] / pmgconfig.adoc
CommitLineData
e62ceaf0
DM
1[[chapter_pmgconfig]]
2ifdef::manvolnum[]
3pmgconfig(1)
4============
5:pmg-toplevel:
6
7NAME
8----
9
10pmgconfig - Proxmox Mail Gateway Configuration Management Toolkit
11
12
13SYNOPSIS
14--------
15
16include::pmgconfig.1-synopsis.adoc[]
17
18
19DESCRIPTION
20-----------
21endif::manvolnum[]
22ifndef::manvolnum[]
23Configuration Management Toolkit
24================================
25:pmg-toplevel:
26endif::manvolnum[]
27
685576c2
DM
28{pmg} is usually configured using the web-based Graphical User
29Interface (GUI), but it is also possible to directly edit the
30configuration files, use the REST API over 'https'
31or the command line tool 'pmgsh'.
32
33The command line tool 'pmgconfig' is used to simplify some common
34configuration tasks, i.e. to generate cerificates and to rewrite
35service configuration files.
36
37System Configuration
38--------------------
39
40Network and Time
41~~~~~~~~~~~~~~~~
42
43ifndef::manvolnum[]
44image::images/screenshot/pmg-gui-network-config.png[]
45endif::manvolnum[]
46
45de5bf5
DM
47Normally the network and time is already configured when you visit the
48GUI. The installer asks for those setting and sets up the correct
49values.
50
51The default setup uses a single Ethernet adapter and static IP
52assignment. The configuration is stored at '/etc/network/interfaces',
53and the actual network setup is done the standard Debian way using
54package 'ifupdown'.
55
56.Example network setup '/etc/network/interfaces'
57----
58source /etc/network/interfaces.d/*
59
60auto lo
61iface lo inet loopback
62
63auto ens18
64iface ens18 inet static
65 address 192.168.2.127
66 netmask 255.255.240.0
67 gateway 192.168.2.1
68----
69
70.DNS recommendations
71
72Many tests to detect SPAM mails use DNS queries, so it is important to
73have a fast and reliable DNS server. We also query some public
74available DNS Blacklists. Most of them apply rate limits for clients,
75so they simply will not work if you use a public DNS server (because
76they are usually blocked). We recommend to use your own DNS server,
77which need to be configured in 'recursive' mode.
685576c2
DM
78
79
80Options
81~~~~~~~
82
83ifndef::manvolnum[]
84image::images/screenshot/pmg-gui-system-options.png[]
85endif::manvolnum[]
86
87include::pmg.admin-conf-opts.adoc[]
88
89
90Backup and Restore
91~~~~~~~~~~~~~~~~~~
92
93ifndef::manvolnum[]
94image::images/screenshot/pmg-gui-backup.png[]
95endif::manvolnum[]
96
97TODO
98
99
e62ceaf0
DM
100
101ifdef::manvolnum[]
102include::pmg-copyright.adoc[]
103endif::manvolnum[]
104