Is there any free software for Smap/bot prevent?

is there any free software for Smap/bot detection?

For mail or for server?

For Server.