• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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