Block and notify massive email sendings

jlazkano

New Member
Jul 6, 2024
1
0
1
Hello,

Our antivirus console uses PMG to send emails. Sometimes, the antivirus console sends lots of emails (more than 1000 per minute) and the PMG gets overwhelmed and stops working, affecting other services that want to send emails.

Is there a way to configure a threshold to block emails from a specific source and notify the administrators?

Regards.
 
Our antivirus console uses PMG to send emails. Sometimes, the antivirus console sends lots of emails (more than 1000 per minute) and the PMG gets overwhelmed and stops working, affecting other services that want to send emails.
please share the logs of such a wave - then we might be able to see where the mails get held back

Is there a way to configure a threshold to block emails from a specific source and notify the administrators?
You can set a limit of mails per time from a particular client:
https://www.postfix.org/postconf.5.html#smtpd_client_connection_count_limit
see section 4.7.4 at https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_mail_proxy_configuration

I hope this helps!
 

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!