OT / SARE: 70_sare_specific.cf lint error

Dhawal Doshy dhawal at NETMAGICSOLUTIONS.COM
Sat Jul 23 13:29:39 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi,

Anyone else notice a lint error for 70_sare_specific.cf?? the error goes 
like this:

# /usr/bin/spamassassin -x -D -p 
/etc/MailScanner/spam.assassin.prefs.conf --lint
.
[skip]
.
Failed to compile body SpamAssassin tests, skipping:
         (Illegal declaration of anonymous subroutine at 
/etc/mail/spamassassin/70_sare_specific.cf, rule __SARE_LOTTO_GREENCARD, 
line 13.
)
.
[skip]
.
lint: 1 issues detected.  please rerun with debug enabled for more 
information.

The actual test in 70_..cf causing this is
body      __SARE_LOTTO_LOTTERY     /\blott(?:o|ery)/i
body      __SARE_LOTTO_GREENCARD   /green ?card/i
meta      SARE_LOTTO_GREENCARD     __SARE_LOTTO_LOTTERY && 
__SARE_LOTTO_GREENCARD
describe  SARE_LOTTO_GREENCARD     Greencard lottery
score     SARE_LOTTO_GREENCARD     1.006

Any tips apart from commenting out this test?

- dhawal

------------------------ 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!



More information about the MailScanner mailing list