Failed Authentication attack

I see in the SMTP log constantly failing authentications from random IPs. Can an IP be automatically banned after few failed authentications?
I am using Axigen on Windows.
Thanks

Not from within Axigen. On Linux, you can use fail2ban, not sure if it’s been ported to Windows too.
Another alternative would be a monitoring tool, that’s capable of adding rules to windows firewall or any other firewall you use.

I found the one called RdpGuard I will give it a try or perhaps I will write something myself. I would have expected though that this is a part of the email server. This has been a problem for many years now. I remember having to deal with that perhaps 20 years ago when I was using the Microsoft SMTP Server.