]>
Commit | Line | Data |
---|---|---|
e62ceaf0 DM |
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 | ||
9fda36b0 | 8 | `--force` `<boolean>` ('default =' `0`):: |
e62ceaf0 DM |
9 | |
10 | Overwrite existing certificate. | |
11 | ||
d210277a TL |
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 | ||
6bd70b95 TL |
21 | `--force` `<boolean>` :: |
22 | ||
23 | Overwrite existing key | |
24 | ||
d210277a TL |
25 | `--keysize` `<integer> (1024 - N)` :: |
26 | ||
27 | Number of bits for the RSA-Key | |
28 | ||
29 | `--selector` `<string>` :: | |
30 | ||
31 | DKIM Selector | |
32 | ||
e62ceaf0 DM |
33 | *pmgconfig dump* |
34 | ||
35 | Print configuration setting which can be used in templates. | |
36 | ||
b81b1f95 | 37 | *pmgconfig help* `[OPTIONS]` |
e62ceaf0 DM |
38 | |
39 | Get help about specified command. | |
40 | ||
b81b1f95 | 41 | `--extra-args` `<array>` :: |
e62ceaf0 | 42 | |
b81b1f95 | 43 | Shows help for a specific command |
e62ceaf0 | 44 | |
9fda36b0 | 45 | `--verbose` `<boolean>` :: |
e62ceaf0 DM |
46 | |
47 | Verbose output format. | |
48 | ||
eff914dc DM |
49 | *pmgconfig init* |
50 | ||
51 | Generate required files in /etc/pmg/ | |
52 | ||
e62ceaf0 DM |
53 | *pmgconfig ldapsync* |
54 | ||
55 | Syncronize the LDAP database. | |
56 | ||
e62ceaf0 DM |
57 | *pmgconfig sync* `[OPTIONS]` |
58 | ||
59 | Syncronize Proxmox Mail Gateway configurations with system configuration. | |
60 | ||
9fda36b0 | 61 | `--restart` `<boolean>` ('default =' `0`):: |
e62ceaf0 DM |
62 | |
63 | Restart services if necessary. | |
64 | ||
e62ceaf0 DM |
65 | *pmgconfig tlscert* `[OPTIONS]` |
66 | ||
67 | Generate /etc/pmg/pmg-tls.pem (self signed certificate for encrypted SMTP | |
68 | traffic). | |
69 | ||
9fda36b0 | 70 | `--force` `<boolean>` ('default =' `0`):: |
e62ceaf0 DM |
71 | |
72 | Overwrite existing certificate. | |
73 | ||
74 |