Maybe there was a rule parse error on an earlier rule.

Try running spamassassin --lint to check the rules, and see it turns
up anything.

A couple of suggestions:

1. Don't use .* -- it is unbounded and cen be really slow on a long message.
   Use something line .{0,16}, where the choice of 16 is arbitrary, and should
   be tuned to the context you're using the pattern within.

2. For this one
   body     MY_GIRLFRIEND /girlfriends?/i
   The trailing s? is redundant, since if it matches girlfriend it will also
   match girlfriends.

3. Use word boundaries (/b) where appropriate, as in:
   body     MY_GIRLFRIEND /\bgirlfriend/

>  
> The body of the spam contains "thanks for pre-registering" which should 
> activate the first two rules, and it contains "see you on deck with me and 
> my girlfriends" which should activate the last.
> 
> Yet the headers don't show any of this.
> 
> I know that SA does indeed read my user_prefs file because I was able to 
> activate bayes by inserting "use_bayes 1", and if I change the required 
> hits, I can see the change in the headers produced by SA.
> 
> Therefore, I assume that the error is in how I wrote my rules, or my 
> understanding of how rules work.
> 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to