Am 2019-08-25 17:34, schrieb Giovanni Bechis:

sorry, it's a tool I wrote to check ip addresses using ipcc.db databases.
https://github.com/bigio/pgeoiplookup


https://cwiki.apache.org/confluence/display/spamassassin/RelayCountryPlugin

I've downloaded a db_file to an optional directory and set the variable "country_db_path" in /etc/spamassassin/local.cf (country_db_path /opt/ipcc/ipcc.db). spamassassin --lint displays no errors. If that works I can configure a cronjob for downloading the db file once a week.

But I've a problem with your scipt.

./pgeoiplookup.pl -f /opt/ipcc/ipcc.db 45.141.151.5
Can't locate IP/Country/DB_File.pm in @INC (you may need to install the IP::Country::DB_File module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./pgeoiplookup.pl line 34.

Maybe I have tomatoes on my eyes. I can't find the right debian package with the DB_File-Module. Do you or someone else know which package does contain the module? I don't use the cpan shell for installing modules.


Reply via email to