• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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