Hi Kevin G. J. Freels, you wrote:

> What I'd like to do is set up a rule so that a) I can not
> "double-flag" spam, i.e., don't put "**** SPAM ****" in the
> Subject twice or more, and b) if it sees "[RT #" to down-weight
> of the message.
> 
> So how do I do this?

You can use 'rewrite_subject 0' in your ~/.spamassassin/user_prefs
to prevent SA from changing the subject. To recognize the spam mails
you can let your mail client filter on the header lines X-Spam-Level:
or X-Spam-Status:.

Using 'report_header 1' and 'use_terse_report 1' you can configure
SA to leave the mail body alone and only add new header lines with
test results.

To score down mails with your special subject just add a custom rule
to your personal user_prefs (or in local.cf in your global config directory,
probably /etc/spamassassin/) like this:

  header REQUEST_TRACKER        Subject =~ /\[RT #\d{4,}?\]/
  describe REQUEST_TRACKER      E-mail from our trouble ticket system
  score REQUEST_TRACKER         -100

Further recommended reading:

  perldoc Mail::SpamAssassin::Conf
  man perlre

ciao
     Klaus

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to