Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Spamassassin relay country & Can't locate loadable object for module Geo::IP

Comments

2 comments

  • bloatedstoat
    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
  • cPanelMichael
    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.