Plesk

How to retrieve Outgoing Mail Control statistics data via command line?

Question

How to get Outgoing Mail Control statistics data via CLI?

Answer

Outgoing Mail Control statistics data can only be fetched for all domains at once in JSON. It can not be fetched on per-mailbox or per-domain basis.

  1. Log to the server via SSH

  2. Execute the following command to get Outgoing Mail Control statistics for last hour:

    # plesk sbin mailmng-outgoing --pretty-print --fetch-statistics --with-limits --time-step='hour'

To get more information about the utility, execute the following command:

# plesk sbin mailmng-outgoing --help

Note: The utility is intended to be used by Plesk externally. So output format, as well as any other options, are subject to change without any further notifications. You should use the utility at your own risk.

Additional information

How to find the source of exceeding Outgoing Mail Control limits via Plesk

Exit mobile version