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?

Thanks again.

m/

-----Original Message-----
From: Mitch (WebCob) [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 9:55 AM
To: [EMAIL PROTECTED]
Subject: Trying to add my own custom test...


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?

Thanks.

m/



-------------------------------------------------------
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