On Thu, 14 Feb 2013 13:26:33 +0100, Benny Pedersen wrote: > Steve Freegard skrev den 2013-02-12 21:19: > >> header RELAY_NOT_US X-Relay-Countries =~ /\b(?!US)[A-Z]{2}\b/ > > and what date is the database from ?, ip2cc ipv4-addr, to show it when > its build, to update it either use the new relay_country plugin or > update ip2cc database, if its over 6 mounts its time for a change
The former option wasn't really available for me, so I followed the notes at http://wiki.apache.org/spamassassin/RelayCountryPlugin as suggested by Jeff Mincy. First I installed IP::Country::Fast, and noted that the database was from July 2009. So I downloaded the two files from http://mailfud.org/ip-country-fast/ as mentioned in the wiki article. Better: June 2012. Finally I built them myself using the RIPE downloads, again as suggested in the wiki article. $ ip2cc 213.174.72.92 IP::Country modules (v2.27) Copyright (c) 2002-05 Nigel Wetters Gourlay Database updated Fri Feb 15 18:04:48 2013 Address: 213.174.72.92 Country: DK (Denmark) $ So I have up-to-date ip.gif and cc.gif. If anyone wants them, post here and I'll put them on an ftp site somewhere.