How to get Outgoing Mail Control statistic via CLI?
Outgoing Mail Control statistic can be fetched only for all domains in JSON. It can not be fetched per mailbox or domain.
Execute the following command to get Outgoing Mail Control statistic for last hour:
# plesk sbin mailmng-outgoing –pretty-print –fetch-statistics –with-limits –time-step=’hour’
For more information execute the 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.