yeah, i'll redo them and make sure they're spaces.. (im using 2.63) - no
spaces in front either... I guess it must be a tab vs space issue..
thanks again for the rules, and the help!
jamie
Loren Wilton wrote:
Um. Are you using 3.0 and maybe hitting the whitespace bug that someone
else just mentinoed?
Or is there a space in front of those lines in your file?
I'm the author of the SNAPPY_LOGOS bunch, and I can guarantee you that they
work just fine in my user_prefs file on 2.63.
Hum, yes there is someting strange there. The debug output is showing a
bunch of ^| characters between the rule name and the regex. I don't know
what those characters are, but they aren't whitespace.
Loren
----- Original Message -----
From: "Jamie Pratt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 19, 2004 7:06 AM
Subject: Re: where to put custom rules?
Sure.. The rules I posted in local.cf were from a separate thread the
other day about logo design firm spam.. here they are:
uri LOC_LOGOSITE /snapshut\.com/i
describe LOC_LOGOSITE Logo Site
score LOC_LOGOSITE 0.5
body LOC_LOGOOBFU /(?!logo)[l1I][o0][gq][o0]/i
describe LOC_LOGOOBFU Logo Obfuscated
score LOC_LOGOOBFU 0.5
body __LOGOS /(?:\b[ILl]o[gq]o[s]?\b.*){4}/
body __BAD_LOGOS /\bIo[gq]o(?:s)?\b/
body __POOR_QUALITY /gua[lI]ity/
meta SNAPPY_LOGOS (__LOGOS && (__BAD_LOGOS || __POOR_QUALITY))
describe SNAPPY_LOGOS Get your free logos here! Only $19.95 each!!
score SNAPPY_LOGOS 5.0
uri SNAPSHUT /www\.snapshut\.info/
score SNAPSHUT 5.0
describe SNAPSHUT An open-and-shut case of Spam!
here's the errors from debug mode:
May 18 16:39:52 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: uri LOC_LOGOSITE^I
^I/snapshut\.com/i
May 18 16:39:52 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: body LOC_LOGOOBFU^
I^I/(?!logo)[l1I][o0][gq][o0]/i
May 18 16:39:53 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: body __LOGOS^I^I^I
/(?:\b[ILl]o[gq]o[s]?\b.*){4}/
May 18 16:39:53 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: body __BAD_LOGOS^I
^I/\bIo[gq]o(?:s)?\b/
May 18 16:39:53 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: body __POOR_QUALIT
Y^I^I/gua[lI]ity/
May 18 16:39:53 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: meta SNAPPY_LOGOS^
I^I(__LOGOS && (__BAD_LOGOS || __POOR_QUALITY))
May 18 16:39:53 services2 spamd[1838]: debug: Failed to parse line in
SpamAssassin configuration, skipping: uri SNAPSHUT^I
^I/www\.snapshut\.info/
M
.
--
Jamie Pratt
Systems Administrator/Programmer Analyst
Norwich University Course Development Center
[EMAIL PROTECTED] | ph. (802)485-2532