• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question How to get a list of domains and their mail outputs?

tkalfaoglu

Silver Pleskian
I would like to get a list of how much outbound mail (in bytes for example) per domain right now.
For example,

abc.com 363733
xyz.com 28282
etc

Is there an SQL query or some plesk report that would provide something like that?
Many thanks, -turgut
 
You can use following SQL query for period from 10 May to 20 May, for example:

select domains.name, (sum(DomainsTraffic.smtp_out))/1024/1024 as "Out SMTP,MB", (sum(DomainsTraffic.pop3_imap_out))/1024/1024 as "Out IMAP/POP3,MB" from domains, DomainsTraffic where id=dom_id AND date>='2020-05-10' AND date<='2020-05-20' GROUP BY dom_id;

Results in Mb.
 
Back
Top