in order
to get the configuration work in a production environment properly.
changes made without any result: here is my code
my $gi = Geo::IP-open(/usr/share/GeoIP/GeoIP.dat,
GEOIP_STANDARD);
my ($country, $region) =
$gi-region_by_name($RelayAddr
--On Wednesday, April 20, 2011 16:26 +0200 fakessh fake...@fakessh.eu
wrote:
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
environment properly.
changes made without any result: here is my code
my $gi = Geo::IP-open(/usr/share/GeoIP/GeoIP.dat,
GEOIP_STANDARD);
my ($country, $region) = $gi-region_by_name($RelayAddr);
action_add_header(X-Header-Country, $country
environment properly.
changes made without any result: here is my code
my $gi = Geo::IP-open(/usr/share/GeoIP/GeoIP.dat,
GEOIP_STANDARD);
my ($country, $region) = $gi-region_by_name($RelayAddr);
action_add_header(X-Header-Country, $country
in
order
to get the configuration work in a production environment properly.
changes made without any result: here is my code
my $gi =
Geo::IP-open(/usr/share/GeoIP/GeoIP.dat,
GEOIP_STANDARD);
my ($country, $region) =
$gi-region_by_name($RelayAddr
Le mercredi 20 avril 2011 16:52, Joseph Brennan a écrit :
--On Wednesday, April 20, 2011 16:26 +0200 fakessh fake...@fakessh.eu
wrote:
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
Group,
After a lot of logfile analysis and testing, I've recently incorporated the
code below, into filter_relay(), in my mimedefang-filter. It uses a free
perl module calld Geo::IP, available directly from www.maxmind.com (and also
from CPAN).
What Geo::IP does, is map an IP address
Le mercredi 20 avril 2011 13:01, David F. Skoll a écrit :
On Wed, 20 Apr 2011 00:44:47 +0200
fakessh fake...@fakessh.eu wrote:
X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, nolinks)
X-CanIt-Geo: ip=94.23.60.***; country=FR; latitude=**.;
longitude=2.; http://maps.google.com
On Thu, 4 Aug 2005 15:49:28 -0400 , Cormack, Ken wrote
Group,
After a lot of logfile analysis and testing, I've recently
incorporated the code below, into filter_relay(), in my mimedefang-
filter. It uses a free perl module calld Geo::IP, available
directly from www.maxmind.com (and also
hello guru of mimedefang
I just saw that there were other available mimedefang header as X-anti-abuse
on the list it appears
X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, nolinks)
X-CanIt-Geo: ip=94.23.60.***; country=FR; latitude=**.; longitude=2.;
http
On Wed, 20 Apr 2011 00:44:47 +0200
fakessh fake...@fakessh.eu wrote:
X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, nolinks)
X-CanIt-Geo: ip=94.23.60.***; country=FR; latitude=**.;
longitude=2.; http://maps.google.com/maps?q=**.,2.z=6
X-CanItPRO-Stream: nolinks (inherits
are being bitten by Security Encumbered Linux again.
Regards,
David.
No, it was really bizarre. I commented out the code that was using Geo::IP and
ran it once without that... stopped it... uncommented out the code, and ran it
again and it was fine.
Very strange
-archive.com/search?l=mimedefang%40lists.roaringpenguin.comq=geo
Bye,
- --
Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
iQEVAwUBRT8+JegJIbZtwg6XAQLfqgf9FWVxLEAPx0Fnj3JrZ4NK/kLl16aQZ3KA
qREQPeoP+nq4ZBH5OSPWnO6V+cqnjIdSzkdtRG+x2OdtpsFvjRj7yhXHEd/Y43GO
LIu
Ok, I need to figure out if I'm hallucinating or just plain stupid.
I supposedly have all the dependencies in place (though with Perl it's
sometimes hard to be positive).
In mimedefang-filter I'm only explicitly using Geo::IP.
Anyway, with 2.73-BETA1 on Centos6, I get:
% tail -n4 /var/log
(pass:0), DKIM(none:0),
RBL(rp-good:-0.1), remote=66.210.32.133, cc=US, city=Destin,
trained=none, os=Linux 3.1-3.10, link=Ethernet or modem, s=
X-CanIt-Geo: ip=66.210.32.133; country=US; region=Florida; city=Destin;
latitude=30.3981; longitude=-86.4563;
http://maps.google.com/maps?q=30.3981
, trained=none, os=Linux
2.2.x-3.x, link=Google, s=
X-CanIt-Geo: ip=209.85.213.180; country=US; region=California;
city=Mountain View; latitude=37.4192; longitude=-122.0574;
http://maps.google.com/maps?q=37.4192,-122.0574z=6
X-CanItPRO-Stream: nolinks (inherits from default)
X-Canit-Stats-ID
16 matches
Mail list logo