#1  
Old 1st September 2008, 12:22
Last_resort_33 Last_resort_33 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Spamassassin Issue

I note that this was brought up a few months ago, but never resolved, I thought it better to create a new thread than commit necromancy.

I am using Sendmail and MailScanner on Centos4.

Essentially spamassassin is running (spamd is running when I type service --status-all) but it is not doing anything, it is not even changing the headers.

when I try to do anything (eg spamassassin -D < /foo/bar.msg) I get
Code:
[10066] warn: plugin: failed to parse plugin (from @INC): Bareword "Mail::SpamAssassin::Constants::CHARSETS_LIKELY_TO_FP_AS_CAPS" not allowed while "strict subs" in use at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/HeaderEval.pm line 968.
[10066] warn: Compilation failed in require at (eval 85) line 1.
[10066] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::HeaderEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::HeaderEval" at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/HeaderEval.pm line 39.
[10066] warn: plugin: failed to parse plugin (from @INC): "CHARSETS_LIKELY_TO_FP_AS_CAPS" is not exported by the Mail::SpamAssassin::Constants module
[10066] warn: Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22
[10066] warn: BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
[10066] warn: Compilation failed in require at (eval 87) line 1.
[10066] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::MIMEEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::MIMEEval" at (eval 88) line 1.
[10066] warn: config: configuration file "/usr/share/spamassassin/20_dynrdns.cf" requires version 3.002005 of SpamAssassin, but this is code version 3.001009. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 345.
[10066] warn: config: configuration file "/usr/share/spamassassin/72_active.cf" requires version 3.002005 of SpamAssassin, but this is code version 3.001009. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 345.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 446) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 446) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 446) line 7.
[10066] warn: syntax error at (eval 446) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 447) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 447) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 447) line 7.
[10066] warn: syntax error at (eval 447) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 448) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 448) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 448) line 7.
[10066] warn: syntax error at (eval 448) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 449) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 449) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 449) line 7.
[10066] warn: syntax error at (eval 449) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 450) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 450) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 450) line 7.
[10066] warn: syntax error at (eval 450) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 451) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 451) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 451) line 7.
[10066] warn: syntax error at (eval 451) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 452) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 452) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 452) line 7.
[10066] warn: syntax error at (eval 452) line 11, near ";
[10066] warn: }"
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[10066] warn: Number found where operator expected at (eval 453) line 10, near "}
[10066] warn:
[10066] warn:  1"
[10066] warn:  (Missing operator before
[10066] warn:
[10066] warn:  1?)
[10066] warn: rules: failed to run header tests, skipping some: syntax error at (eval 453) line 6, at EOF
[10066] warn: Global symbol "$plugin" requires explicit package name at (eval 453) line 7.
[10066] warn: syntax error at (eval 453) line 11, near ";
[10066] warn: }"
[10066] warn: lint: 10 issues detected, please rerun with debug enabled for more information
Any Ideas?
Reply With Quote
Sponsored Links
  #2  
Old 1st September 2008, 19:46
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

i'd uninstall and then install with the latest version of SA
Reply With Quote
  #3  
Old 2nd September 2008, 12:08
Last_resort_33 Last_resort_33 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How does one go about uninstalling SA?
Reply With Quote
  #4  
Old 2nd September 2008, 12:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
Default

You can use the Perl shell:
Code:
perl -MCPAN -e shell
Then run
Code:
install Mail::SpamAssassin
on the Perl shell. This will automatically update SpamAssassin to the latest version. Afterwards, type
Code:
q
to leave the Perl shell.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd September 2008, 14:22
Last_resort_33 Last_resort_33 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm...I did that and it appear to have achieved anything. I still get that message if I do anything like Any other suggestions?
Reply With Quote
  #6  
Old 3rd September 2008, 00:51
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by Last_resort_33 View Post
How does one go about uninstalling SA?
try from your command prompt:
rpm -q spamassassin

then take the answer and use it for:
rpm -e "xxx"
Reply With Quote
  #7  
Old 3rd September 2008, 14:14
Last_resort_33 Last_resort_33 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that's fine, then I reinstalled spamassassin 3.2.5 using make. now if I run
Code:
[root@bor /]# spamassassin -D < /home/temp/test.msg
then it gives (what looks to me like) a healthy response

but it is not running

I try "service spamd start" and "service spamassassin start" and both come back saying unrecognised service.

not to be beaten I run "spamd -d" in an attempt to kick start it. It is not shown as running as a service still and it is still not putting anything in the headers of any emails.

Thanks for your help so far.... got any more?
Reply With Quote
  #8  
Old 4th September 2008, 15:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
Default

By uninstalling the rpm package, you've also removed the init script from /etc/init.d (compiling SpamAssasson does not create a new init script). You can try to write a simple init script yourself or google for a sample init script.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 4th September 2008, 21:06
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
 
Default

Quote:
Originally Posted by Last_resort_33 View Post
[...]
not to be beaten I run "spamd -d" in an attempt to kick start it. It is not shown as running as a service still and it is still not putting anything in the headers of any emails.

Thanks for your help so far.... got any more?
not getting any changes in the email makes sense if your email system is not setup to send the email through the spamd process.

if " spamd -d " doesn't give an error message, it should be running as a process. try the command "ps ax | grep spam" after you run "spamd -d" and post the output.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig 2.2.21 Load Averange Very High mmiyamoto General 3 6th March 2008 13:13
I have SpamAssassin installed/working, if I install ISPConfig now will this break it? AlyK Installation/Configuration 1 3rd January 2008 11:04
Question on Clamscan and SpamAssassin AZMel Installation/Configuration 3 11th January 2007 19:56
Mail issue with Postfix + Amavis + Spamassassin mhxy594 Server Operation 3 21st August 2006 06:50
config spamassassin hotchilli Server Operation 1 8th July 2006 12:03


All times are GMT +2. The time now is 09:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.