]> git.proxmox.com Git - pmg-docs.git/blob - pmgconfig.1-synopsis.adoc
Drop note for before-queue filtering
[pmg-docs.git] / pmgconfig.1-synopsis.adoc
1 *pmgconfig* `<COMMAND> [ARGS] [OPTIONS]`
2
3 *pmgconfig apicert* `[OPTIONS]`
4
5 Generate /etc/pmg/pmg-api.pem (self signed certificate for GUI and REST
6 API).
7
8 `--force` `<boolean>` ('default =' `0`)::
9
10 Overwrite existing certificate.
11
12 *pmgconfig dkim_record*
13
14 Get the public key for the configured selector, prepared as DKIM TXT record
15
16 *pmgconfig dkim_set* `--keysize <integer> --selector <string>` `[OPTIONS]`
17
18 Generate a new private key for selector. All future mail will be signed
19 with the new key!
20
21 `--force` `<boolean>` ::
22
23 Overwrite existing key
24
25 `--keysize` `<integer> (1024 - N)` ::
26
27 Number of bits for the RSA-Key
28
29 `--selector` `<string>` ::
30
31 DKIM Selector
32
33 *pmgconfig dump*
34
35 Print configuration setting which can be used in templates.
36
37 *pmgconfig help* `[OPTIONS]`
38
39 Get help about specified command.
40
41 `--extra-args` `<array>` ::
42
43 Shows help for a specific command
44
45 `--verbose` `<boolean>` ::
46
47 Verbose output format.
48
49 *pmgconfig init*
50
51 Generate required files in /etc/pmg/
52
53 *pmgconfig ldapsync*
54
55 Syncronize the LDAP database.
56
57 *pmgconfig sync* `[OPTIONS]`
58
59 Syncronize Proxmox Mail Gateway configurations with system configuration.
60
61 `--restart` `<boolean>` ('default =' `0`)::
62
63 Restart services if necessary.
64
65 *pmgconfig tlscert* `[OPTIONS]`
66
67 Generate /etc/pmg/pmg-tls.pem (self signed certificate for encrypted SMTP
68 traffic).
69
70 `--force` `<boolean>` ('default =' `0`)::
71
72 Overwrite existing certificate.
73
74