Patrick Morris <[EMAIL PROTECTED]> wrote:
> 1. Did you enable rules in user prefs in the system sa config?  The
> default settings don't allow rules to be defined in user prefs (See
> man Perl::SpamAssassin::Conf).

Hmm, I take it back - it IS reading the /etc/mail/spamassassin/local.cf
file (because some of the other modifications are showing up).  But the
rule I wrote doesn't seem to be working


Header:
X-PerlMx-Spam: Gauge=XXXXXXXIII, Probability=73%,
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 2.60-cvs (1.195-2003-06-30-exp) on
 cornerstone.tamu.edu
X-Spam-Level: *******
X-Spam-Status: Yes, hits=7.2 required=5.0
tests=BAYES_99,HTML_80_90,HTML_MESSAGE,
 MIME_BASE64_NO_NAME,MIME_HTML_NO_CHARSET,NO_DNS_FOR_FROM autolearn=no
 version=2.60-cvs


piece of /etc/mail/spamassassin/local.cf:
# Local Mods
bayes_ignore_header X-PerlMx-Spam          # make Bayes do it on its own
header LOCAL_PERLMX_TAG_100  /X-PerlMX=~ /\b Probability=100\%/
score  LOCAL_PERLMX_TAG_100     5
header LOCAL_PERLMX_TAG_90  /X-PerlMX=~ /\b Probability=9[0-9]\%/
score  LOCAL_PERLMX_TAG_90      3
header LOCAL_PERLMX_TAG_80  /X-PerlMX=~ /\b Probability=8[0-9]\%/
score  LOCAL_PERLMX_TAG_80      2
header LOCAL_PERLMX_TAG_70  /X-PerlMX=~ /\b Probability=7[0-9]\%/
score  LOCAL_PERLMX_TAG_70      1


Ok, so what's wrong with my rule?

--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes                                       AOL IM: CNBarnes
[EMAIL PROTECTED]                            Yahoo IM: chrisnbarnes
Computer Systems Manager                               ph: 979-845-7801
Department of Physics                                 fax: 979-845-2590
Texas A&M University





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