On Thu, Dec 21, 2006 at 06:09:23PM -0700, Kelly Jones wrote:
> Many people write test rules w/ small negative scores like this:
> header SUBJ_FOO_BAR_TEST Subject =~ /foo.*bar/

Really?  Why would you write a rule like that?

> header SUBJ_FOO_BAR_TEST Subject =~ /foo(.*)bar/
> will the parentheses capture and log the $1 match above?

No.

> If not, how can I log the string a given rule matches?

Short of writing your own plugin/code, you can't.

> Can I log the psuedo-headers X-Spam-Relays-Trusted and
> X-Spam-Relays-Untrusted?

If you write code.

> If not, can I make SpamAssassin add these headers to the email before
> its delivered?

Sure, use add_header.

-- 
Randomly Selected Tagline:
Bender: "You know the secret of traditional robot cooking? Start with a good
 high-quality oil, then eat it." 

Attachment: pgpTTkThI1xCA.pgp
Description: PGP signature

Reply via email to