I kow fail2ban can monitor log files and act if certains limits are exceeded, so it bans attacking IP,s. All controled via jail, action and filter files.
Then I wonder if we can create a jail record, that could stop outgoing mails. Fail2ban could waths mailing log, and if the number of outgoing messages in a time is greater than X, it stop the sending.
That's the idea, is it possible?
Thanks
Then I wonder if we can create a jail record, that could stop outgoing mails. Fail2ban could waths mailing log, and if the number of outgoing messages in a time is greater than X, it stop the sending.
That's the idea, is it possible?
Thanks