Koozali.org: home of the SME Server

Obsolete Releases => SME 6.x Contribs => Topic started by: smeghead on March 13, 2006, 12:03:19 PM

Title: Spamassassin & Maillog
Post by: smeghead 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
Title: count me in
Post by: idyll 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,
Title: Spamassassin & Maillog
Post by: smeghead on March 15, 2006, 08:03:09 PM
.. on way
Title: sorry for the delay
Post by: idyll 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
Title: Spamassassin & Maillog
Post by: smeghead 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
Title: Spamassassin & Maillog
Post by: Franco on April 30, 2006, 03:03:03 AM
Any news here?
I just noticed the same problem on my box.

Thanks
Title: Spamassassin & Maillog
Post by: kruhm on April 30, 2006, 08:20:19 AM
http://forums.contribs.org/index.php?topic=29687.0
Title: Re: Spamassassin & Maillog
Post by: CharlieBrady 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.