*pmgconfig* ` [ARGS] [OPTIONS]` *pmgconfig acme account deactivate* `[]` `[OPTIONS]` Deactivate existing ACME account at CA. ``: `` ('default =' `default`):: ACME account config file name. `--force` `` ('default =' `0`):: Delete account data even if the server refuses to deactivate the account. *pmgconfig acme account info* `[]` `[FORMAT_OPTIONS]` Return existing ACME account information. ``: `` ('default =' `default`):: ACME account config file name. *pmgconfig acme account list* ACME account index. *pmgconfig acme account register* `[] {}` `[OPTIONS]` Register a new ACME account with a compatible CA. ``: `` ('default =' `default`):: ACME account config file name. ``: `` :: Contact email addresses. `--directory` `^https?://.*` :: URL of ACME CA directory endpoint. *pmgconfig acme account update* `[]` `[OPTIONS]` Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh. ``: `` ('default =' `default`):: ACME account config file name. `--contact` `` :: Contact email addresses. *pmgconfig acme cert order* `` `[OPTIONS]` Order a new certificate from ACME-compatible CA. ``: `` :: The TLS certificate type (API or SMTP certificate). `--force` `` ('default =' `0`):: Overwrite existing custom certificate. *pmgconfig acme cert renew* `` `[OPTIONS]` Renew existing certificate from CA. ``: `` :: The TLS certificate type (API or SMTP certificate). `--force` `` ('default =' `0`):: Force renewal even if expiry is more than 30 days away. *pmgconfig acme cert revoke* `` Revoke existing certificate from CA. ``: `` :: The TLS certificate type (API or SMTP certificate). *pmgconfig acme plugin add* ` ` `[OPTIONS]` Add ACME plugin configuration. ``: `` :: ACME challenge type. ``: `` :: ACME Plugin ID name `--api` `<1984hosting | acmedns | acmeproxy | active24 | ad | ali | anx | artfiles | arvan | aurora | autodns | aws | azion | azure | bookmyname | bunny | cf | clouddns | cloudns | cn | conoha | constellix | cpanel | curanet | cyon | da | ddnss | desec | df | dgon | dnsexit | dnshome | dnsimple | dnsservices | do | doapi | domeneshop | dp | dpi | dreamhost | duckdns | durabledns | dyn | dynu | dynv6 | easydns | edgedns | euserv | exoscale | fornex | freedns | gandi_livedns | gcloud | gcore | gd | geoscaling | googledomains | he | hetzner | hexonet | hostingde | huaweicloud | infoblox | infomaniak | internetbs | inwx | ionos | ipv64 | ispconfig | jd | joker | kappernet | kas | kinghost | knot | la | leaseweb | lexicon | linode | linode_v4 | loopia | lua | maradns | me | miab | misaka | myapi | mydevil | mydnsjp | mythic_beasts | namecheap | namecom | namesilo | nanelo | nederhost | neodigit | netcup | netlify | nic | njalla | nm | nsd | nsone | nsupdate | nw | oci | one | online | openprovider | openstack | opnsense | ovh | pdns | pleskxml | pointhq | porkbun | rackcorp | rackspace | rage4 | rcode0 | regru | scaleway | schlundtech | selectel | selfhost | servercow | simply | tele3 | tencent | transip | udr | ultra | unoeuro | variomedia | veesp | vercel | vscale | vultr | websupport | world4you | yandex | yc | zilore | zone | zonomi>` :: API plugin name `--data` `File with one key-value pair per line, will be base64url encode for storage in plugin config.` :: DNS plugin data. (base64 encoded) `--disable` `` :: Flag to disable the config. `--nodes` `` :: List of cluster node names. `--validation-delay` ` (0 - 172800)` ('default =' `30`):: Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records. *pmgconfig acme plugin config* `` `[FORMAT_OPTIONS]` Get ACME plugin configuration. ``: `` :: Unique identifier for ACME plugin instance. *pmgconfig acme plugin list* `[OPTIONS]` `[FORMAT_OPTIONS]` ACME plugin index. `--type` `` :: Only list ACME plugins of a specific type *pmgconfig acme plugin remove* `` Delete ACME plugin configuration. ``: `` :: Unique identifier for ACME plugin instance. *pmgconfig acme plugin set* `` `[OPTIONS]` Update ACME plugin configuration. ``: `` :: ACME Plugin ID name `--api` `<1984hosting | acmedns | acmeproxy | active24 | ad | ali | anx | artfiles | arvan | aurora | autodns | aws | azion | azure | bookmyname | bunny | cf | clouddns | cloudns | cn | conoha | constellix | cpanel | curanet | cyon | da | ddnss | desec | df | dgon | dnsexit | dnshome | dnsimple | dnsservices | do | doapi | domeneshop | dp | dpi | dreamhost | duckdns | durabledns | dyn | dynu | dynv6 | easydns | edgedns | euserv | exoscale | fornex | freedns | gandi_livedns | gcloud | gcore | gd | geoscaling | googledomains | he | hetzner | hexonet | hostingde | huaweicloud | infoblox | infomaniak | internetbs | inwx | ionos | ipv64 | ispconfig | jd | joker | kappernet | kas | kinghost | knot | la | leaseweb | lexicon | linode | linode_v4 | loopia | lua | maradns | me | miab | misaka | myapi | mydevil | mydnsjp | mythic_beasts | namecheap | namecom | namesilo | nanelo | nederhost | neodigit | netcup | netlify | nic | njalla | nm | nsd | nsone | nsupdate | nw | oci | one | online | openprovider | openstack | opnsense | ovh | pdns | pleskxml | pointhq | porkbun | rackcorp | rackspace | rage4 | rcode0 | regru | scaleway | schlundtech | selectel | selfhost | servercow | simply | tele3 | tencent | transip | udr | ultra | unoeuro | variomedia | veesp | vercel | vscale | vultr | websupport | world4you | yandex | yc | zilore | zone | zonomi>` :: API plugin name `--data` `File with one key-value pair per line, will be base64url encode for storage in plugin config.` :: DNS plugin data. (base64 encoded) `--delete` `` :: A list of settings you want to delete. `--digest` `` :: Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. `--disable` `` :: Flag to disable the config. `--nodes` `` :: List of cluster node names. `--validation-delay` ` (0 - 172800)` ('default =' `30`):: Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records. *pmgconfig apicert* `[OPTIONS]` Generate /etc/pmg/pmg-api.pem (self signed certificate for GUI and REST API). `--force` `` ('default =' `0`):: Overwrite existing certificate. *pmgconfig cert delete* ` []` DELETE custom certificate chain and key. ``: `` :: The TLS certificate type (API or SMTP certificate). ``: `` ('default =' `0`):: Restart pmgproxy. *pmgconfig cert info* `[FORMAT_OPTIONS]` Get information about the node's certificates. *pmgconfig cert set* ` ` `[OPTIONS]` `[FORMAT_OPTIONS]` Upload or update custom certificate chain and key. ``: `` :: The TLS certificate type (API or SMTP certificate). ``: `` :: PEM encoded certificate (chain). ``: `` :: PEM encoded private key. `--force` `` ('default =' `0`):: Overwrite existing custom or ACME certificate files. `--restart` `` ('default =' `0`):: Restart services. *pmgconfig dkim_record* Get the public key for the configured selector, prepared as DKIM TXT record *pmgconfig dkim_set* `--keysize --selector ` `[OPTIONS]` Generate a new private key for selector. All future mail will be signed with the new key! `--force` `` :: Overwrite existing key `--keysize` ` (1024 - N)` :: Number of bits for the RSA-Key `--selector` `` :: DKIM Selector *pmgconfig dump* Print configuration setting which can be used in templates. *pmgconfig help* `[OPTIONS]` Get help about specified command. `--extra-args` `` :: Shows help for a specific command `--verbose` `` :: Verbose output format. *pmgconfig init* Generate required files in /etc/pmg/ *pmgconfig ldapsync* Synchronize the LDAP database. *pmgconfig sync* `[OPTIONS]` Synchronize Proxmox Mail Gateway configurations with system configuration. `--restart` `` ('default =' `0`):: Restart services if necessary. *pmgconfig tlscert* `[OPTIONS]` Generate /etc/pmg/pmg-tls.pem (self signed certificate for encrypted SMTP traffic). `--force` `` ('default =' `0`):: Overwrite existing certificate.