I'm currently using iptables to block access to known ip ranges used by spam servers (specifically Ubiquity servers). My concern is that over time I know that ip ranges can change hands and I don't want the possibility of ever blocking legitimate users.
Rather than just drop the connection via -j DROP is it possible to direct that IP range to a single webpage that would say something like "We think you're a spammer. If you're not please email us"? Can this be done via iptables? Or do I need to use htaccess for this?