hello list
hello all "the" guru

it's my first post
I present to you a problem that I can not solve this alone deals mimedefang 
and perl

I am currently facing this code in mimedefang

 $gi = Geo::IP->new(GEOIP_STANDARD);                
$country = $gi->country_code_by_name($Helo);
action_add_header("X-Header-Country", "$country");

then I get the good result
after i test this

gi = Geo::IP->new(GEOIP_STANDARD);
$gi = Geo::IP->open("/usr/share/GeoIP/GeoIP.dat",GEOIP_STANDARD):
($country, $region) = $gi->region_by_name($Helo);
action_add_header("X-Header-Country", "$country");
action_add_header("X-Header-Region", "$region");

the result does not appear so in this case

any ideas ?


-- 
 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7
 gpg --keyserver pgp.mit.edu --recv-key 092164A7

Attachment: pgpB9akDUD6ax.pgp
Description: PGP signature

Reply via email to