This function lists the ports on which Exim listens.
uapi --output=jsonpretty \ --user=username \ Chkservd \ get_exim_ports
{- "apiversion": 3,
- "func": "get_exim_ports",
- "module": "Chkservd",
- "result": {
- "data": {
- "ports": [
- 25
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}