Help Entry Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
Example Values 1
No
Action: restartOnNode (Added in version 4.3.0-290)
Restarts the service on a specific node (Clustering only).
Input Parameters
Name
Type
Notes
Required?
node_id
string
No*
* indicates that it's actually required, but probably already has a valid default value
Action: start (Added in version 4.2.0-260)
Starts the service.
Input Parameters
Name
Type
Notes
Required?
cascade_to_nodes
integer
Help Entry Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
Example Values 1
No
Action: startOnNode (Added in version 4.3.0-290)
Starts the service on a specific node (Clustering only).
Input Parameters
Name
Type
Notes
Required?
node_id
string
No*
* indicates that it's actually required, but probably already has a valid default value
Action: stop (Added in version 4.2.0-260)
Stops the service.
Input Parameters
Name
Type
Notes
Required?
cascade_to_nodes
integer
Help Entry Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
Example Values 1
No
Action: stopOnNode (Added in version 4.3.0-290)
Stops the service on a specific node (Clustering only).
Input Parameters
Name
Type
Notes
Required?
node_id
string
No*
* indicates that it's actually required, but probably already has a valid default value
Action: update (Added in version 4.2.0-260)
Change the auth settings for the primary SMTP server.
Input Parameters
Name
Type
Notes
Required?
auth_mode
string
Example Values auth_no/tls_no, auth_no/tls_optional, auth_optional/tls_no, auth_withtls/tls_optional, auth_optional/tls_optional
Example Default Value auth_optional/tls_optional
No*
cascade_to_nodes
integer
Help Entry Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
Example Values 1
No
* indicates that it's actually required, but probably already has a valid default value
Action: updateInbound (Added in version 4.2.0-260)
Update misc inbound mail server settings.
Input Parameters
Name
Type
Notes
Required?
smtp_greeting
string
Help Entry The SMTP greeting shown to mail servers when they connect to the SMTP daemon on this server.
Example Default Value InterWorx-CP SMTP Server
No*
concurrency_incoming
integer
Help Entry The total number of inbound remote connections allowed simultaenously.
Example Default Value 20
No*
timeout_smtpd
integer
Description In Seconds
Help Entry The max seconds to wait for communication for inbound SMTP connections.
Example Default Value 1200
No*
databytes
integer
Description MB, (0 is Unlimited)
Help Entry Maximum filesize (in megabytes) allowed for incoming messages
Example Default Value 20
No*
mta_level_outgoing_email_address_blacklist
struct (string)
No
mta_level_email_address_blacklist
struct (string)
Help Entry The MTA level blacklist allows you to blacklist e-mail addresses at a very low level so they are denied before further processing takes place.
Example Default Value [".*\ @.*","!.*@.*\..*",".*%.*"]
No
realtime_sbl_blacklists
struct (string)
Example Default Value ["bl.spamcop.net"]
No
cascade_to_nodes
integer
Help Entry Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
Example Values 1
No
* indicates that it's actually required, but probably already has a valid default value
Controller: MailSmtp
Action: isRunning (Added in version 4.2.0-260)
Checks if the service is running or not.
Example Output
Action: isRunningOnNode (Added in version 4.3.0-290)
Checks if the service is running on a specific node (Clustering only).
Input Parameters
Action: listGeneralName (Added in version 4.2.0-260)
Lists the "normal" name - ie "web server" instead of "httpd".
Example Output
Action: listPortNumbers (Added in version 4.2.0-260)
Lists a string of the port numbers that this service uses, comma-seperated.
Example Output
Action: listPortNumbersArray (Added in version 4.2.0-260)
Lists array of port numbers and ranges that this service uses.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => 25, ), )Action: listRequiredPermissions (Added in version 4.2.0-260)
Lists an array of permissions required to control the service.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => 'EMAIL', ), )Action: listServiceInfo (Added in version 4.2.0-260)
Lists the service name, ports, page, and status.
Example Output
array ( 'status' => 0, 'payload' => array ( 'id' => 'smtp', 'name' => '##LG_SMTPSERVER##', 'ports' => '25', 'page' => '/nodeworx/mail/mta', 'ctrl' => '/nodeworx/mail/smtp', 'is_running' => 1, ), )Action: listServiceName (Added in version 4.2.0-260)
Lists the service name - ie "httpd" instead of "web server".
Example Output
Action: listServicePage (Added in version 4.2.0-260)
Lists the page that controls the service.
Example Output
Action: restart (Added in version 4.2.0-260)
Restarts the service.
Input Parameters
Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
1
Action: restartOnNode (Added in version 4.3.0-290)
Restarts the service on a specific node (Clustering only).
Input Parameters
Action: start (Added in version 4.2.0-260)
Starts the service.
Input Parameters
Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
1
Action: startOnNode (Added in version 4.3.0-290)
Starts the service on a specific node (Clustering only).
Input Parameters
Action: stop (Added in version 4.2.0-260)
Stops the service.
Input Parameters
Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
1
Action: stopOnNode (Added in version 4.3.0-290)
Stops the service on a specific node (Clustering only).
Input Parameters
Action: update (Added in version 4.2.0-260)
Change the auth settings for the primary SMTP server.
Input Parameters
auth_no/tls_no, auth_no/tls_optional, auth_optional/tls_no, auth_withtls/tls_optional, auth_optional/tls_optional
auth_optional/tls_optional
Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
1
Action: updateInbound (Added in version 4.2.0-260)
Update misc inbound mail server settings.
Input Parameters
The SMTP greeting shown to mail servers when they connect to the SMTP daemon on this server.
InterWorx-CP SMTP Server
The total number of inbound remote connections allowed simultaenously.
20
In Seconds
The max seconds to wait for communication for inbound SMTP connections.
1200
MB, (0 is Unlimited)
Maximum filesize (in megabytes) allowed for incoming messages
20
The MTA level blacklist allows you to blacklist e-mail addresses at a very low level so they are denied before further processing takes place.
[".*\ @.*","!.*@.*\..*",".*%.*"]
["bl.spamcop.net"]
Selecting this option causes the action to be replayed on all nodes of the cluster automatically, as if you had logged in to each node manually
1