-I NEVER see a BAYES_ rule in my headers for spam or ham.
-My nightly redeliver cron script (below) NEVER correctly redelivers marked false negatives as spam, or vice versa. It always does the same tagging it did before.
[EMAIL PROTECTED] batkiwi]$ spamassassin -V
SpamAssassin version 2.55
[EMAIL PROTECTED] batkiwi]$
-using spamd/spamc with procmail
-rh9, courier imap
-/etc/mail/spamassassin/local.cf:
rewrite_subject 0
report_header 1
defang_mime 0
report_safe 0
use_bayes 1
bayes_auto_learn 1
bayes_min_ham_num 50
bayes_min_spam_num 50
-bayes_msgcount is 1.7k, which I guess means i've sent 1.7k message through it



I have set over 300 each ham and spam. I also have a nightly cronjob which is as follows:


#!/bin/sh
echo "Spam "
/usr/bin/sa-learn --spam --dir ~/Maildir/.Spam.False\ Negative/cur
echo "Non-Spam "
/usr/bin/sa-learn --ham --dir ~/Maildir/.Spam.False\ Positive/cur

for i in ~/Maildir/.Spam.False\ Negative/cur/*
do
        if [ -f "$i" ]
        then
                #cat "$i" | /usr/bin/sa-learn --spam --single
                /bin/cat "$i" | /usr/bin/procmail -d batkiwi
                /bin/rm "$i"
        fi
done

for j in ~/Maildir/.Spam.False\ Positive/cur/*
do
        if [ -f "$j" ]
        then
                #cat "$j" | /usr/bin/sa-learn --ham --single
                /bin/cat "$j" | /usr/bin/procmail -d batkiwi
                /bin/rm "$j"
        fi
done




(I changed it recently to do the whole dir at once, so that I would get "learned from xyz" instead of "learned from 1" over and over)



Anyone got any ideas as to why it won't work?


Thanks!
-- Bill



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to