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!