rule failing lint test

Jon Miller jlmiller at MMTNETWORKS.COM.AU
Mon Oct 3 00:52:25 IST 2005


I've put in a rule that seems to be failing the --lint test.  What I'm looking for is in the subject line since there is a # there is this not treated as a remark or is this read as normal information?


mail:/etc/spamassassin# spamassassin --lint > lint_test_results.txt
Bareword found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 10, near "etc"
  (Might be a runaway multi-line // string starting on line 1)
        (Missing operator before etc?)
Misplaced _ in number at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 30.
Bareword found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 30, near "70_sare_header"
  (Might be a runaway multi-line "" string starting on line 20)
        (Missing operator before sare_header?)
Misplaced _ in number at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 40.
Bareword found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 40, near "70_sare_random"
  (Might be a runaway multi-line "" string starting on line 30)
        (Missing operator before sare_random?)
Misplaced _ in number at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 50.
Bareword found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 50, near "70_sare_header"
  (Might be a runaway multi-line "" string starting on line 40)
        (Missing operator before sare_header?)
Backslash found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 91, near "$|\"
  (Might be a runaway multi-line ?? string starting on line 51)
        (Missing operator before \?)
Backslash found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 111, near "\"
  (Might be a runaway multi-line ?? string starting on line 91)
        (Missing operator before \?)
Bareword found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 111, near "@\S"
        (Missing operator before S?)
Backslash found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 251, near "d\"
  (Might be a runaway multi-line ?? string starting on line 111)
Bareword found where operator expected at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 251, near "@\S"
        (Missing operator before S?)
Failed to run header SpamAssassin tests, skipping some: syntax error at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 10, near "etc"
syntax error at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 251, near "\."
syntax error at /etc/spamassassin/local.cf, rule PROLO_GSPAM28, line 251, near "@\S"

lint: 1 issues detected.  please rerun with debug enabled for more information.
mail:/etc/spamassassin# vi lint_test_results.txt
mail:/etc/spamassassin#



Rule 28

# 28 Subject: $B;(;o$G$*Fk\@w$_!#CO0hJL$K??7u$J=P(B
header PROLO_GSPAM28 Subject =~ /\$B;\(;o\$G\$\*Fk\@w\$_!#CO0hJL\$K\?\?7u\$J=P\(B/i
score PROLO_GSPAM28 8
describe PROLO_GSPAM28 Spam - Custom rule set


Regards,


Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Sophos Anti-Virus, Novell, Cisco, Swifdsl

"I don't know the key to success, but the key to failure
 is trying to please everybody." -Bill Cosby

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

    [ Part 2, "HTML"  Text/PLAIN  83 lines. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list