How to limit number of sending email / hour on pmg ?


Sep 8, 2020

is there any way to limit pmg send emails /hour , ex : 500 emails / hour, to mitigate if one of email account has been compromised and send spam email to anywhere.
it's happening twice on my pmg, the last happening this morning , there's one email account has been compromised and it already sent 7,700 emails spam.

maybe if i can set limit number of email / hour that pmg can send , it's give me more time to handle this compromised account before they sending more a lot of mails.

Please advice .

I use this to at least limit the rate of delivery to 1 message per second, rather than full speed ahead. Not quite what you want but helps to mitigate hacked accounts sending spam with minimal side effects. That's a maximum of 3600 per hour total deliveries, so one every 5 seconds would be close to what you want.

default_destination_rate_delay = 1
default_destination_recipient_limit = 2


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!