https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7687

            Bug ID: 7687
           Summary: Mail::SpamAssassin::Plugin::URILocalBL require Geo::IP
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Plugin Mail::SpamAssassin::Plugin::URILocalBL require Geo::IP even if 
GeoIP2::Database::Reader is installed and working.

If GeoIP2::Database::Reader is installed and Geo::IP is not installed plugin
fails with:

Bareword "GEOIP_MEMORY_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 465.
Bareword "GEOIP_CHECK_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 465.
Bareword "GEOIP_ISP_EDITION" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 466.
Bareword "GEOIP_MEMORY_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 466.
Bareword "GEOIP_CHECK_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 466.
Bareword "GEOIP_MEMORY_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 470.
Bareword "GEOIP_CHECK_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 470.
Bareword "GEOIP_ISP_EDITION" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 471.
Bareword "GEOIP_MEMORY_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 471.
Bareword "GEOIP_CHECK_CACHE" not allowed while "strict subs" in use at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line 471.
Execution of
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm aborted due
to compilation errors.

I don't know if this is a bug or not, maybe Geo::IP is still required anyhow.
But it cause a little confusion.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to