Articles in this section

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

kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux

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 internally. 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

Was this article helpful?

Comments

1 comment
Date Votes
  • The output in JSON format is far from friendly. I am looking for a way to use a remote command to monitor my entire fleet of Plesk servers and check what mail users already reached their hourly limit. Is that possible?

    Thank!

    0

Please sign in to leave a comment.