Blacklist recipient after X bounces

ishan

Active Member
Nov 12, 2018
13
1
43
37
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