libantispam is a library of functions for fighting spam. It supports whitenet, whitelist, greynet, greylist, callback.