diff --git a/api-viewer/apidata.js b/api-viewer/apidata.js index f67d189..e66f13d 100644 --- a/api-viewer/apidata.js +++ b/api-viewer/apidata.js @@ -1124,8 +1124,8 @@ var pmgapi = [ "value" : { "description" : "The Value", "maxLength" : 1024, - "pattern" : "[0-9a-zA-Z\\/\\\\[\\]\\+\\-\\.\\*\\_]+", - "type" : "string" + "type" : "string", + "typetext" : "" } } }, @@ -1176,8 +1176,8 @@ var pmgapi = [ "value" : { "description" : "The Value", "maxLength" : 1024, - "pattern" : "[0-9a-zA-Z\\/\\\\[\\]\\+\\-\\.\\*\\_]+", - "type" : "string" + "type" : "string", + "typetext" : "" } } }, @@ -2012,8 +2012,8 @@ var pmgapi = [ "value" : { "description" : "The Value", "maxLength" : 1024, - "pattern" : "[0-9a-zA-Z\\/\\\\[\\]\\+\\-\\.\\*\\_]+", - "type" : "string" + "type" : "string", + "typetext" : "" } } }, @@ -2051,8 +2051,8 @@ var pmgapi = [ "value" : { "description" : "The Value", "maxLength" : 1024, - "pattern" : "[0-9a-zA-Z\\/\\\\[\\]\\+\\-\\.\\*\\_]+", - "type" : "string" + "type" : "string", + "typetext" : "" } } }, @@ -4136,6 +4136,11 @@ var pmgapi = [ "parameters" : { "additionalProperties" : 0 }, + "permissions" : { + "check" : [ + "admin" + ] + }, "protected" : 1, "returns" : { "type" : "null" @@ -4986,7 +4991,8 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "audit" ] }, "proxyto" : "master", @@ -5200,7 +5206,8 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "audit" ] }, "protected" : 1, @@ -5244,7 +5251,8 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "audit" ] }, "protected" : 1, @@ -5304,7 +5312,8 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "audit" ] }, "protected" : 1, @@ -5351,7 +5360,8 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "audit" ] }, "protected" : 1, @@ -5462,7 +5472,8 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "audit" ] }, "proxyto" : "master", @@ -7279,7 +7290,7 @@ var pmgapi = [ "typetext" : " (0 - N)" }, "ext_port" : { - "default" : 26, + "default" : 25, "description" : "SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'.", "maximum" : 65535, "minimum" : 1, @@ -7309,7 +7320,7 @@ var pmgapi = [ "typetext" : "" }, "int_port" : { - "default" : 25, + "default" : 26, "description" : "SMTP port number for outgoing mail (trusted).", "maximum" : 65535, "minimum" : 1, @@ -11232,6 +11243,13 @@ var pmgapi = [ } } }, + "permissions" : { + "check" : [ + "admin", + "qmanager", + "audit" + ] + }, "protected" : 1, "proxyto" : "master", "returns" : { @@ -11360,7 +11378,9 @@ var pmgapi = [ }, "permissions" : { "check" : [ - "admin" + "admin", + "qmanager", + "audit" ] }, "protected" : 1, @@ -11394,7 +11414,7 @@ var pmgapi = [ } }, "POST" : { - "description" : "Creat new user", + "description" : "Create new user", "method" : "POST", "name" : "create", "parameters" : { diff --git a/pmg.conf.5-opts.adoc b/pmg.conf.5-opts.adoc index 71a6338..aad109f 100644 --- a/pmg.conf.5-opts.adoc +++ b/pmg.conf.5-opts.adoc @@ -80,7 +80,7 @@ Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites paramet SMTP delay warning time (in hours). -`ext_port`: ` (1 - 65535)` ('default =' `26`):: +`ext_port`: ` (1 - 65535)` ('default =' `25`):: SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'. @@ -96,7 +96,7 @@ Use SMTP HELO tests. Hide received header in outgoing mails. -`int_port`: ` (1 - 65535)` ('default =' `25`):: +`int_port`: ` (1 - 65535)` ('default =' `26`):: SMTP port number for outgoing mail (trusted). diff --git a/pmg.mail-ports-conf-opts.adoc b/pmg.mail-ports-conf-opts.adoc index 14f8860..8971fc4 100644 --- a/pmg.mail-ports-conf-opts.adoc +++ b/pmg.mail-ports-conf-opts.adoc @@ -1,8 +1,8 @@ -`ext_port`: ` (1 - 65535)` ('default =' `26`):: +`ext_port`: ` (1 - 65535)` ('default =' `25`):: SMTP port number for incoming mail (untrusted). This must be a different number than 'int_port'. -`int_port`: ` (1 - 65535)` ('default =' `25`):: +`int_port`: ` (1 - 65535)` ('default =' `26`):: SMTP port number for outgoing mail (trusted). diff --git a/pmgcm.1-synopsis.adoc b/pmgcm.1-synopsis.adoc index 492fe45..3e748a0 100644 --- a/pmgcm.1-synopsis.adoc +++ b/pmgcm.1-synopsis.adoc @@ -7,6 +7,17 @@ Create initial cluster config with current node as master. +*pmgcm delete* `` + +Remove a node from the cluster. + +``: ` (1 - N)` :: + +Cluster Node ID. + + + + *pmgcm help* `[]` `[OPTIONS]` Get help about specified command. @@ -43,6 +54,12 @@ execute the command on the new node. +*pmgcm promote* + +Promote current node to become the new master. + + + *pmgcm status* `[OPTIONS]`