On Thursday 20 June 2002 10:41 am, Duncan Findlay wrote: > On Thu, Jun 20, 2002 at 10:31:34AM -0700, Steve Thomas wrote:
> > I've added a couple of custom rules to our local.cf for industry-specific > > terms. So far I've set up one rule for the subject and one for the body > > for each 'keyword'. They work just fine with one exception - when a > > keyword is found in the subject, it triggers both the subject and body > > rules, even if the keyword isn't in the body. > This is by design. It may not be documented very well (if at all), but > the subject is prepended to the body so all body tests hit the subject > line too. Yep. You use a subject rule if appearing in the subject means something different (or something more) than appearing in the body. Thus, "Viagra" showing in the subject or the body probably means a spam advertizing Viagra, but a subject ending in "HjasdUIBzfd12" is a unique subject ID, so it gets a subject test. You could make two different tests, subject and body, if you want a word/phrase appearing in a subject to have more impact than if it just appeared in the body. -- Give a man a match, and he'll be warm for a minute, but set him on fire, and he'll be warm for the rest of his life. ICQ: 132152059 ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk