Return outgoing (SMTP) mail port

This function lists the ports on which Exim listens.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Chkservd/get_exim_ports
Request samples
uapi --output=jsonpretty \
  --user=username \
  Chkservd \
  get_exim_ports
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_exim_ports",
  • "module": "Chkservd",
  • "result": {
    • "data": {
      • "ports": [
        • 25
        ]
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}