This is still one of the first results in Google so thought I'd answer even though it is an old post.
I did a spawned filter for GeoIP of email servers a bit ago. Code is on github if anyone wants it.
https://github.com/malacusp/policyd-geoip