> -----Original Message-----
> From: heinztomato [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2008 5:41 PM
> To: users@spamassassin.apache.org
> Subject: Spamassassin doesn't learn / debug outputs
> 
> 
> Hi there. It seems my Spamassassin does not learn very well...
> 
> I use the following statements to learn spam/ham:
> 
> /usr/bin/fetchmail -a -s -n --folder assassin/spam -m '/usr/bin/sa-
> learn -D
> --spam' >>/var/log/assassinspam.log
> /usr/bin/fetchmail -a -s -n --folder assassin/ham -m '/usr/bin/sa-learn
> -D
> --ham' >>/var/log/assassinham.log
> 
> when watchig the logfiles the only information I get is
>
> Learned tokens from 1 message(s) (1 message(s) examined)
> Learned tokens from 0 message(s) (1 message(s) examined)
> Learned tokens from 0 message(s) (1 message(s) examined)
> Learned tokens from 1 message(s) (1 message(s) examined)
> Learned tokens from 1 message(s) (1 message(s) examined)

Are you training the right user?

Maybe you have to use something like:

/usr/bin/fetchmail -a -s -n --folder assassin/spam -m 'su -s /bin/sh -c
\'/usr/bin/sa-learn --spam\' - amavis' >>/var/log/assassinspam.log

or whatever user owns the "right" bayes db...

Giampaolo


> No more informations to be seen even with the "-D" Parameter. Is there
> a way
> to get more information so I can check out what is going wrong?!?
> 
> thx in advance
> --
> View this message in context: http://www.nabble.com/Spamassassin-
> doesn%27t-learn---debug-outputs-tp18011818p18011818.html
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to