Hi Mitch,

Sorry if this sounds like a dumb question, but did you restart spamd after
you added the rule?  Also, Chris Santerre turned me on to creating a custom
.cf file in /usr/share/spamassassin.  I don't really like putting custom
rules in local.cf.  So I created a file 90_custom.cf.

--Larry


> -----Original Message-----
> From: Mitch (WebCob)

> In my original post I'd asked if there was a way to whitelist 
> or something - maybe consider this test authoritative if it 
> succeeds - cut down on the effort - 80% of my mail is 
> inter-client, about 20% outside - which is where all the spam 
> comes from of course... so I've added an X-header that I can 
> use to tell if it's good mail... is there some way to see 
> this header, accept the message and skip any remaining tests?


> -----Original Message-----
> From: Mitch (WebCob)

> What am I missing?
> 
> I tacked this on to the end of 20_head_tests.cf (note key 
> info obscured to protect the innocent, but the pattern match 
> works in a test perl script - is there another way to test a rule?)
> 
> header MY_CLIENTS             X-CustomHeader =~ /^MY PATTERN$/
> describe MY_CLIENTS   Message contains login or user information
> authenticating local user
> score                         MY_CLIENTS -10.0
> 
> Doesn't seem to run - are all X-headers available for 
> testing? Or do I have to add support somewhere else?



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to