OT / SARE: 70_sare_specific.cf lint error

Dhawal Doshy dhawal at NETMAGICSOLUTIONS.COM
Sat Jul 23 16:04:18 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. ]

A follow-up to my previous mail(s)

SpamAssassin doesn't understand Rule Names that start with a number, i 
had to change my rule_name from '2nd_xx' to 'Second_xx'. I couldn't find 
this documented on the SA site or Wiki (though there are some documented 
limitations on rule_names like being 22 characters long etc..)

While there are limitations in rule_names, SA started throwing errors 
that were absolutely not related to the actual problem.

If someone can confirm this behaviour, then we could possibly report it 
to the SA bugzilla.

- dhawal

Dhawal Doshy wrote:
> solved.. see below
> 
> Dhawal Doshy wrote:
> 
>> 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.
>> )
>> .
> 
> 
> My screw up.. a new body check rule that i added in another .cf file 
> caused this error. sorry for the false alarm.
> 
> Time to read Matt's rule writing guide..
> 

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