1 *pmgconfig* `<COMMAND> [ARGS] [OPTIONS]`
3 *pmgconfig apicert* `[OPTIONS]`
5 Generate /etc/pmg/pmg-api.pem (self signed certificate for GUI and REST
8 `--force` `<boolean>` ('default =' `0`)::
10 Overwrite existing certificate.
12 *pmgconfig dkim_record*
14 Get the public key for the configured selector, prepared as DKIM TXT record
16 *pmgconfig dkim_set* `--keysize <integer> --selector <string>` `[OPTIONS]`
18 Generate a new private key for selector. All future mail will be signed
21 `--force` `<boolean>` ::
23 Overwrite existing key
25 `--keysize` `<integer> (1024 - N)` ::
27 Number of bits for the RSA-Key
29 `--selector` `<string>` ::
35 Print configuration setting which can be used in templates.
37 *pmgconfig help* `[OPTIONS]`
39 Get help about specified command.
41 `--extra-args` `<array>` ::
43 Shows help for a specific command
45 `--verbose` `<boolean>` ::
47 Verbose output format.
51 Generate required files in /etc/pmg/
55 Syncronize the LDAP database.
57 *pmgconfig sync* `[OPTIONS]`
59 Syncronize Proxmox Mail Gateway configurations with system configuration.
61 `--restart` `<boolean>` ('default =' `0`)::
63 Restart services if necessary.
65 *pmgconfig tlscert* `[OPTIONS]`
67 Generate /etc/pmg/pmg-tls.pem (self signed certificate for encrypted SMTP
70 `--force` `<boolean>` ('default =' `0`)::
72 Overwrite existing certificate.