Spamassisn errors


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Spamassisn errors
# 1  
Old 04-03-2008
Spamassisn errors

Hi all, If this is the wrong forum to post this please direct me to the right place.

While reading the maillogs I noticed the follow errors repeating over and over

Apr 3 08:23:51 ws096 last message repeated 2 times
Apr 3 08:23:51 ws096 spamd[369]: Number found where operator expected at (eval 1280) line 10, near "}
Apr 3 08:23:51 ws096 spamd[369]:
Apr 3 08:23:51 ws096 spamd[369]: 1"
Apr 3 08:23:51 ws096 spamd[369]: (Missing operator before
Apr 3 08:23:51 ws096 spamd[369]:
Apr 3 08:23:51 ws096 spamd[369]: 1?)
Apr 3 08:23:51 ws096 spamd[369]: rules: failed to run header tests, skipping some: syntax error at (eval 1280) line 11, near ";
Apr 3 08:23:51 ws096 spamd[369]: }"
Apr 3 08:23:51 ws096 spamd[369]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669, <GEN216166> line 99.


Any Ideas?

I have noticed sendmail has been sending out duplicate emails so maybe this could be the reason why?
# 2  
Old 04-04-2008
That's strange, rather those error messages suggest that there is a problem with the perl script itself, than the Sendmail. Probably someone has edited the file manually and missed a quote, or a semicolon, or something similar that will result in perl syntax error. Maybe you can download the source files that are failing and run a diff against your file and the original one.
# 3  
Old 04-05-2008
Some of the SpamAssassin rules also have interesting interpolations which don't work when you pass in a weird message. I think those should all be fixed, though; are you running the most recent version of SpamAssassin? (That's 3.2.4 at the mo.)
# 4  
Old 04-15-2008
*bump*

Yes I am running the newest version of SpamAssassin. I did have a friend tell me that there is a problem with the Perl script. I really dont know anything about perl maybe I should ask this at a perl forum or something?



Apr 15 11:33:56 ws096 last message repeated 2 times
Apr 15 11:33:56 ws096 spamd[24802]: Number found where operator expected at (eval 448) line 10, near "}
Apr 15 11:33:56 ws096 spamd[24802]:
Apr 15 11:33:56 ws096 spamd[24802]: 1"
Apr 15 11:33:56 ws096 spamd[24802]: (Missing operator before
Apr 15 11:33:56 ws096 spamd[2285]: prefork: child states: BBBII
Apr 15 11:33:56 ws096 spamd[24802]:
Apr 15 11:33:56 ws096 spamd[24802]: 1?)
Apr 15 11:33:56 ws096 spamd[24802]: rules: failed to run header tests, skipping some: syntax error at (eval 448) line 11, near ";
Apr 15 11:33:56 ws096 spamd[24802]: }"
Apr 15 11:33:56 ws096 spamd[24802]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669, <GEN545> line 40.
# 5  
Old 04-16-2008
Are you able to isolate a message which triggers this error? That would help a lot.

You could try to figure out which rule "eval 448" corresponds to, or search for occurrences of the string in the error message (that's closing curly bracket, two newlines, number one) in the code, but if you're not familiar with Perl, that's not really realistic.

Anyway, this looks like a syntax error in one of the rules, or possibly in the eval code which reads the rules. If you have a pile of messages which trigger the warning then you can disable half the rules and see if you still get the problem, etc, just to narrow down which rule is the culprit.

Regarding the Sendmail duplicates, I think that's unrelated to this, unless you are running something truly unusual. Most sites run spamd on incoming mail, not outgoing; and in most regular deployments, spamd does not sit in a place where it is able to generate new messages, even if it wanted to.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Errors using ln

ln: Filename1 and Filename2 are identical. Seems to be an error.. Unable to proceed further Can you ppl help me? (5 Replies)
Discussion started by: DevM
5 Replies

2. Solaris

pkg-get errors

To day i installed boltpkg, hiow ever when i run either a pkg-get install or a pkg-get -u pkg-get re turns the following errors. pkg-get -u WARNING: no catalog file for site ftp.sunfreeware.com Updating catalog file first Getting catalog... ld.so.1: wget: fatal: libssl.so.0.9.8: open... (3 Replies)
Discussion started by: FloridaBSD
3 Replies

3. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

4. Programming

errors....

hi i have written a program to display files in a directory but it doesnt compile on the sun/solaris system.... im using gcc(inbuilt compiler) im generally used to working on a windows environment so maybe im overlookiing something ive added comments to help readability of the program i also... (2 Replies)
Discussion started by: anything2
2 Replies

5. UNIX for Dummies Questions & Answers

X errors

I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0"). OS is Ubuntu 5.10 and X version is X.org 6.8.2 I've set up X to run without -nolisten, and... (1 Reply)
Discussion started by: vertigo23
1 Replies

6. UNIX for Advanced & Expert Users

What are these errors?

root@INTSETICADB # su - oracle Killed root@INTSETICADB # su - selectica Killed root@INTSETICADB # man prstat Reformatting page. Please Wait...Segmentation Fault - core dumped sys(cd /usr/man; /usr/lib/sgml/sgml2roff /usr/man/sman1m/prstat.1m > /tmp/sman_iUaW5x) fail! aborted (sorry) (3 Replies)
Discussion started by: abhijeetkul
3 Replies

7. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

8. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

9. HP-UX

errors

fatal server error: couldn't open x pointer device! is one attached? xinit: connection refused (errno 239): unable to connect to X server xinit: no such process (errno3): server error. (1 Reply)
Discussion started by: nobody
1 Replies

10. Filesystems, Disks and Memory

Help with errors

I am very new to the world of Unix, in the middle of a crash course as I write this due to a system failure for my company. This system went down approximately 24 hours ago due to some apparent thunderstorms that passed through. The problem is that my company, like many others, has laid off... (5 Replies)
Discussion started by: Phaedirean
5 Replies
Login or Register to Ask a Question