Mailing List Archive

sa-learn doesn work
Hi,


I've been running SA for few months ago. I did a cron job to run
sa-learn frequently that tries to learn false positives as non-spam but
messages from some people that it runs against fall into the spam
mailbox over and over. It looks like:

# run learn #
NOSPAMBOX='/var/spool/mail/nospambox'

/usr/bin/sa-learn --rebuild -D --ham ${NOSPAMBOX}
if [ $? -eq 0 ]
then
# zera nao spam mailbox
>${NOSPAMBOX}
else
echo "Erro em rebuild de SpamAssassin"
exit 1
fi

I read the docs but I haven found a solution. It is installed on Linux
2.4 and SA version 2.60. Where I should go? or What was my fault?


Thanks in advance.