Where do you get your spammer IPs from? Most of the time, the IP are spoofed, so there is no point in banning them. You could block them temporarly, but if someone spoofs his IP with the same IP as the one used by universities for instance, then you would end up blocking legit access to your website.