>> Am 2009-06-22 10:52:54, schrieb Pawe?? T??cza:
>>> # spamassassin --lint
>>> [25805] warn: config: error: rule 'AE_MEDS35:' has invalid characters
>>> (not Alphanumeric + Underscore + starting with a non-digit)
>>
>> Copied wrongly?  Here it is working.
>>
>
> Well ..
>
>> body     AE_MEDS35:
>> /\(\s?w{2,4}\s(meds|shop)\d{1,4}\s(?:net|com|org)\s?)/
>> describe obfuscated domain in message
>> score    3.0
>>
>
> The describe and score statements do not have the rule name, what are they
> describing and scoring?
>
> I added the rule name as token #2, but the regex does not compile either.
>

This seems to compile:

body     AE_MEDS35 /\(\s?w{2,4}\s(meds|shop)\d{1,4}\s(?:net|com|org)\s?\)/
describe AE_MEDS35 obfuscated domain in message
score    AE_MEDS35 3.0

The last three chars in regex changed from "?)/" to "?\)/"


Reply via email to