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

2. The Bayes rules that score 0 (most of the mid-range of Bayes checks)
don't show up in the report, but that doesn't mean Bayes checks weren't
done.  If you want them to, change the score for them to something
non-zero.

(If there's a FAQ keeper, I'd nominate both those two questions if they
aren't there already -- they seem to come up an awful lot.)

On Thu, 2003-09-18 at 11:57, Chris Barnes wrote:
> 2 questions:
> 
> 1) why is SA not using my custom rule in my ~/.spamassassin/user_prefs
> file?
> 
> 2) Why was Bayes not run on this message?
> 
> Information:
> 
> The ~/.spamassassin/user_prefs contains:
> bayes_ignore_header X-PerlMx-Spam
> 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
> 
> The /etc/mail/spamassassin/local.cf file contains:
> use_bayes 1
> 
> SA is called from the /etc/procmailrc which is:
> DROPPRIVS=yes
> :0fw
> | /usr/bin/spamc
> 
> 
> The header of the message that slipped through this morning had:
> 
> X-PerlMx-Spam: Gauge=XXXXXXXXXIII, Probability=93%, ...
> X-Spam-Checker-Version: SpamAssassin 2.60-cvs (1.195-2003-06-30-exp) on
>  cornerstone.tamu.edu
> X-Spam-Level: ****
> X-Spam-Status: No, hits=4.2 required=5.0 tests=CLICK_BELOW,HTML_50_60,
>  HTML_FONTCOLOR_GREEN,HTML_FONTCOLOR_UNSAFE,HTML_IMAGE_ONLY_10,
>  HTML_IMAGE_RATIO_04,HTML_LINK_CLICK_HERE,HTML_MESSAGE,HTML_WEB_BUGS,
>  RCVD_IN_SBL,WHILE_SUPPLIES autolearn=no version=2.60-cvs
> 
> 
> an sa-learn --dump shows:
> 0.000          0       1658          0  non-token data: nspam
> 0.000          0        495          0  non-token data: nham
> 0.000          0      91398          0  non-token data: ntokens
> 
> 
> --
> 
> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
> 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

This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

Reply via email to