Blacklist recipient after X bounces

ishan

New Member
Nov 12, 2018
13
1
3
36
Hello,
We are using PMG as an outgoing filtering solution.

We want to automatically add a recipient to blacklist if it exceeds X number of bounces.

For example, if a sender within our network is trying to send to a non-existent email address. After 5 bounces, please recipient email address into blacklist.

How can we achieve this ?
 
sorry for the late answer..

One solution I can think of is to use `fail2ban` to scan the logs for users trying to send mail to unknown e-mail addresses and the using `pmgsh` to add them to the appropriate Blacklist object

I hope this helps!
 
  • Like
Reactions: ishan

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!