Quarantine info in receiver stats?

Sep 17, 2020
315
20
38
Is there a way to get the amount of messages quarantined as well from this:
pmgsh get /statistics/receiver

I did check docs and didn't see it, and I believe if you're trying to show what we have prevented with PMG, quarantine is important data.
 
No this is currently not tracked - additionally the 'spamcount' from the statistics is counting mails which score 5 or above in SpamAssassin - so if you quarantine mails with less than a score of 5 you won't get the information in the statistics.

However you can check the Tracking Center to see how many mails were put in quarantine. (for the number of days you have your mail.logs in /var/log/syslog.*)

I hope this helps!
 
Thanks for the response!
I did a check of " to spam quarantine" from /var/log/syslog and the number is close to the amount reported from "pmgsh get /statistics/receiver" .
This does however mean that this is not counting rejects from RBL's or anything else?

My goal would be to show how many messages/viruses are blocked ( from all methods) giving a more realistic view of how much is being blocked and also making MGW look better and more justifiable. RBL's and other methods such as blacklists will account for a good amount of blocked messages not reflected here.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!