Yes, I am running spamd.  The process I use is:

modify rule in .cf file
spamassassin --lint -D
service spamassassin restart  (to restart daemon)

Thanks for the troubleshooting tip.  This is JUST what I needed.
However, I am confused as the test did hit it. =/  

Thanks much.

-----Original Message-----
From: Matt Kettler [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 12:09 PM
To: Johnson, S
Cc: users@spamassassin.apache.org
Subject: Re: Custom rules not hitting

Johnson, S wrote:

> Hello,
>
> I'm on SA version 3.0.2
>
> Even to test, I set the score to 10 and sent a message with just
> "penis size" in it and it was completely missed.
>
> All of the default rules are working fine.
>
> Can anyone see any issues with that rule or point me in a direction of
> troubleshooting this? Thanks.
>
1) do you use spamd? If so, did you restart it? (You MUST restart spamd
as spamd only parses the default and site-config rules at startup time,
not per-message)

2) create a test message that should hit, and run it through sa with
full rules-run debugging enabled:

spamassassin -D rulesrun=255 <test_message.txt

3) your test works for me, but I'm using 2.64 at the moment.

4) It is generally considered unusual to have rule names with lower case
letters in them. I don't think this will keep your rules from working,
but I do think you should consider renaming your rules. If nothing else,
consider that all the standard rules use caps-only names, and any bug
parsing rules with lower-case names would never be noticed by the
developers.






=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Confidentiality Notice

If the information in this electronic communication relates to an individual 
pupil, it is a confidential pupil record under Minnesota Law and may not be 
reviewed, distributed, or copied by any person other than the individual(s) to 
whom it is addressed. This electronic communication is intended solely for the 
use of the individual(s) to whom it is addressed. If you are not the intended 
recipient, any further review, dissemination, distribution, or copying of this 
electronic communication or any attachment thereto is strictly prohibited. If 
you have received an electronic communication in error, you should immediately 
return it to the sender and delete it from your system.

Reply via email to