Thanks guys..
Made the change and also I run spamassassin with mimedefang and I reread
the mimedefang file - now seems to work !!
Cheers.

-----Original Message-----
From: Jennifer Wheeler [mailto:[EMAIL PROTECTED] 
Sent: 20 January 2004 14:32
To: [EMAIL PROTECTED]
Subject: RE: [SAtalk] Custom Subject rules not being picked up


> I am having some trouble with Subject header rules to my local.cf file
-
> they don't seem to be getting read by spamassassin.
> Example:
> header SUBJECT_VICODIN  Subject =~ /\bvicodin\b/
> describe SUBJECT_VICODIN  Mentions vicodin
> score SUBJECT_VICODIN     4.0
> (I took this example from Chris' site
http://sandgnat.com/cmos/cmos.jsp
> )
> 
> Restart spamd and send test mail, but it doesn't get tagged...(4.0
score
> will rewrite the subject)
> I run
> # spamassassin --lint -D
> it is looking in the dir /etc/mail/spamassassin where my 
local.cf file 
> exists, I also have body rules in here which seem to be working, so
I'm
> at a loss ?
> 
> SA 2.60
> 
> Thanks,
> D.

It looks, from what you've said, that it should be working.  
The only thing I would guess is that your rule is not case 
insensitive, and perhaps you sent the test with a capitalized 
"V".  Try adding an "i" to the end.

Subject =~ /\bvicodin\b/i


> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration See the 
> breadth of Eclipse activity. February 3-5 in Anaheim, CA. 
> http://www.eclipsecon.org/osdn 
> _______________________________________________
> Spamassassin-talk mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to