add mising -synopsis.adoc files

This commit is contained in:
Dietmar Maurer 2018-01-02 13:27:12 +01:00
parent 685576c297
commit 274b47fc29
10 changed files with 490 additions and 58 deletions

View File

@ -5002,10 +5002,10 @@ var pmgapi = [
"accountattr" : { "accountattr" : {
"default" : "sAMAccountName, uid", "default" : "sAMAccountName, uid",
"description" : "Account attribute name name.", "description" : "Account attribute name name.",
"format" : "string-list", "format" : "ldap-simple-attr-list",
"optional" : 1, "optional" : 1,
"pattern" : "[a-zA-Z0-9]+", "type" : "string",
"type" : "string" "typetext" : "<string>"
}, },
"basedn" : { "basedn" : {
"description" : "Base domain name.", "description" : "Base domain name.",
@ -5068,18 +5068,18 @@ var pmgapi = [
"groupclass" : { "groupclass" : {
"default" : "group, univentionGroup, ipausergroup", "default" : "group, univentionGroup, ipausergroup",
"description" : "List of objectclasses for groups.", "description" : "List of objectclasses for groups.",
"format" : "string-list", "format" : "ldap-simple-attr-list",
"optional" : 1, "optional" : 1,
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
}, },
"mailattr" : { "mailattr" : {
"default" : "mail, userPrincipalName, proxyAddresses, othermailbox", "default" : "mail, userPrincipalName, proxyAddresses, othermailbox, mailAlternativeAddress",
"description" : "List of mail attribute names.", "description" : "List of mail attribute names.",
"format" : "string-list", "format" : "ldap-simple-attr-list",
"optional" : 1, "optional" : 1,
"pattern" : "[a-zA-Z0-9]+", "type" : "string",
"type" : "string" "typetext" : "<string>"
}, },
"mode" : { "mode" : {
"default" : "ldap", "default" : "ldap",
@ -5523,10 +5523,10 @@ var pmgapi = [
"accountattr" : { "accountattr" : {
"default" : "sAMAccountName, uid", "default" : "sAMAccountName, uid",
"description" : "Account attribute name name.", "description" : "Account attribute name name.",
"format" : "string-list", "format" : "ldap-simple-attr-list",
"optional" : 1, "optional" : 1,
"pattern" : "[a-zA-Z0-9]+", "type" : "string",
"type" : "string" "typetext" : "<string>"
}, },
"basedn" : { "basedn" : {
"description" : "Base domain name.", "description" : "Base domain name.",
@ -5574,18 +5574,18 @@ var pmgapi = [
"groupclass" : { "groupclass" : {
"default" : "group, univentionGroup, ipausergroup", "default" : "group, univentionGroup, ipausergroup",
"description" : "List of objectclasses for groups.", "description" : "List of objectclasses for groups.",
"format" : "string-list", "format" : "ldap-simple-attr-list",
"optional" : 1, "optional" : 1,
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
}, },
"mailattr" : { "mailattr" : {
"default" : "mail, userPrincipalName, proxyAddresses, othermailbox", "default" : "mail, userPrincipalName, proxyAddresses, othermailbox, mailAlternativeAddress",
"description" : "List of mail attribute names.", "description" : "List of mail attribute names.",
"format" : "string-list", "format" : "ldap-simple-attr-list",
"optional" : 1, "optional" : 1,
"pattern" : "[a-zA-Z0-9]+", "type" : "string",
"type" : "string" "typetext" : "<string>"
}, },
"mode" : { "mode" : {
"default" : "ldap", "default" : "ldap",
@ -7265,6 +7265,7 @@ var pmgapi = [
}, },
"dnsbl_sites" : { "dnsbl_sites" : {
"description" : "Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).", "description" : "Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).",
"format" : "dnsbl-entry-list",
"optional" : 1, "optional" : 1,
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
@ -7440,13 +7441,6 @@ var pmgapi = [
"type" : "boolean", "type" : "boolean",
"typetext" : "<boolean>" "typetext" : "<boolean>"
}, },
"use_rbl" : {
"default" : 1,
"description" : "Use Realtime Blacklists.",
"optional" : 1,
"type" : "boolean",
"typetext" : "<boolean>"
},
"verifyreceivers" : { "verifyreceivers" : {
"description" : "Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.", "description" : "Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.",
"enum" : [ "enum" : [
@ -7511,6 +7505,15 @@ var pmgapi = [
"type" : "integer", "type" : "integer",
"typetext" : "<integer> (0 - 1000)" "typetext" : "<integer> (0 - 1000)"
}, },
"clamav_heuristic_score" : {
"default" : 3,
"description" : "Score for ClamaAV heuristics (Google Safe Browsing database, PhishingScanURLs, ...).",
"maximum" : 1000,
"minimum" : 0,
"optional" : 1,
"type" : "integer",
"typetext" : "<integer> (0 - 1000)"
},
"delete" : { "delete" : {
"description" : "A list of settings you want to delete.", "description" : "A list of settings you want to delete.",
"format" : "pve-configid-list", "format" : "pve-configid-list",
@ -7534,7 +7537,7 @@ var pmgapi = [
"type" : "string" "type" : "string"
}, },
"maxspamsize" : { "maxspamsize" : {
"default" : 204800, "default" : 262144,
"description" : "Maximum size of spam messages in bytes.", "description" : "Maximum size of spam messages in bytes.",
"minimum" : 64, "minimum" : 64,
"optional" : 1, "optional" : 1,
@ -10756,9 +10759,9 @@ var pmgapi = [
{ {
"info" : { "info" : {
"POST" : { "POST" : {
"description" : "Creates a VNC Shell proxy.", "description" : "Creates a Terminal proxy.",
"method" : "POST", "method" : "POST",
"name" : "vncshell", "name" : "termproxy",
"parameters" : { "parameters" : {
"additionalProperties" : 0, "additionalProperties" : 0,
"properties" : { "properties" : {
@ -10774,16 +10777,14 @@ var pmgapi = [
"optional" : 1, "optional" : 1,
"type" : "boolean", "type" : "boolean",
"typetext" : "<boolean>" "typetext" : "<boolean>"
},
"websocket" : {
"default" : 1,
"description" : "use websocket instead of standard vnc.",
"optional" : 1,
"type" : "boolean",
"typetext" : "<boolean>"
} }
} }
}, },
"permissions" : {
"check" : [
"admin"
]
},
"protected" : 1, "protected" : 1,
"returns" : { "returns" : {
"additionalProperties" : 0, "additionalProperties" : 0,
@ -10805,8 +10806,8 @@ var pmgapi = [
} }
}, },
"leaf" : 1, "leaf" : 1,
"path" : "/nodes/{node}/vncshell", "path" : "/nodes/{node}/termproxy",
"text" : "vncshell" "text" : "termproxy"
}, },
{ {
"info" : { "info" : {
@ -10838,6 +10839,11 @@ var pmgapi = [
} }
} }
}, },
"permissions" : {
"check" : [
"admin"
]
},
"returns" : { "returns" : {
"properties" : { "properties" : {
"port" : { "port" : {
@ -11070,6 +11076,40 @@ var pmgapi = [
}, },
"type" : "object" "type" : "object"
} }
},
"POST" : {
"description" : "Reboot or shutdown a node.",
"method" : "POST",
"name" : "node_cmd",
"parameters" : {
"additionalProperties" : 0,
"properties" : {
"command" : {
"description" : "Specify the command.",
"enum" : [
"reboot",
"shutdown"
],
"type" : "string"
},
"node" : {
"description" : "The cluster node name.",
"format" : "pve-node",
"type" : "string",
"typetext" : "<string>"
}
}
},
"permissions" : {
"check" : [
"admin"
]
},
"protected" : 1,
"proxyto" : "node",
"returns" : {
"type" : "null"
}
} }
}, },
"leaf" : 1, "leaf" : 1,
@ -11488,6 +11528,13 @@ var pmgapi = [
"type" : "string", "type" : "string",
"typetext" : "<string>" "typetext" : "<string>"
}, },
"path" : {
"description" : "Verify ticket, and check if user have access on 'path'",
"maxLength" : 64,
"optional" : 1,
"type" : "string",
"typetext" : "<string>"
},
"realm" : { "realm" : {
"description" : "You can optionally pass the realm using this parameter. Normally the realm is simply added to the username <username>@<relam>.", "description" : "You can optionally pass the realm using this parameter. Normally the realm is simply added to the username <username>@<relam>.",
"enum" : [ "enum" : [
@ -12214,8 +12261,8 @@ var pmgapi = [
"properties" : { "properties" : {
"id" : { "id" : {
"description" : "Unique ID", "description" : "Unique ID",
"maxLength" : 40, "maxLength" : 60,
"pattern" : "C\\d+R\\d+", "pattern" : "C\\d+R\\d+T\\d+",
"type" : "string" "type" : "string"
}, },
"raw" : { "raw" : {
@ -12309,8 +12356,8 @@ var pmgapi = [
}, },
"id" : { "id" : {
"description" : "Unique ID", "description" : "Unique ID",
"maxLength" : 40, "maxLength" : 60,
"pattern" : "C\\d+R\\d+", "pattern" : "C\\d+R\\d+T\\d+",
"type" : "string" "type" : "string"
} }
} }
@ -13107,6 +13154,14 @@ var pmgapi = [
"returns" : { "returns" : {
"items" : { "items" : {
"properties" : { "properties" : {
"bytes_in" : {
"description" : "Incoming mail traffic (Bytes).",
"type" : "number"
},
"bytes_out" : {
"description" : "Outgoing mail traffic (Bytes).",
"type" : "number"
},
"count_in" : { "count_in" : {
"description" : "Incoming mail count.", "description" : "Incoming mail count.",
"type" : "number" "type" : "number"
@ -13119,14 +13174,6 @@ var pmgapi = [
"description" : "Domain name.", "description" : "Domain name.",
"type" : "string" "type" : "string"
}, },
"mbytes_in" : {
"description" : "Incoming mail traffic (Mebibytes).",
"type" : "number"
},
"mbytes_out" : {
"description" : "Outgoing mail traffic (Mebibytes).",
"type" : "number"
},
"spamcount_in" : { "spamcount_in" : {
"description" : "Incoming spam mails.", "description" : "Incoming spam mails.",
"type" : "number" "type" : "number"
@ -13249,13 +13296,21 @@ var pmgapi = [
"type" : "number" "type" : "number"
}, },
"junk_in" : { "junk_in" : {
"description" : "Incoming junk mail count (viruscount_in + spamcount_in + glcount + spfcount).", "description" : "Incoming junk mail count (viruscount_in + spamcount_in + glcount + spfcount + rbl_rejects + pregreet_rejects).",
"type" : "number" "type" : "number"
}, },
"junk_out" : { "junk_out" : {
"description" : "Outgoing junk mail count (viruscount_out + spamcount_out).", "description" : "Outgoing junk mail count (viruscount_out + spamcount_out).",
"type" : "number" "type" : "number"
}, },
"pregreet_rejects" : {
"description" : "PREGREET recject count.",
"type" : "integer"
},
"rbl_rejects" : {
"description" : "Number of RBL rejects.",
"type" : "integer"
},
"spamcount_in" : { "spamcount_in" : {
"description" : "Incoming spam mails.", "description" : "Incoming spam mails.",
"type" : "number" "type" : "number"
@ -13537,8 +13592,16 @@ var pmgapi = [
"description" : "Time index.", "description" : "Time index.",
"type" : "integer" "type" : "integer"
}, },
"pregreet_rejects" : {
"description" : "PREGREET recject count.",
"type" : "integer"
},
"rbl_rejects" : {
"description" : "Number of RBL rejects.",
"type" : "integer"
},
"spamcount_in" : { "spamcount_in" : {
"description" : "Incoming spam mails (spamcount_in + glcount + spfcount).", "description" : "Incoming spam mails (spamcount_in + glcount + spfcount + rbl_rejects + pregreet_rejects).",
"type" : "number" "type" : "number"
}, },
"spamcount_out" : { "spamcount_out" : {
@ -13841,9 +13904,9 @@ var pmgapi = [
{ {
"info" : { "info" : {
"GET" : { "GET" : {
"description" : "Mail RBL Count Statistics.", "description" : "Early SMTP reject count statistic (RBL, PREGREET rejects with postscreen)",
"method" : "GET", "method" : "GET",
"name" : "rblcount", "name" : "rejectcount",
"parameters" : { "parameters" : {
"additionalProperties" : 0, "additionalProperties" : 0,
"properties" : { "properties" : {
@ -13879,7 +13942,7 @@ var pmgapi = [
}, },
"timespan" : { "timespan" : {
"default" : 3600, "default" : 3600,
"description" : "Return RBL rejects/<timespan>, where <timespan> is specified in seconds.", "description" : "Return RBL/PREGREET rejects/<timespan>, where <timespan> is specified in seconds.",
"maximum" : 31622400, "maximum" : 31622400,
"minimum" : 3600, "minimum" : 3600,
"optional" : 1, "optional" : 1,
@ -13906,14 +13969,18 @@ var pmgapi = [
"returns" : { "returns" : {
"items" : { "items" : {
"properties" : { "properties" : {
"count" : {
"description" : "RBL recject count.",
"type" : "number"
},
"index" : { "index" : {
"description" : "Time index.", "description" : "Time index.",
"type" : "integer" "type" : "integer"
}, },
"pregreet_rejects" : {
"description" : "PREGREET recject count.",
"type" : "integer"
},
"rbl_rejects" : {
"description" : "RBL recject count.",
"type" : "integer"
},
"time" : { "time" : {
"description" : "Time (Unix epoch).", "description" : "Time (Unix epoch).",
"type" : "integer" "type" : "integer"
@ -13926,8 +13993,8 @@ var pmgapi = [
} }
}, },
"leaf" : 1, "leaf" : 1,
"path" : "/statistics/rblcount", "path" : "/statistics/rejectcount",
"text" : "rblcount" "text" : "rejectcount"
} }
], ],
"info" : { "info" : {

57
pmgbackup.1-synopsis.adoc Normal file
View File

@ -0,0 +1,57 @@
*pmgbackup* `<COMMAND> [ARGS] [OPTIONS]`
*pmgbackup backup* `[OPTIONS]`
Backup the system configuration.
`--statistic` `<boolean>` ('default =' `1`)::
Backup statistic databases.
*pmgbackup help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgbackup list*
List all stored backups (files named proxmox-backup_{DATE}.tgz).
*pmgbackup restore* `--filename <string>` `[OPTIONS]`
Restore the system configuration.
`--config` `<boolean>` ('default =' `0`)::
Restore system configuration.
`--database` `<boolean>` ('default =' `1`)::
Restore the rule database. This is the default.
`--filename` `pmg-backup_[0-9A-Za-z_-]+\.tgz` ::
The backup file name.
`--statistic` `<boolean>` ('default =' `0`)::
Restore statistic databases. Only considered when you restore the 'database'.

68
pmgcm.1-synopsis.adoc Normal file
View File

@ -0,0 +1,68 @@
*pmgcm* `<COMMAND> [ARGS] [OPTIONS]`
*pmgcm create*
Create initial cluster config with current node as master.
*pmgcm help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgcm join* `<master_ip>` `[OPTIONS]`
Join a new node to an existing cluster.
`<master_ip>`: `<string>` ::
IP address.
`--fingerprint` `^(:?[A-Z0-9][A-Z0-9]:){31}[A-Z0-9][A-Z0-9]$` ::
SSL certificate fingerprint.
*pmgcm join_cmd*
Prints the command for joining an new node to the cluster. You need to
execute the command on the new node.
*pmgcm status* `[OPTIONS]`
Cluster node status.
`--list_single_node` `<boolean>` ('default =' `0`)::
List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case.
*pmgcm sync* `[OPTIONS]`
Synchronize cluster configuration.
`--master_ip` `<string>` ::
Optional IP address for master node.

40
pmgmirror.8-synopsis.adoc Normal file
View File

@ -0,0 +1,40 @@
*pmgmirror* `<COMMAND> [ARGS] [OPTIONS]`
*pmgmirror help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgmirror restart*
Restart the Database Mirror Daemon
*pmgmirror start* `[OPTIONS]`
Start the Database Mirror Daemon
`--debug` `<boolean>` ('default =' `0`)::
Debug mode - stay in foreground
*pmgmirror stop*
Stop the Database Mirror Daemon

65
pmgqm.1-synopsis.adoc Normal file
View File

@ -0,0 +1,65 @@
*pmgqm* `<COMMAND> [ARGS] [OPTIONS]`
*pmgqm help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgqm purge* `[OPTIONS]`
Cleanup Quarantine database. Remove entries older than configured
quarantine lifetime.
`--check` `<boolean>` ('default =' `0`)::
Only search for quarantine files older than configured quarantine lifetime. Just print found files, but do not remove them.
*pmgqm send* `[OPTIONS]`
Generate and send spam report emails.
`--debug` `<boolean>` ('default =' `0`)::
Debug mode. Print raw email to stdout instead of sending them.
`--receiver` `<string>` ::
Generate report for a single email address. If not specified, generate reports for all users.
`--redirect` `<string>` ::
Redirect spam report email to this address.
`--style` `<custom | short | verbose>` ::
Spam report style. Default value is read from spam quarantine configuration.
`--timespan` `<today | week | yesterday>` ('default =' `today`)::
Select time span.
*pmgqm status* `[OPTIONS]`
Print quarantine status (mails per user) for specified time span.
`--timespan` `<today | week | yesterday>` ('default =' `today`)::
Select time span.

24
pmgreport.1-synopsis.adoc Normal file
View File

@ -0,0 +1,24 @@
*pmgreport* `help`
*pmgreport* `[OPTIONS]`
Generate and send daily system report email.
`--auto` `<boolean>` ('default =' `0`)::
Auto mode. Use setting from system configuration (set when invoked fron cron).
`--debug` `<boolean>` ('default =' `0`)::
Debug mode. Print raw email to stdout instead of sending them.
`--receiver` `<string>` ::
Send report to this email address. Default is the administratior email address.
`--timespan` `<today | yesterday>` ('default =' `today`)::
Select time span for included email statistics.
+
NOTE: System and cluster performance data is always from current time (when script is run).

View File

@ -0,0 +1,45 @@
*pmgsubscription* `<COMMAND> [ARGS] [OPTIONS]`
*pmgsubscription get*
Read subscription info.
*pmgsubscription help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgsubscription set* `<key>`
Set subscription key.
`<key>`: `pmg([cbsp])-[0-9a-f]{10}` ::
Proxmox Mail Gateway subscription key
*pmgsubscription update* `[OPTIONS]`
Update subscription info.
`--force` `<boolean>` ('default =' `0`)::
Always connect to server, even if we have up to date info inside local cache.

46
pmgtunnel.8-synopsis.adoc Normal file
View File

@ -0,0 +1,46 @@
*pmgtunnel* `<COMMAND> [ARGS] [OPTIONS]`
*pmgtunnel help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgtunnel restart*
Restart the Cluster Tunnel Daemon
*pmgtunnel start* `[OPTIONS]`
Start the Cluster Tunnel Daemon
`--debug` `<boolean>` ('default =' `0`)::
Debug mode - stay in foreground
*pmgtunnel status*
Print cluster tunnel status.
*pmgtunnel stop*
Stop the Cluster Tunnel Daemon

View File

@ -0,0 +1,10 @@
*pmgupgrade* `help`
*pmgupgrade* `[OPTIONS]`
Upgrade Proxmox Mail Gateway
`--shell` `<boolean>` ('default =' `0`)::
Run an interactive shell after the update.

View File

@ -0,0 +1,10 @@
*pmgversion* `help`
*pmgversion* `[OPTIONS]`
Print version information for Proxmox Mail Gateway packages.
`--verbose` `<boolean>` ('default =' `0`)::
List version details for important packages.