Le mercredi 20 avril 2011 13:01, David F. Skoll a écrit :
> On Wed, 20 Apr 2011 00:44:47 +0200
>
> fakessh <[email protected]> wrote:
> > X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, nolinks)
> > X-CanIt-Geo: ip=94.23.60.***; country=FR; latitude=**.0000;
> > longitude=2.0000; http://maps.google.com/maps?q=**.0000,2.0000&z=6
> > X-CanItPRO-Stream: nolinks (inherits from default)
> > X-Canit-Stats-ID: 0****b33C - 3aaf****718c - 20110418
> > X-CanIt-Archived-As: base/201****8/C / 01****3C
>
> Those headers are all added by our commercial CanIt software.
>
> http://roaringpenguin.com/products
>
> Regards,
>
> David.


i wrote a minimal perl script without succes

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

can you tell me how to make it work. headers are added but empty



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

Attachment: pgp8cYPPM4PuI.pgp
Description: PGP signature

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to