Spamassassin relay country & Can't locate loadable object for module Geo::IP
Helo:
Executed:
Then, Geo::IP updated to version 1.50.... bug fixed, but not really, as:
So.... as you may see, 3rdparty perl module from cpanel is not updated. Spamassassin is using bugged perl GEO::IP outdated version yet. Is there a way to update correctly the perl GEO::IP module from cpanel's perl???? If trying installing GEO::IP module from WHM, the perl installer does say:
what's wrong? Thanks.
/scripts/perlinstaller Geo::IP
Then, Geo::IP updated to version 1.50.... bug fixed, but not really, as:
root@server [/etc/mail/spamassassin]# find /usr/ -type f -name "IP.pm" | grep -i Geo | xargs grep "VERSION ="
/usr/local/csf/lib/Geo/IP.pm: $VERSION = '1.45';
/usr/local/share/perl5/Geo/IP.pm: $VERSION = '1.50';
/usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Geo/IP.pm: $VERSION = '1.45';
So.... as you may see, 3rdparty perl module from cpanel is not updated. Spamassassin is using bugged perl GEO::IP outdated version yet. Is there a way to update correctly the perl GEO::IP module from cpanel's perl???? If trying installing GEO::IP module from WHM, the perl installer does say:
Source: fastest CPAN mirror ... Geo::IP is up to date. (1.50)
what's wrong? Thanks.
-
FWIW, I noticed that the relay country plugin was not flagging bad countries in the mail headers. Having looked at /etc/mail/spamassassin/init.pre the line: loadplugin Mail::SpamAssassin::Plugin::RelayCountry was commented out, does the init.pre file get modified during updates? I enabled it again and restarted spamd. I'm having deja-vu as this issue has reappeared again: Can't locate loadable object for module Geo::IP in @INC (@INC contains: /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/5.22.1/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/5.22.1 /opt/cpanel/perl5/522/site_lib/x86_64-linux-64int /opt/cpanel/perl5/522/site_lib) at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Geo/IP.pm line 42. Thing is, how is the Use of uninitialized value $hasStructureInfo in numeric eq (==) at (eval 27) line 5520 line within IP.pm throwing an error in the maillog if the IP.pm file cannot be found in the first place? Confused by this. Just to add as an edit to this post. The 'RELAYCOUNTRY_BAD' rule we have set is triggering as the header is in the received email, as such the file is loading regardless of the above "Can't locate loadable object for module Geo::IP" error. 0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments