Koozali.org: home of the SME Server

Spamassassin & Maillog

Offline smeghead

  • *
  • 557
  • +0/-0
Spamassassin & Maillog
« on: March 13, 2006, 12:03:19 PM »
G'day all

In trawling through mine & several clients server logs I found a lot of noise caused by Spamassassin looking for modules it couldn't find and logging these errors in the maillog, firstly this:

Can't locate Mail/SPF/Query.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 272, <GEN42> line 81.

and then once this was fixed this:

Can't locate Net/CIDR/Lite.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.6.1/Mail/SPF/Query.pm line 83, <GEN72> line 54.

I have collected the rpms that correct the errors & written an install script if anyone would like to test them out for me before being released into the wild; post on this thread and I will email them to you.  Please be sure to post back success or failure or with any issues.

Cheers
..................

Offline idyll

  • ***
  • 113
  • +0/-0
count me in
« Reply #1 on: March 15, 2006, 03:03:08 PM »
I have located the same errors on my system.

I would love to test the script which cleans up this noise.

thanks

regards,
...

Offline smeghead

  • *
  • 557
  • +0/-0
Spamassassin & Maillog
« Reply #2 on: March 15, 2006, 08:03:09 PM »
.. on way
..................

Offline idyll

  • ***
  • 113
  • +0/-0
sorry for the delay
« Reply #3 on: March 17, 2006, 06:16:54 PM »
One of my RAID drives ate it, and I ahve been stumbling around in the dark deailing with the insertion of a new drive, etc.

We are mostly all better now.

The contrib....loaded without incident. I noted this in my maillog this morning...

Mar 17 06:50:03 galadriel spamd[1881]: Can't locate object method "new" via package "Net::CIDR::Lite" (perhaps you forgot to load "Net::CIDR::Lite"?) at /usr/lib/perl5/vendor_perl/5.6.1/Mail/SPF/Query.pm line 1503, <GEN172> line 38.

?

regards,

patrick
...

Offline smeghead

  • *
  • 557
  • +0/-0
Spamassassin & Maillog
« Reply #4 on: March 17, 2006, 08:04:24 PM »
Hmm, I am using a heavily modified & updated 6.04 Mitel build of SME and it looks like some of the file locations are just different enough to be a prob; the file your error talks about as being in vendor_perl is in site_perl on my box :-(

I will have a play on a 6.0.1 box and see what I find.

Cheers
..................

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Spamassassin & Maillog
« Reply #5 on: April 30, 2006, 03:03:03 AM »
Any news here?
I just noticed the same problem on my box.

Thanks

Offline kruhm

  • *
  • 680
  • +0/-0
Spamassassin & Maillog
« Reply #6 on: April 30, 2006, 08:20:19 AM »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Spamassassin & Maillog
« Reply #7 on: April 30, 2006, 07:02:34 PM »
Quote from: "smeghead"

I have collected the rpms that correct the errors & written an install script if anyone would like to test them out for me before being released into the wild; post on this thread and I will email them to you.


The core problem here is that there were missing dependencies. You should open a bug in the Bug Tracker, and let the developer of that contrib know that they should be listing some dependencies in the spec file of the RPM or RPMs.